Title: Warning: array_intersect_key(): Expected parameter 1 to be an array,…..
Last modified: December 10, 2020

---

# Warning: array_intersect_key(): Expected parameter 1 to be an array,…..

 *  Resolved [seanesome](https://wordpress.org/support/users/seanesome/)
 * (@seanesome)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/warning-array_intersect_key-expected-parameter-1-to-be-an-array-2/)
 * Hi there,
 * Everytime I am editing a Page, I will receive the following error:
 * Warning: array_intersect_key(): Expected parameter 1 to be an array, string given
   in /home/customer/www/collarshine.com/public_html/wp-includes/rest-api/class-
   wp-rest-server.php on line 1402.
 * I’m not a Dev. I dont konw where to find this php files and how to fix it.
 * Could somebody kindlly teach me?
 * Thanks a lot
 * Sean

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

 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/warning-array_intersect_key-expected-parameter-1-to-be-an-array-2/#post-13768593)
 * This may be a plugin or theme conflict. Please attempt to disable all plugins,
   and switch to the default Twenty Twenty-One theme. If the problem goes away, 
   enable them one by one to identify the source of the problem.
 * If you can install plugins, install [Health Check](https://wordpress.org/plugins/health-check/).
   On the troubleshooting tab, you can click the button to disable all plugins and
   change the theme for you, while you’re still logged in, **without affecting normal
   visitors to your site**.
 *  Thread Starter [seanesome](https://wordpress.org/support/users/seanesome/)
 * (@seanesome)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/warning-array_intersect_key-expected-parameter-1-to-be-an-array-2/#post-13768634)
 * Thank you so much!James
 * I disabled “Google Analytics for WordPress by MonsterInsights”, and the error
   info disappeared.
 * So does this means I cant use this plugin anymore until they have an update version
   fix this conflict?
 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/warning-array_intersect_key-expected-parameter-1-to-be-an-array-2/#post-13768756)
 * Latest version of that plugin: 7.13.2
    Last updated: 2 weeks ago
 * If you use older version then that, then try updating.
 * If you already use the current version, then please report the issue to the plugin’s
   developers so that they can take action as appropriate: [https://wordpress.org/plugins/google-analytics-for-wordpress/](https://wordpress.org/plugins/google-analytics-for-wordpress/)
 *  Thread Starter [seanesome](https://wordpress.org/support/users/seanesome/)
 * (@seanesome)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/warning-array_intersect_key-expected-parameter-1-to-be-an-array-2/#post-13768822)
 * OK, mine is the latest version. I’ll report this issue.
 * Thanks!
 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/warning-array_intersect_key-expected-parameter-1-to-be-an-array-2/#post-13768881)
 * Topic continued at [https://wordpress.org/support/topic/wordpress-update-warning-array_intersect_key/](https://wordpress.org/support/topic/wordpress-update-warning-array_intersect_key/)

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

The topic ‘Warning: array_intersect_key(): Expected parameter 1 to be an array,…..’
is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 3 participants
 * Last reply from: [t-p](https://wordpress.org/support/users/t-p/)
 * Last activity: [5 years, 5 months ago](https://wordpress.org/support/topic/warning-array_intersect_key-expected-parameter-1-to-be-an-array-2/#post-13768881)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
