error on index.php

Posted in: Newspaper
Post count: 16

Hello!

I see lots of this error in my log

[Wed Mar 09 17:27:36.480644 2016] [:error] [pid 1XXX] [client XXX] PHP Fatal error: Call to undefined function get_header() in /nas/content/live/pierregazzola/wp-content/themes/Newspaper/index.php on line 6

Any idea how to resolved this error?

http://newsheadline.press

Post count: 22421

Hi,

You do not need to do anything about it because the error you see in webmasters will not affect your website at all. It simply does not recognize a part of our code that we use to get the header. Either you replace the function instead of the get_header(); or not, the result will just be seen in the webmasters tools. It’s not something that affects your site in any way. The error can simply be ignored.
If you want however to see it gone from webmasters then you need to replace the get_header() from every file it is specified: http://screencast.com/t/XQUnvQvviIU (31 places to be exact)
Please follow this topic to see how it can be done:
https://forum.tagdiv.com/topic/fatal-error-in-wp-contentthemesnewspaper/

Thank you!

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.