Title: array_key error
Last modified: November 14, 2018

---

# array_key error

 *  [jvs09](https://wordpress.org/support/users/jvs09/)
 * (@jvs09)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/array_key-error/)
 * Hi, I get a warning about the plugin and aparently everything should be ok, I
   paste the error
 * Warning: array_key_exists() expects parameter 2 to be array, boolean given in/
   usr/home/derguterwein.cat/web/wp-content/plugins/wc-smart-cod/public/class-wc-
   smart-cod-public.php on line 76 Warning: array_key_exists() expects parameter
   2 to be array, boolean given in /usr/home/derguterwein.cat/web/wp-content/plugins/
   wc-smart-cod/public/class-wc-smart-cod-public.php on line 77 Warning: array_key_exists()
   expects parameter 2 to be array, boolean given in /usr/home/derguterwein.cat/
   web/wp-content/plugins/wc-smart-cod/public/class-wc-smart-cod-public.php on line
   100 Warning: array_key_exists() expects parameter 2 to be array, boolean given
   in /usr/home/derguterwein.cat/web/wp-content/plugins/wc-smart-cod/public/class-
   wc-smart-cod-public.php on line 100 Warning: array_key_exists() expects parameter
   2 to be array, boolean given in /usr/home/derguterwein.cat/web/wp-content/plugins/
   wc-smart-cod/public/class-wc-smart-cod-public.php on line 100 Warning: array_key_exists()
   expects parameter 2 to be array, boolean given in /usr/home/derguterwein.cat/
   web/wp-content/plugins/wc-smart-cod/public/class-wc-smart-cod-public.php on line
   100 Warning: array_key_exists() expects parameter 2 to be array, boolean given
   in /usr/home/derguterwein.cat/web/wp-content/plugins/wc-smart-cod/public/class-
   wc-smart-cod-public.php on line 100 Warning: array_key_exists() expects parameter
   2 to be array, boolean given in /usr/home/derguterwein.cat/web/wp-content/plugins/
   wc-smart-cod/public/class-wc-smart-cod-public.php on line 100 Warning: array_key_exists()
   expects parameter 2 to be array, boolean given in /usr/home/derguterwein.cat/
   web/wp-content/plugins/wc-smart-cod/public/class-wc-smart-cod-public.php on line
   100 Warning: array_key_exists() expects parameter 2 to be array, boolean given
   in /usr/home/derguterwein.cat/web/wp-content/plugins/wc-smart-cod/public/class-
   wc-smart-cod-public.php on line 100 Warning: array_key_exists() expects parameter
   2 to be array, boolean given in /usr/home/derguterwein.cat/web/wp-content/plugins/
   wc-smart-cod/public/class-wc-smart-cod-public.php on line 100 Warning: array_key_exists()
   expects parameter 2 to be array, boolean given in /usr/home/derguterwein.cat/
   web/wp-content/plugins/wc-smart-cod/public/class-wc-smart-cod-public.php on line
   100 Warning: array_key_exists() expects parameter 2 to be array, boolean given
   in /usr/home/derguterwein.cat/web/wp-content/plugins/wc-smart-cod/public/class-
   wc-smart-cod-public.php on line 100 Warning: Invalid argument supplied for foreach()
   in /usr/home/derguterwein.cat/web/wp-content/plugins/wc-smart-cod/public/class-
   wc-smart-cod-public.php on line 147
 * Hope you can help me out, If you need to see the site let me know, it’s in under
   construction mode
 * thanks
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Farray_key-error%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 * ![](https://ps.w.org/wc-smart-cod/assets/icon-128x128.png?rev=3372621)
 * [Smart COD for WooCommerce](https://wordpress.org/plugins/wc-smart-cod/)
 * [Support Threads](https://wordpress.org/support/plugin/wc-smart-cod/)
 * [Active Topics](https://wordpress.org/support/plugin/wc-smart-cod/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wc-smart-cod/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wc-smart-cod/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [jvs09](https://wordpress.org/support/users/jvs09/)
 * Last activity: [7 years, 6 months ago](https://wordpress.org/support/topic/array_key-error/)
 * Status: not resolved