• Resolved bh007

    (@bh007)


    Hi
    The error log has been constantly growing with these entries:

    PHP Warning: array_key_exists() expects parameter 2 to be array, boolean given in /home/xxxxxx/public_html/wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/storage/file.php on line 478

    and

    PHP Warning: Cannot use a scalar value as an array in /home/xxxxxx/public_html/wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/storage/file.php on line 499

    Current PHP version is 5.6.

    Any help would be appreciated.
    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @bh007,

    Could you please create a backup archive of the entire wp-content/wflogs folder and email it to [email protected]? Once that’s done:

    • Delete the wflogs folder from the server
    • Refresh any of the Wordfence plugin’s options pages — this regenerates the wflogs folder
    • Switch the firewall to “Enabled and Protecting”

    Once you’ve completed these steps, please let me know if you’re continuing to see the errors!

    Hi @bh007

    Since we haven’t heard from you for a while I’m going to go ahead and resolve this thread. If you have any other questions or concerns, don’t hesitate to open a new one.

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘error_log array_key_exists warnings’ is closed to new replies.