rm65453 Posted February 23, 2014 Share Posted February 23, 2014 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 Link to comment https://forums.phpfreaks.com/topic/286449-fatal-error-call-to-undefined-function/ Share on other sites More sharing options...
jonsjava Posted February 23, 2014 Share Posted February 23, 2014 Could you provide the entire error? It will say the function not defined. Link to comment https://forums.phpfreaks.com/topic/286449-fatal-error-call-to-undefined-function/#findComment-1470253 Share on other sites More sharing options...
rm65453 Posted February 23, 2014 Author Share Posted February 23, 2014 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. Link to comment https://forums.phpfreaks.com/topic/286449-fatal-error-call-to-undefined-function/#findComment-1470254 Share on other sites More sharing options...
rm65453 Posted February 23, 2014 Author Share Posted February 23, 2014 Resolved. Link to comment https://forums.phpfreaks.com/topic/286449-fatal-error-call-to-undefined-function/#findComment-1470295 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.