- This topic has 1 reply, 2 voices, and was last updated 5 years, 10 months ago by Andrew Misplon.
Tagged: Satta King
- AuthorPosts
- February 6, 2019 at 4:30 pm #11983
TerryMGParticipantHi, we are running the latest Ultra (Premium 2.3.4) with WP 5.0.3
Since Jan 11, getting errors in wp-content/themes/ultra/error_log which seem to repeating every day. Site seems to be running ok, but iThemes security keeps flagging it.
[11-Jan-2019 12:53:55 UTC] PHP Fatal error: Uncaught Error: Call to undefined function get_header() in /home/xxxx/public_html/wp-content/themes/ultra/index.php:18
Stack trace:
#0 {main}
thrown in /home/xxxx/public_html/wp-content/themes/ultra/index.php on line 18Is there something that should be done? Do you need more info?
Thanks
February 6, 2019 at 4:43 pm #11984
Andrew MisplonKeymasterHi Terry
Good to hear from you.
I took a look around now, it sounds like this error is created when the theme’s index.php file is accessed directly. Please, see the first reply here.
I’m not very familiar with iThemes Security, are you able to ignore or create an exception for this? From a theme development perspective, the index file needs to call the header file. The error is occurring because of the way the file is being accessed. I’m not sure how the index.php file is being accessed directly.
- AuthorPosts
The topic ‘Ultra error log call to undefined function’ is closed to new replies.