• Resolved WordMonkey25

    (@wordmonkey25)


    I’m getting the error below displayed on my site anytime a 404 error is triggered.

    Warning: in_array() expects parameter 2 to be array, string given in /site/wp-content/plugins/better-wp-security/modules/free/four-oh-four/class-itsec-fou-oh-four.php on line 32

    https://wordpress.org/plugins/better-wp-security/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter WordMonkey25

    (@wordmonkey25)

    Any idea what is causing this?

    Thread Starter WordMonkey25

    (@wordmonkey25)

    bump

    Thread Starter WordMonkey25

    (@wordmonkey25)

    No one has any thoughts on how to fix this permanently? Don’t want to just edit the code and have it come back on every update…

    Thread Starter WordMonkey25

    (@wordmonkey25)

    The problem is defiantly with the plugin. If I deactivate it the error message on 404 pages goes away.

    Thread Starter WordMonkey25

    (@wordmonkey25)

    This is still not fixed in the update 4.0.23 released today.

    Thread Starter WordMonkey25

    (@wordmonkey25)

    Here is the line in question

    if ( in_array( $uri[0], $this->settings['white_list'] ) === false ) {

    What can be changed in this line to fix the error?

    iThemes Support

    (@ithemes-support)

    The issue has been fixed in 4.0.25. Please update and let us know if you have further issues. Could you also post what you had as the value for your whitelist to http://ithemes.com/security/bugs/. We would be curious to find out just what setting there was leading to the issue.

    Thread Starter WordMonkey25

    (@wordmonkey25)

    I apologize but unfortunately I’ve already downgraded and will be waiting for a bit to install the latest version.

    However, I checked a backup and the whitelist was blank.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Error on 404 pages’ is closed to new replies.