Jump to content

Recommended Posts

I do not have a lot of experience with php coding and am in the process of setting up a website. Most of the work  has been done but I have run into a problem

 

The theme I used has a default job listing form which was not serving my purpose, so I used a plugin to introduce new fields. The data entered in them is saved in wordpress.

 

The only problem is when I try to call them out in the job listing, it returns a Fatal error: Call to undefined function.

 

the fields collected from original job listing form can be called without any problems. I am at a lose trying to figure out how to declare them.

 

any help will be very much appreciated.

wp-job-manager-fields.php

content-single-job.php

content-single-job_listing.php

Edited by rm65453
Link to comment
https://forums.phpfreaks.com/topic/286449-fatal-error-call-to-undefined-function/
Share on other sites

Fatal error: Call to undefined function get_avg_daily_rx() in /home3/ahallan/public_html/apothesaurusrx.com/wp-content/themes/jobify-child-01/content-single-job_listing.php on line 95

 

pretty much I am trying to call the values stored in the new fields I introduced in the wp-job-manager-fields.php through the other two files.

 

i thought it would be straight forward cause all of them were stored at the same location but I am definitley missing something.

Edited by rm65453
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.