rm65453 Posted February 23, 2014 Share Posted February 23, 2014 (edited) 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 February 23, 2014 by rm65453 Quote 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. Quote 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 (edited) 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 February 23, 2014 by rm65453 Quote 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. Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.