5 days ago I’ve got 500 error notification from Google webmaster report (every day)
Screenshot – https://www.screencast.com/t/llW1WuwPl0l
Here it is problem URL = https://prostobzor.com/wp-content/themes/Newspaper/
Template version = 9.7.1
My log for this error:
————————–
[Wed Jun 12 06:27:52 2019] [warn] [client 212.113.46.46] mod_fcgid: stderr: PHP Fatal error: Uncaught Error: Call to undefined function get_header() in /var/www/vhosts/prostobzor.com/httpdocs/wp-content/themes/Newspaper/index.php:6
[Wed Jun 12 06:27:52 2019] [warn] [client 212.113.46.46] mod_fcgid: stderr: Stack trace:
[Wed Jun 12 06:27:52 2019] [warn] [client 212.113.46.46] mod_fcgid: stderr: #0 {main}
[Wed Jun 12 06:27:52 2019] [warn] [client 212.113.46.46] mod_fcgid: stderr: thrown in /var/www/vhosts/prostobzor.com/httpdocs/wp-content/themes/Newspaper/index.php on line 6
——————
Could you advise, what’s wrong ?
Hi,
Please make sure that all the settings are like in our requirements, please follow the guide carefully
– https://forum.tagdiv.com/requirements-for-newspaper/
and please increase all requirements that are lower, and follow all steps.
WP_MEMORY_LIMIT try to increase it at least to 256mb.
Also please check the php version to be 7-7.2
Please make sure that you do not have a plugin conflict with untested plugins, please deactivate all non theme/tested plugins, also if you are using child theme, clear all cache and try again.
Please refer to the following guides for possible fixes:
https://wordpress.org/support/topic-tag/505-error/
https://forum.tagdiv.com/topic/wp-supercache-causes-500-internal-error-and-cannot-deactivate/
https://www.wpbeginner.com/wp-tutorials/how-to-fix-the-internal-server-error-in-wordpress/
– https://support.cloudflare.com/hc/en-us/articles/218378978-What-should-I-do-after-seeing-a-502-or-504-gateway-error-on-my-site-
– https://support.cloudflare.com/hc/en-us/articles/115003011431-5xx-Server-Error
– https://support.cloudflare.com/hc/en-us/articles/200171906-Error-522-Connection-timed-out
– https://support.cloudflare.com/hc/en-us/articles/200171936-Error-520-Web-server-is-returning-an-unknown-error
– https://wordpress.org/support/topic/google-search-console-reporting-a-500-error-on-my-theme-folder/
– https://www.rankya.com/wordpress/how-to-fix-index-coverage-issue-server-error-5xx/
– https://wordpress.stackexchange.com/questions/312292/how-to-stop-a-500-error-on-the-wordpress-theme-folder
Thank you
Done everything…
but your recomendations didn’t help.
Here there are screenshots:
All settings – https://www.screencast.com/t/wDmt8AoqWL9
500 error for template the same – https://www.screencast.com/t/vZn8EdoA6u
Debug mode didn’t show any error.
Log file the same:
====================
[Thu Jun 13 05:27:46 2019] [warn] [client 212.113.46.46] mod_fcgid: stderr: PHP Fatal error: Uncaught Error: Call to undefined function get_header() in /var/www/vhosts/prostobzor.com/httpdocs/wp-content/themes/Newspaper/index.php:6
[Thu Jun 13 05:27:46 2019] [warn] [client 212.113.46.46] mod_fcgid: stderr: Stack trace:
[Thu Jun 13 05:27:46 2019] [warn] [client 212.113.46.46] mod_fcgid: stderr: #0 {main}
[Thu Jun 13 05:27:46 2019] [warn] [client 212.113.46.46] mod_fcgid: stderr: thrown in /var/www/vhosts/prostobzor.com/httpdocs/wp-content/themes/Newspaper/index.php on line 6
Hi,
Please send us an email at contact@tagdiv.com and provide admin login, as well as cPanel or FTP if possible. We will take a look. Include a link to this topic in the email.
Thanks