WordPress.org

Support

Support » Plugins and Hacks » PHP warnings in Changed Files Log

PHP warnings in Changed Files Log

  • 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/

Viewing 3 replies - 1 through 3 (of 3 total)
  • 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 :-/

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

    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!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘PHP warnings in Changed Files Log’ is closed to new replies.