Title: array_key_exists error
Last modified: July 13, 2021

---

# array_key_exists error

 *  Resolved [robviz](https://wordpress.org/support/users/robviz/)
 * (@robviz)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/array_key_exists-error-4/)
 * Hi,
 * I have a customers site which is using Facebook for Woocommerce. I’ve been debugging
   recently and have come across an error:
 * E_WARNING: array_key_exists() expects parameter 2 to be array, null given (Most
   recent call first)
 * The first place this gets called is line 122 in the below:
 * /wp-content/plugins/facebook-for-woocommerce/includes/Feed/FeedConfigurationDetection.
   php line 122
 * Has anyone had this issue and been able to solve it? I believe it’s to do with
   the variable $active_feed_metadata being set to null on line 81.
 * If it matters, the error is usually happening around the same time every day.
 * Thanks.
    -  This topic was modified 4 years, 11 months ago by [robviz](https://wordpress.org/support/users/robviz/).

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

 *  [melinda a11n](https://wordpress.org/support/users/melindahelt/)
 * (@melindahelt)
 * Automattic Happiness Engineer
 * [4 years, 11 months ago](https://wordpress.org/support/topic/array_key_exists-error-4/#post-14655458)
 * Hi there!
 * This appears to be related to an issue our developers are looking into. You can
   follow along at [https://github.com/woocommerce/facebook-for-woocommerce/issues/2045](https://github.com/woocommerce/facebook-for-woocommerce/issues/2045)
 * Let us know if you have any other questions!
 *  Thread Starter [robviz](https://wordpress.org/support/users/robviz/)
 * (@robviz)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/array_key_exists-error-4/#post-14655652)
 * Hi Melinda,
 * Thanks for your quick response. Surprised I hadn’t come across that already from
   searching before I put something here. I’ll make sure to keep my eyes on that
   github page to see what solution is given.
 * Cheers,
    Rob

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

The topic ‘array_key_exists error’ is closed to new replies.

 * ![](https://ps.w.org/facebook-for-woocommerce/assets/icon.svg?rev=3469606)
 * [Meta for WooCommerce](https://wordpress.org/plugins/facebook-for-woocommerce/)
 * [Support Threads](https://wordpress.org/support/plugin/facebook-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/facebook-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/facebook-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/facebook-for-woocommerce/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [robviz](https://wordpress.org/support/users/robviz/)
 * Last activity: [4 years, 11 months ago](https://wordpress.org/support/topic/array_key_exists-error-4/#post-14655652)
 * Status: resolved