Title: Warning: array_key_exists() expects parameter 2 to be array, boolean given
Last modified: February 6, 2021

---

# Warning: array_key_exists() expects parameter 2 to be array, boolean given

 *  [abonosir](https://wordpress.org/support/users/abonosir/)
 * (@abonosir)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/warning-array_key_exists-expects-parameter-2-to-be-array-boolean-given-2/)
 * Dears ,
 * when I migrate my website to new host I got this error .
 * Warning: array_key_exists() expects parameter 2 to be array, boolean given in
   ../
   wp-content/plugins/woocommerce/includes/admin/helper/class-wc-helper-options.
   php on line 54
 * I tried to uninstall woo commerce plugin and install the new fresh one . same
   problem appear .
 * PHP version: 7.3.6

Viewing 1 replies (of 1 total)

 *  [Joy](https://wordpress.org/support/users/joyously/)
 * (@joyously)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/warning-array_key_exists-expects-parameter-2-to-be-array-boolean-given-2/#post-14012465)
 * You should ask in the plugin’s support forum.
    [https://wordpress.org/support/plugin/woocommerce/](https://wordpress.org/support/plugin/woocommerce/)

Viewing 1 replies (of 1 total)

The topic ‘Warning: array_key_exists() expects parameter 2 to be array, boolean 
given’ is closed to new replies.

 * In: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
 * 1 reply
 * 2 participants
 * Last reply from: [Joy](https://wordpress.org/support/users/joyously/)
 * Last activity: [5 years, 4 months ago](https://wordpress.org/support/topic/warning-array_key_exists-expects-parameter-2-to-be-array-boolean-given-2/#post-14012465)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
