PHP Fatal error: Uncaught Error: Call to undefined function get_header()

Posted in: Newspaper
Post count: 72

I am getting these errors in my error logs for a few months and I’m unsure how to fix it:

[Tue Jan 15 16:23:37.427323 2019] [proxy_fcgi:error] [pid 18936:tid 139923457767168] [client 172.86.21.103:53892] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to undefined function get_header() in /var/www/vhosts/DOMAIN.com/httpdocs/wp-content/themes/Newspaper/index.php:6\nStack trace:\n#0 {main}\n thrown in /var/www/vhosts/DOMAIN.com/httpdocs/wp-content/themes/Newspaper/index.php on line 6\n'

What do I need to do to fix this?

Post count: 35449

Hi,

That could be related to the PHP version that the server is using. The currently supported version is up to PHP 7.1. Please check if you are using higher or a lover version that the one mention in the requirements.

Also please make sure that the theme system status is configured as mentioned in the requirements guide. Please follow the guide carefully
https://forum.tagdiv.com/requirements-for-newspaper/
and please increase all requirements that are lower, and follow all steps.

Also please make sure that you have one of the latest version of the theme.

Thanks

Post count: 72

Hello:
Yes, I am using the latest theme version and I meet or exceed all requirements.

But I am using a new version of PHP. I’m using PHP 7.2.14.

I found my site and service running much better and faster when I moved from 7.1 to 7.2 a few months ago. Any plans to support 7.2 soon?

Post count: 35449

Hi,

Unfortunately our theme wan not tested with that version of php, maybe in coming updates.
Sorry for the inconvenience!

Thank you for your understanding.

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