• Resolved Music365

    (@clairporium)


    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

Viewing 4 replies - 1 through 4 (of 4 total)
  • @clairporium Could you please try to rollback to version 3.2.3 and check if it helps to fix the issue?

    Thread Starter Music365

    (@clairporium)

    Hi Harshad,

    I do have WP-Optimize version 3.2.3 on another website that also has Shield Security installed and there is no issue.

    As for the website that I wrote about yesterday, I’m going to keep WP-Optimize disabled for now (since I don’t use it for caching) while you work on a new release that will provide greater compatibility for plugins that use the older Monolog library.

    – M

    @clairporium Sure thing We will keep you posted.

    Plugin Support vupdraft

    (@vupdraft)

    Hi,

    We are about to release a fix for this, so keep an eye out for the update

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[ERROR] : WPO_ADVANCED_CACHE constant is not present in advanced-cache.php’ is closed to new replies.