Site logo

Archived topic

PHP Errors

13 replies · Started by Nico on February 14, 2022

Viewing posts 1–14 of 14

Hello and good evening from Germany!

Today we found some Php Warnings and Php Fatalerrors in our Php ErrorLog (see private area). We're not entirely sure what or who is causing these.

Do you have us the direction here?

thank you very much for your feedback

With kind regards from Germany
Nick

Hi there,

all those errors are pointing the core WP files. Lots of references there to ABSPATH. Have you made any changes to wp-config files ?

Hi David!

No, we haven't changed anything in the wp.config. However, I see that on February 09, WP-Rocket wrote the following entry to the wp-config.

define( 'WP_CACHE', true ); // Added by WP Rocket

You may remember that we asked for a caching plugin that is compatible with Generate Press.

Can the fatal error and the warnings come from WP Rocket?

I asked if there was a change to the wp-config that may have messed with the abspath and i doubt very much that WP Rocket adding the cache would cause that.

Looking at those errors they state WP is unable to load the files it needs. Which generally means the WP install has got corrupted. You may want to try rolling back to a backup copy of the site.

No David, we haven't made any changes to wp-config.

We do have backup copies, these are created every night, but of course I don't know when the WordPress installation was damaged.

That is not good news .(

Thank you David for the feedback

Sending greetings from Germany
Nico

Sorry i cannot be of much more help the issue isn't theme related. You may want to try disabling plugins to see if there are conflicts but as the error stack only identifies core directories it sounds like a WP issue.

David, absolutely no problem. Thanks for the feedback and the help. At least that way I can narrow down the problem. Definitely helps. Thank you and have a nice evening/morning

best regards from Germany
Nick

David one more question, maybe you can give me a tip here. I just checked the access log. At the relevant time were the following hits. Since these also access the wp-config, this could have caused the whole thing. what do you mean?

Good morning David!

FYI I think we found the bug. The following was in the access log at the time the error occurred (see private)

The error can be reproduced via: (see private)

Best regards from Germany
Nick

This really isn't my strong point, your host may be better placed to debug. But...
Looking at the first of the logs a lot of them are pointing to the wp-content/themes/ directory. Therese a bunch of other themes there that look like they could have been updating as they were calling the download.php.

And the other logs points to a wp-config request which is quite normal especially as the themes were updating(?).

I would start by removing any unused themes.

Good morning David!

Yes, we have already written to our hoster on this subject and are still waiting for a response.

We also noticed your point about the themes. However, we do not know these themes, have never installed them and they are not available in the folder directory either (see screenshot).

Strange.

Keep you up to date.

best regards
Nico

Hmmm... thats not good ... that could be an attempted hack where their attempting to install their own wp-config.
You might want to call your host, and ask them to do some security / malware checks.

HA!, you got it. That's our guess too. However, it was only an attempt. The request to back up this theory is pending with Provider.

Cool analysis!

Thnx David.

I hope the host can find the issue!

This archived topic is closed to new replies.