Title: Warning: array_key_exists() in functions.php
Last modified: December 6, 2017

---

# Warning: array_key_exists() in functions.php

 *  Resolved [cocktailswithm](https://wordpress.org/support/users/cocktailswithm/)
 * (@cocktailswithm)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/warning-array_key_exists-in-functions-php/)
 * Let me start off with I love the look of this theme. Thank you.
 * This is a trivial (doesn’t cause any issues that I have found) quirk. When updating
   wordpress using the command line (e.g. wp plugin update-all ), Kale seems to 
   throw the following warning:
 * Warning: array_key_exists() expects parameter 2 to be array, null given in /home/
   public/wp-content/themes/kale/functions.php
 * Just thought i would pass this one. Thanks again.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwarning-array_key_exists-in-functions-php%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Theme Author [lyrathemes](https://wordpress.org/support/users/lyrathemes/)
 * (@lyrathemes)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/warning-array_key_exists-in-functions-php/#post-9756878)
 * Thanks for letting us know, we’re already investigating this and will be sure
   to post a fix ASAP.

Viewing 1 replies (of 1 total)

The topic ‘Warning: array_key_exists() in functions.php’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/kale/2.8.2/screenshot.jpg)
 * Kale
 * [Support Threads](https://wordpress.org/support/theme/kale/)
 * [Active Topics](https://wordpress.org/support/theme/kale/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/kale/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/kale/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [lyrathemes](https://wordpress.org/support/users/lyrathemes/)
 * Last activity: [8 years, 6 months ago](https://wordpress.org/support/topic/warning-array_key_exists-in-functions-php/#post-9756878)
 * Status: resolved