[ERROR] : WPO_ADVANCED_CACHE constant is not present in advanced-cache.php
-
Hello,
Looks like the WP-Optimize plugin is having some issues playing nice with other plugins. For example, the Shield Security plugin.
When I reported the issue to the Shield Security plugin developer, I was told that I am not the first to report this issue, and he was very kind about explaining what is going on with the plugins.
If I leave both plugins enabled, I get a WordPress error. If I disable WP-Optimize, the error goes away.
Below are the two error messages from my logs. I removed the site directory info as noted in brackets [ ], but the rest will give you an idea of what is happening.
1. Error related to Shield Security
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 26
2. Error related to WP-Optimize
[ERROR] : WPO_ADVANCED_CACHE constant is not present in advanced-cache.php
The developer for Shield Security said that WP-Optimize recently released an update that contains a more recent version (v2) of the Monolog PHP library, and that the Monolog library only supports PHP 7.2+.
Could you go for an earlier version to provide greater compatibility with other plugins that use the older library, i.e. use a Monolog library that supports PHP 7.0+ and this is Monolog version 1?
Appreciate your time and assistance.
-M
- The topic ‘[ERROR] : WPO_ADVANCED_CACHE constant is not present in advanced-cache.php’ is closed to new replies.