Tagged: Php error
Dear Kriesi,
I am getting a php error in my server logs that seems to relate to an issue with Enfold:
PHP Fatal error: Call to undefined function get_header() in /var/www/wordpress/wp-content/themes/enfold/index.php on line 9
Is there something that needs to be updated to fix this?
Thanks, Richard
Hey Richard,
I believe that error is generated when someone–probably a bot–tries to access the theme’s index.php file directly, in which case the get_header() function isn’t available. This is not an error within the theme itself.
Best regards,
Jordan Shannon