Title: array_key_exists() warning when installing plugins
Last modified: August 31, 2016

---

# array_key_exists() warning when installing plugins

 *  Resolved [Patrick Steil](https://wordpress.org/support/users/patrickchurchbuzzorg/)
 * (@patrickchurchbuzzorg)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/array_key_exists-warning-when-installing-plugins/)
 * When I activate any plugin I see this warning:
 * Warning: array_key_exists() expects parameter 2 to be array, null given in /home/
   churchw9/public_html/wp-content/plugins/multisite-enhancements/inc/autoload/class-
   admin-bar-tweaks.php on line 53
 * Screenshot:
    [http://screencast-o-matic.com/screenshots/u/fObY/1458823862987-55428.png](http://screencast-o-matic.com/screenshots/u/fObY/1458823862987-55428.png)
 * Thanks!
 * [https://wordpress.org/plugins/multisite-enhancements/](https://wordpress.org/plugins/multisite-enhancements/)

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

 *  Thread Starter [Patrick Steil](https://wordpress.org/support/users/patrickchurchbuzzorg/)
 * (@patrickchurchbuzzorg)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/array_key_exists-warning-when-installing-plugins/#post-7204200)
 * Great plugin by the way! 🙂
 * Thanks!
 *  Plugin Author [Frank Bueltge](https://wordpress.org/support/users/bueltge/)
 * (@bueltge)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/array_key_exists-warning-when-installing-plugins/#post-7204459)
 * Thanks for the hint. THe core should get always an array on this point.
    I have
   enhanced the definition. PLease can you test this version and give me feedback.
   [https://downloads.wordpress.org/plugin/multisite-enhancements.zip](https://downloads.wordpress.org/plugin/multisite-enhancements.zip)

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

The topic ‘array_key_exists() warning when installing plugins’ is closed to new 
replies.

 * ![](https://ps.w.org/multisite-enhancements/assets/icon-256x256.png?rev=1429634)
 * [Multisite Enhancements](https://wordpress.org/plugins/multisite-enhancements/)
 * [Support Threads](https://wordpress.org/support/plugin/multisite-enhancements/)
 * [Active Topics](https://wordpress.org/support/plugin/multisite-enhancements/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/multisite-enhancements/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/multisite-enhancements/reviews/)

## Tags

 * [PHP Warning](https://wordpress.org/support/topic-tag/php-warning/)

 * 2 replies
 * 2 participants
 * Last reply from: [Frank Bueltge](https://wordpress.org/support/users/bueltge/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/array_key_exists-warning-when-installing-plugins/#post-7204459)
 * Status: resolved