sayontan / suffusion

The Suffusion Theme for WordPress
GNU General Public License v3.0
28 stars 18 forks source link

PHP Fatal error #87

Closed mbrsolution closed 5 months ago

mbrsolution commented 5 months ago

Hi Marc, I was checking my log files and found a few entries in the log file. Please see the following php fatal error message.

[26-Mar-2024 02:11:06 UTC] PHP Fatal error: Uncaught Error: Call to undefined function get_header() in /website.com/wp-content/themes/suffusion/index.php:11
Stack trace:
#0 {main}
thrown in /website.com/wp-content/themes/suffusion/index.php on line 11

I just thought of letting you know. Let me know if you need more information or more testing.

Kind regards, Manuel

mbtools commented 5 months ago

This can happen if you try to go to https://website.com/wp-content/themes/suffusion directly before the theme is loaded (for example after server restart).

Normal site visitors don't call this URL so it's either by accident or some bot tried to scan the site.

mbrsolution commented 5 months ago

That makes total sense. Why didn't I think of that. I will close this ticket.

Thank you as always, Manuel