Title: PHP Error in AAM: array_key_exists()
Last modified: January 29, 2018

---

# PHP Error in AAM: array_key_exists()

 *  Resolved [nhwp](https://wordpress.org/support/users/nhwp/)
 * (@nhwp)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/php-error-in-aam-array_key_exists/)
 * An error being triggered by AAM ([Advanced Access Manager](https://wordpress.org/plugins/advanced-access-manager/))
   seems to be solved by deactivating Monster Insights. See the [conversation on the AAM support forum](https://wordpress.org/support/topic/warning-on-dashboard-after-updated-to-v5-0-6/).
   Several people have found the same solution: deactivating Monster Insights.
 * The plugin developer reports there’s an issue with the array of capabilities 
   being provided?
 * Can you help?
 * Thanks.
    -  This topic was modified 8 years, 4 months ago by [nhwp](https://wordpress.org/support/users/nhwp/).

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

 *  Plugin Author [chriscct7](https://wordpress.org/support/users/chriscct7/)
 * (@chriscct7)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/php-error-in-aam-array_key_exists/#post-9914827)
 * Hi there,
    We’re working on providing a pull request for them. Their plugin isn’t
   handling the conversion of meta capabilities to an empty requirement set of primitive
   capabilities correctly.
 * -Chris
 *  [jdelgadoesteban](https://wordpress.org/support/users/jdelgadoesteban/)
 * (@jdelgadoesteban)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/php-error-in-aam-array_key_exists/#post-9915392)
 * Same issue here. Any help would be greatly appreciated.
 * Kind Regards
 * Javier
 *  Plugin Author [chriscct7](https://wordpress.org/support/users/chriscct7/)
 * (@chriscct7)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/php-error-in-aam-array_key_exists/#post-9918843)
 * There’s 2 bugs that cause this as it turns out. One is in MonsterInsights, which
   is patched in 6.2.8 (just released). Another is in their plugin that they haven’t
   yet accepted our pull request for, but is more of an edge case
 * -Chris

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

The topic ‘PHP Error in AAM: array_key_exists()’ is closed to new replies.

 * ![](https://ps.w.org/google-analytics-for-wordpress/assets/icon.svg?rev=2976619)
 * [MonsterInsights - Google Analytics Dashboard for WordPress (Website Stats Made Easy)](https://wordpress.org/plugins/google-analytics-for-wordpress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-analytics-for-wordpress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-analytics-for-wordpress/)
 * [Active Topics](https://wordpress.org/support/plugin/google-analytics-for-wordpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-analytics-for-wordpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-analytics-for-wordpress/reviews/)

## Tags

 * [aam](https://wordpress.org/support/topic-tag/aam/)

 * 3 replies
 * 3 participants
 * Last reply from: [chriscct7](https://wordpress.org/support/users/chriscct7/)
 * Last activity: [8 years, 4 months ago](https://wordpress.org/support/topic/php-error-in-aam-array_key_exists/#post-9918843)
 * Status: resolved