Receiving 500 error after installing theme

Posted in: Newsmag
Post count: 43

Hello,

I am getting a 500 error in my Google webmaster tools for this URL:

https://www.designworld.se/wp-content/themes/Newsmag/

I have turned on PHP error messages for the hosting and it gives me this error:

Fatal error: Call to undefined function get_header() in /customers/c/f/2/designworld.se/httpd.www/wp-content/themes/Newsmag/index.php on line 6

I have also been in contact with the hosting support and they say it’s the theme causing the problem..

Can you help me solve this?

Post count: 9544

Basically nobody should be trying to access your theme directly via that URL… might be a hacker, hence the 500 error.

This also happens “once” when switching themes or updating theme.

For example I updated my theme on the 29th of Dec. got one 500 error. None since.

Technically it’s a WordPress issue, not a theme issue; since what happens when installing or updating theme, is that for a few minutes something is trying to be cached from the location of theme when it might not be there.

If you get a ton of errors, it’s somebody trying to access your theme folder, which is not normal … it’s like somebody trying to access your wp-includes folder; not a normal link anywhere on the site.

Post count: 6600
Viewing 3 posts - 1 through 3 (of 3 total)
The forum ‘Newsmag’ is closed to new topics and replies.