Yesterday I noticed a strange issue with my WordPress website. An uptime monitor reported a 500 error. The logs contained the following error:
PHP Fatal error: require_once(): Failed opening required '/var/www/vhosts/domain.tld/httpdocs/wp-admin/includes/plugin-php' (include_path='.:/opt/plesk/php/7.1/share/pear') in /var/www/vhosts/domain.tld/httpdocs/wp-content/plugins/wp-security-audit-log/sdk/freemius/start.php on line 169
Indeed, the file wp-admin/includes/plugin-php
does not exist. But the strange thing is that line 169 from that file does not contain plugin-php
at all. Line 169 from wp-content/plugins/wp-security-audit-log/sdk/freemius/start.php
:
require_once ABSPATH . 'wp-admin/includes/plugin.php';
The uptime monitor noticed the 500 status at 14:52 and reported the website to be back online at 14:58. The error log confirms this is the only time window where this error was reported. start.php
file has not been edited since installation fo the plugin at June 15th, which is also the last modified datetime in the FTP.
I've never seen this happening before. What can possibly cause this to happen?