• Resolved Matt

    (@syntax53)


    On subsite of multisite install:

    [16-Mar-2015 18:41:51 UTC] PHP Warning: array_keys() expects parameter 1 to be array, boolean given in D:\path\to\wp\wp-content\plugins\simple-history\loggers\SimpleLogger.php on line 162

    [16-Mar-2015 18:41:51 UTC] PHP Warning: array_intersect(): Argument #2 is not an array in D:\path\to\wp\wp-content\plugins\simple-history\loggers\SimpleLogger.php on line 162

    repeated over and over filling up log

    https://www.ads-software.com/plugins/simple-history/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author P?r Thernstr?m

    (@eskapism)

    Do you have any other plugins installed? Perhaps any plugin that modifes what a user can and can not do?

    Thread Starter Matt

    (@syntax53)

    Only one dealing with users is this one: https://www.ads-software.com/plugins/user-role-editor/

    (logged in as super admin though)

    Plugin Author P?r Thernstr?m

    (@eskapism)

    Still not sure why this happens. Installed the User Roll Editor-plugin, but still no error here. Anyway, I’ve made some small changes to Simple History to prevent that error from happening. You can wait for the next version of the plugin to be released, or you can try to download the latest version from GitHub and see if that works: https://github.com/bonny/WordPress-Simple-History

    Thread Starter Matt

    (@syntax53)

    That fixed it but I wanted to look into why it may be causing it on my end based on what you said. Turns out it was my fault. I recently renamed be database prefixes for security and forgot to update the options table on the subsite table. Once I ran UPDATE NEWPREFIX_2_options SET option_name = REPLACE( option_name , ‘OLDPREFIX_2_’, ‘NEWPREFIX_2_’ ) the issue went away.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘PHP Warnings – SimpleLogger.php on line 162’ is closed to new replies.