• Resolved imfromio

    (@imfromio)


    Everything seems to be working fine, but I am seeing a fatal error on the dashboard pages:
    PHP Fatal error: Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, bool given in /nas/content/live/xenetwork/wp-content/plugins/independent-analytics-pro/IAWP/Plugin_Conflict_Detector.php:130

    I looked up the code and it referes to a plugin conflict with Cerber if the plugin is set to block the REST API. I do have Cerber running, but I do not have the REST API blocked in the Cerber settings.

    The code also has this comment:
    This option has been renamed before. If there’s an issue in here, check that it wasn’t renamed again.

    Maybe that’s the problem? Cerber renamed the option mentioned in the code? I commented out the Cerber code in Plugin_Conflict_Detector.php and the error no longer appears.

    Thanks for looking into this and hopefully this will be fixed in the next update.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Ben Sibley

    (@bensibley)

    Hi there,

    Thanks for getting in touch. I’m sorry to hear about this error.

    Can you let me know what version of Cerber you’re using? I just tried v9.6.7.3, but I couldn’t recreate this same issue.

    Thread Starter imfromio

    (@imfromio)

    I’m using Independent Analytics Pro version 2.11.1 and Cerber version 9.5.

    Plugin Author Ben Sibley

    (@bensibley)

    Thank you! I can’t recreate the issue, which is odd, but I can add an error-catching mechanism to resolve this in our next update.

    With that said, version 9.5 of Cerber is two years old at this point. New updates aren’t released to sites because their plugin was removed from the repository due to a security issue. I don’t know the exact nature of the security issue. I would recommend switching to a different security plugin or getting the latest version directly from their website. That’s how I got version 9.6.7.3.

    Thread Starter imfromio

    (@imfromio)

    I’ve updated Cerber to the latest version 9.6.7.2 on a staging site, but am still seeing the same error being thrown in Plugin_Conflict_Detector.php, line 130.

    Out of curiosity, I scanned my database options tables (it’s a multisite, so I searched through all options tables) for any “%cerber%” option_names, but found none. Your plugin is searching the options table for “cerber_configuration” or “cerber-hardening” and not finding either, causing the error.

    Maybe that helps? Meanwhile, I’ll look forward to the next update! Thank you.

    Plugin Author Ben Sibley

    (@bensibley)

    Hmm that’s odd. I wonder if there aren’t any options saved yet then? Either way, we are releasing a patch on Mon/Tues that will check for this scenario and prevent an error from being output.

    Plugin Author Ben Sibley

    (@bensibley)

    Version 2.11.2 is out now with a fix for this bug. Thanks for your patience with this issue.

    Thread Starter imfromio

    (@imfromio)

    Fantastic! I’ve installed the update and not getting any errors. Thanks for the quick fix!

    Plugin Author Ben Sibley

    (@bensibley)

    You’re welcome! I’m glad to hear it’s working well for your site.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Fatal Error with Cerber’ is closed to new replies.