Archived topic
Call to undefined function get_header()
5 replies · Started by Clay Montgomery on February 14, 2017
Hello,
I just updated WP and GP to the latest versions. I noticed that I have been getting errors occasionally which are reported here:
Is this anything I should be concerned about?
Thanks, Clay
Hi Clay,
Can you make sure you are also using the latest version of GP Theme (1.3.44) and plugin (1.2.94)?
You can check/update in the dashboard.
Let me know.
Hi Leo,
I did miss the theme update. So, I did that and now that error log is no longer public.
Is that all I need to do?
Thanks, Clay
get_header() is a core WordPress function that has existed since WP 1.5.0: https://codex.wordpress.org/Function_Reference/get_header
It's possible you had a bad WordPress update where all of the files weren't copied over correctly. Or someone tried to access your site mid-update when the function didn't exist for a second.
Thanks!
Glad we could help!