Title: PHP Warnings &#8211; SimpleLogger.php on line 162
Last modified: August 22, 2016

---

# PHP Warnings – SimpleLogger.php on line 162

 *  Resolved [Matt](https://wordpress.org/support/users/syntax53/)
 * (@syntax53)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/php-warnings-simpleloggerphp-on-line-162/)
 * 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://wordpress.org/plugins/simple-history/](https://wordpress.org/plugins/simple-history/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Pär Thernström](https://wordpress.org/support/users/eskapism/)
 * (@eskapism)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/php-warnings-simpleloggerphp-on-line-162/#post-5905277)
 * Do you have any other plugins installed? Perhaps any plugin that modifes what
   a user can and can not do?
 *  Thread Starter [Matt](https://wordpress.org/support/users/syntax53/)
 * (@syntax53)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/php-warnings-simpleloggerphp-on-line-162/#post-5905286)
 * Only one dealing with users is this one: [https://wordpress.org/plugins/user-role-editor/](https://wordpress.org/plugins/user-role-editor/)
 * (logged in as super admin though)
 *  Plugin Author [Pär Thernström](https://wordpress.org/support/users/eskapism/)
 * (@eskapism)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/php-warnings-simpleloggerphp-on-line-162/#post-5905350)
 * 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](https://github.com/bonny/WordPress-Simple-History)
 *  Thread Starter [Matt](https://wordpress.org/support/users/syntax53/)
 * (@syntax53)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/php-warnings-simpleloggerphp-on-line-162/#post-5905372)
 * 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.

 * ![](https://ps.w.org/simple-history/assets/icon.svg?rev=3225008)
 * [Simple History – Track, Log, and Audit WordPress Changes](https://wordpress.org/plugins/simple-history/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-history/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-history/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-history/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-history/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-history/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Matt](https://wordpress.org/support/users/syntax53/)
 * Last activity: [11 years, 1 month ago](https://wordpress.org/support/topic/php-warnings-simpleloggerphp-on-line-162/#post-5905372)
 * Status: resolved