Title: Warning: array_key_exists(
Last modified: August 19, 2016

---

# Warning: array_key_exists(

 *  [johanT](https://wordpress.org/support/users/johant/)
 * (@johant)
 * [17 years, 9 months ago](https://wordpress.org/support/topic/warning-array_key_exists-2/)
 * Would anybody help me with this warning message:
 * Warning: array_key_exists(): The second argument should be either an array or
   an object in /export/web17/gamma/jtioa001/www/CreativeWorx/wp-includes/widgets.
   php on line 217
 * I instal the software thru my hosting company.
    I’m using Mac.

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

 *  Thread Starter [johanT](https://wordpress.org/support/users/johant/)
 * (@johant)
 * [17 years, 9 months ago](https://wordpress.org/support/topic/warning-array_key_exists-2/#post-849728)
 * Hi, Would any one help me with this please. i’m not a programer and new in this.
   
   i really need to get t up and running. Situation is that i could open the page
   once i type in the address but there is the warning message on the top right 
   corner.
 * Warning: array_key_exists(): The second argument should be either an array or
   an object in /export/web17/gamma/jtioa001/www/CreativeWorx/wp-includes/widgets.
   php on line 217
 * Please let me know how to solve this.
 * thanks
 *  [Beee](https://wordpress.org/support/users/beee/)
 * (@beee)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/warning-array_key_exists-2/#post-849990)
 * just add quotes
 * [http://wordpress.org/support/topic/250454?replies=4](http://wordpress.org/support/topic/250454?replies=4)
 *  [Mark / t31os](https://wordpress.org/support/users/t31os_/)
 * (@t31os_)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/warning-array_key_exists-2/#post-849991)
 * That solution isn’t correct though, adding single quotes around a variable means
   the variable is treated as a string of text. It may get rid of the message, but
   it’s certainly not a fix.
 * Have you added any plugins or widgets recently johan? Or is this a new install(
   no extras installed).

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

The topic ‘Warning: array_key_exists(’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 3 participants
 * Last reply from: [Mark / t31os](https://wordpress.org/support/users/t31os_/)
 * Last activity: [16 years, 9 months ago](https://wordpress.org/support/topic/warning-array_key_exists-2/#post-849991)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
