Error Log

Posted in: Newsmag
Post count: 18

Hello there again!

I got an error in my logfile since yesterday. Could you tell me what’s wrong? I didn’t change anything.

12.04.2016 06:44:29 bento-daisuki.de [client 66.249.69.0] PHP Fatal error: Call to undefined function get_header() in /mnt/web1/b3/18/52112418/htdocs/WordPress_01/wp-content/themes/Newsmag/index.php on line 6

Also I can’t login with wp-login.php anymore (page is not found). Is that a related problem?

Thank you.

Post count: 6535

Hi

This errors happens when you try to access the theme’s index.php file directly, usually it displays a Fatal error: Call to undefined function get_header(). You can find more info about this in this tread: https://forum.tagdiv.com/topic/fatal-error-3/ and add a redirect rule for it.
That is a problem related with a WordPress file and it could be caused by some plugin. Try to login in your ftp account and rename the plugins folder from …/your-wp-install/wp-content/plugins then try to login again. Here you can find more details about this process: https://codex.wordpress.org/FAQ_Troubleshooting#How_to_deactivate_all_plugins_when_not_able_to_access_the_administrative_menus.3F

Hope this help.
Thanks!

Post count: 62

When i follow this link https://forum.tagdiv.com/topic/fatal-error-3/ I get a page not found error. Please redirect me.
In addition, please qualify that I understand correctly – some one would have to be trying to access my site/author.php. Is that correct? What kind of person/company would be looking for/at that type of file?
I understand that I can add a redirect to my home page etc. Is that something that I should do?
Thank you,
Teri

Post count: 6535

Hi

The indicated link works fine for me: http://screencast.com/t/OGXT020y
The above error appear when someone type http://www.example.com/index.php This request will return an error because some of the required function are not loaded properly. The solution would be a redirect to the homepage and yes you can do it like this.

Thanks!

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