WordPress.org

Ready to get started?Download WordPress

Forums

iThemes Security (formerly Better WP Security)
PHP warnings in Changed Files Log (4 posts)

  1. mbakeranalecta
    Member
    Posted 1 year ago #

    I installed Better WP Security yesterday, and everything seems to be working well on the blog. However, in the Logs>Changed Files>View details section, a number of PHP errors are shown. I've obscured the part of the path that is specific to my site.

    Scan Time: Saturday, April 13th 5:35 pm UTC
    Files Added: 0
    Files Deleted: 0
    Files Modified: 0
    Memory Used: 0 MB

    Warning: array_slice() expects parameter 1 to be array, null given in /xxx/better-wp-security/inc/admin/tables.php on line 908

    Warning: Invalid argument supplied for foreach() in /xxx/better-wp-security/inc/admin/tables.php on line 914
    Files Added

    File modified hash
    File modified hash
    No items found.

    Warning: array_slice() expects parameter 1 to be array, null given in /xxx/better-wp-security/inc/admin/tables.php on line 1066

    Warning: Invalid argument supplied for foreach() in /xxx/better-wp-security/inc/admin/tables.php on line 1072
    Files Removed

    File modified hash
    File modified hash
    No items found.

    Warning: array_slice() expects parameter 1 to be array, null given in /xxx/better-wp-security/inc/admin/tables.php on line 1224

    Warning: Invalid argument supplied for foreach() in /xxx/better-wp-security/inc/admin/tables.php on line 1230
    Files Modified

    File modified hash
    File modified hash
    No items found.

    http://wordpress.org/extend/plugins/better-wp-security/

  2. etikur
    Member
    Posted 11 months ago #

    I am getting the first four error messages (lines 908 & 914 and 1066 & 1072).
    Except that my Memory Used is about 15 MB - and I get about eight simulataneous error messages with 0 Added, 0 Deleted, 0 Modified files!
    (with an e-mail notification for each)

    I suspect a conflict with a plugin ... but which one :-/

  3. jpw94
    Member
    Posted 11 months ago #

    file protection is probably the issue. you might want to modify wp-config and .htaccess files to be writeable.

  4. etikur
    Member
    Posted 11 months ago #

    Thanks, jpw94.
    Hope it helps. There are two places that mention the .htaccess, both in the Tweaks (or System Tweaks) area on the dashboard:

    Server Tweaks --> "Protect Files"

    and

    Other Tweaks --> "Remove write permissions from .htaccess and wp-config.php"

    I have now enabled editing in both places. Unfortunately I had already cleared the database, so I am now waiting for the next "Changed Files" warnings to see if it works!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.