"wp-content/themes/Newspaper/index.php on line 6\n" error in log files

Posted in: Newspaper
Post count: 72

I am seeing dozens of these errors every hour for past couple of weeks on my site since I migrated the theme to Newspaper. Any idea what’s happening? They all refer to “wp-content/themes/Newspaper/index.php on line 6\n”

[Mon Oct 08 06:29:37.478640 2018] [proxy_fcgi:error] [pid 1940:tid 140284755171072] [client 172.68.189.204:59652] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to undefined function get_header() in /var/www/vhosts/mywebsite.com/httpdocs/wp-content/themes/Newspaper/index.php:6\nStack trace:\n#0 {main}\n thrown in /var/www/vhosts/mywebsite.com/httpdocs/wp-content/themes/Newspaper/index.php on line 6\n', referer: https://www.mywebsite.com/wp-content/themes/Newspaper

Post count: 23312

Hello paperweight,

Most likely, the site migration was not done correctly! We recommend using the WP Duplicator plugin to do this process, according to our documentation from here -> https://www.elegantthemes.com/blog/tips-tricks/duplicator-an-easy-way-to-back-up-copy-or-clone-your-wordpress-content

The Duplicator plugin is recommended by many users when migrating or creating copies of the website.

Thanks for the message!

Post count: 72

Thanks for your help. But I actually didn’t move anything. I just added the Newspaper theme and then activated it. That was my migration. All files stayed on my server and I just added the theme. Any idea why?

Post count: 23312

Hello paperweight,

I guess that here is talking about a simple theme installing. Did you have tried the FTP method to update/install the theme? You should not get any problem in this case if the theme installing has been correctly installed.

Thanks for the message!

Post count: 72

Yes, I actually have the theme installed on 2 different websites (I own 2 licenses). Both of them were added with FTP, and yesterday I also copied the theme over again via FTP to make sure.

Site is loading fine, but the errors are appearing in my log file. That Line 6 is related to the header(), so any idea what it could relate to?

Post count: 20688

Hi,

There are some related topics you can check with this problem
https://forum.tagdiv.com/topic/http-error-500-4/

Post count: 72

Thanks for your advice. I’ll post my comments there. This is my log file now — multiple times a minute…

[Wed Oct 10 14:31:50.049301 2018] [proxy_fcgi:error] [pid 30438:tid 139649309697792] [client obfuscateIP:38212] AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught Error: Call to undefined function get_header() in /var/www/vhosts/mywebsite.com/httpdocs/wp-content/themes/Newspaper/index.php:6\nStack trace:\n#0 {main}\n thrown in /var/www/vhosts/mywebsite.com/httpdocs/wp-content/themes/Newspaper/index.php on line 6\n’
[Wed Oct 10 14:31:50.181187 2018] [proxy_fcgi:error] [pid 9443:tid 139649464420096] [client obfuscateIP.145:38214] AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught Error: Call to undefined function get_header() in /var/www/vhosts/mywebsite.com/httpdocs/wp-content/themes/Newspaper/index.php:6\nStack trace:\n#0 {main}\n thrown in /var/www/vhosts/mywebsite.com/httpdocs/wp-content/themes/Newspaper/index.php on line 6\n’
[Wed Oct 10 14:31:59.314778 2018] [proxy_fcgi:error] [pid 30438:tid 139649267734272] [client obfuscateIP:38248] AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught Error: Call to undefined function get_header() in /var/www/vhosts/mywebsite.com/httpdocs/wp-content/themes/Newspaper/index.php:6\nStack trace:\n#0 {main}\n thrown in /var/www/vhosts/mywebsite.com/httpdocs/wp-content/themes/Newspaper/index.php on line 6\n’
[Wed Oct 10 14:32:01.023097 2018] [proxy_fcgi:error] [pid 30438:tid 139649208985344] [client obfuscateIP:38294] AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught Error: Call to undefined function get_header() in /var/www/vhosts/mywebsite.com/httpdocs/wp-content/themes/Newspaper/index.php:6\nStack trace:\n#0 {main}\n thrown in /var/www/vhosts/mywebsite.com/httpdocs/wp-content/themes/Newspaper/index.php on line 6\n’
[Wed Oct 10 14:32:01.904322 2018] [proxy_fcgi:error] [pid 3638:tid 139649250948864] [client obfuscateIP.67:38316] AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught Error: Call to undefined function get_header() in /var/www/vhosts/mywebsite.com/httpdocs/wp-content/themes/Newspaper/index.php:6\nStack trace:\n#0 {main}\n thrown in /var/www/vhosts/mywebsite.com/httpdocs/wp-content/themes/Newspaper/index.php on line 6\n’
[Wed Oct 10 14:32:02.082231 2018] [proxy_fcgi:error] [pid 9443:tid 139649250948864] [client obfuscateIP.67:38318] AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught Error: Call to undefined function get_header() in /var/www/vhosts/mywebsite.com/httpdocs/wp-content/themes/Newspaper/index.php:6\nStack trace:\n#0 {main}\n thrown in /var/www/vhosts/mywebsite.com/httpdocs/wp-content/themes/Newspaper/index.php on line 6\n’
[Wed Oct 10 14:32:46.981366 2018] [proxy_fcgi:error] [pid 3638:tid 139649318090496] [client obfuscateIP.157:38796] AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught Error: Call to undefined function get_header() in /var/www/vhosts/mywebsite.com/httpdocs/wp-content/themes/Newspaper/index.php:6\nStack trace:\n#0 {main}\n thrown in /var/www/vhosts/mywebsite.com/httpdocs/wp-content/themes/Newspaper/index.php on line 6\n’
[Wed Oct 10 14:32:47.080443 2018] [proxy_fcgi:error] [pid 1707:tid 139649250948864] [client 162.158.179.81:38798] AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught Error: Call to undefined function get_header() in /var/www/vhosts/mywebsite.com/httpdocs/wp-content/themes/Newspaper/index.php:6\nStack trace:\n#0 {main}\n thrown in /var/www/vhosts/mywebsite.com/httpdocs/wp-content/themes/Newspaper/index.php on line 6\n’
[Wed Oct 10 14:32:47.761523 2018] [proxy_fcgi:error] [pid 1235:tid 139649472812800] [client obfuscateIP:38812] AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught Error: Call to undefined function get_header() in /var/www/vhosts/mywebsite.com/httpdocs/wp-content/themes/Newspaper/index.php:6\nStack trace:\n#0 {main}\n thrown in /var/www/vhosts/mywebsite.com/httpdocs/wp-content/themes/Newspaper/index.php on line 6\n’
[Wed Oct 10 14:32:47.966806 2018] [proxy_fcgi:error] [pid 9380:tid 139649242556160] [client obfuscateIP:38816] AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught Error: Call to undefined function get_header() in /var/www/vhosts/mywebsite.com/httpdocs/wp-content/themes/Newspaper/index.php:6\nStack trace:\n#0 {main}\n thrown in /var/www/vhosts/mywebsite.com/httpdocs/wp-content/themes/Newspaper/index.php on line 6\n’
[Wed Oct 10 14:32:50.430274 2018] [proxy_fcgi:error] [pid 9443:tid 139649292912384] [client obfuscateIP:38850] AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught Error: Call to undefined function get_header() in /var/www/vhosts/mywebsite.com/httpdocs/wp-content/themes/Newspaper/index.php:6\nStack trace:\n#0 {main}\n thrown in /var/www/vhosts/mywebsite.com/httpdocs/wp-content/themes/Newspaper/index.php on line 6\n’
[Wed Oct 10 14:32:50.730415 2018] [proxy_fcgi:error] [pid 9443:tid 139649267734272] [client 172.68.253.238:38852] AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught Error: Call to undefined function get_header() in /var/www/vhosts/mywebsite.com/httpdocs/wp-content/themes/Newspaper/index.php:6\nStack trace:\n#0 {main}\n thrown in /var/www/vhosts/mywebsite.com/httpdocs/wp-content/themes/Newspaper/index.php on line 6\n’
[Wed Oct 10 14:32:51.650976 2018] [proxy_fcgi:error] [pid 3638:tid 139649360054016] [client obfuscateIP:38856] AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught Error: Call to undefined function get_header() in /var/www/vhosts/mywebsite.com/httpdocs/wp-content/themes/Newspaper/index.php:6\nStack trace:\n#0 {main}\n thrown in /var/www/vhosts/mywebsite.com/httpdocs/wp-content/themes/Newspaper/index.php on line 6\n’
[Wed Oct 10 14:32:51.784356 2018] [proxy_fcgi:error] [pid 9443:tid 139649318090496] [client obfuscateIP.67:38860] AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught Error: Call to undefined function get_header() in /var/www/vhosts/mywebsite.com/httpdocs/wp-content/themes/Newspaper/index.php:6\nStack trace:\n#0 {main}\n thrown in /var/www/vhosts/mywebsite.com/httpdocs/wp-content/themes/Newspaper/index.php on line 6\n’

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