Call to undefined function get_header()
-
I have been getting the following error for a long time now. I have Googled it on many occasions and I know the standard answer is that your theme is in the wrong place. My site works fine and I have never had this error show for myself, but consistently every day i have hundreds of lines of this error in my error log. My theme is exactly where it should be and there are no theme files in the main directory. What could be causing this and how can I fix it? Clearly the site is functioning and the header IS defined as far as I can tell. The only notable thing I can think of is the fact my WP install is in a directory (/blog) and being run from the main folder.
The site is here: https://farmvillefanatic.com/
PHP Fatal error: Call to undefined function get_header() in /home/jakets/public_html/blog/wp-content/themes/exile/index.php on line 1
Other than this my site runs flawlessly, I would love to fix this. Thanks!
- The topic ‘Call to undefined function get_header()’ is closed to new replies.