PHP Fatal error: Declaration of FernleafSystems….
-
Hi Paul,
I’m having a sudden issue related to Shield. All was well on Friday, but today I get a fatal error message when trying to access my website.
I disabled Shield with forceoff so I could get in there. I also checked my error log. Below is the basic gist of the error. I removed the site directory info as noted in brackets [ ], but the rest will give you an idea of what is happening.
PHP Fatal error: Declaration of FernleafSystems\Wordpress\Plugin\Shield\Modules\AuditTrail\Lib\LogHandlers\LocalDbWriter::write(array $record) must be compatible with Monolog\Handler\AbstractProcessingHandler::write(array $record): void in /[removed site directory info]/wp-content/plugins/wp-simple-firewall/src/lib/src/Modules/AuditTrail/Lib/LogHandlers/LocalDbWriter.php on line 26I also saw an another error as follows:
[ERROR] : WPO_ADVANCED_CACHE constant is not present in advanced-cache.php
Based on those two errors, I found that disabling WP-Optimize, and then renabling Shield works. So, for now, I have WP-Optmize disabled. (Note: I was not using this plugin for caching purposes, just so you know.)
Any idea what might be going on between the two plugins? My PHP version is 7.4, WordPress is version 6.0, and all themes and plugins are up-to-date.
Appreciate your time and assistance.
-M
- The topic ‘PHP Fatal error: Declaration of FernleafSystems….’ is closed to new replies.