Title: ERROR: Warning: array_key_exists
Last modified: August 21, 2016

---

# ERROR: Warning: array_key_exists

 *  Resolved [davidg1058](https://wordpress.org/support/users/davidg1058/)
 * (@davidg1058)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/error-warning-array_key_exists/)
 * Great looking theme you have here. I have tried to upload and use it but I get
   the following error on several lines. This happens while previewing or activating
   the theme.
    “Warning: array_key_exists() [function.array-key-exists]: The second
   argument should be either an array or an object in /home/xxxxxxx/public_html/
   boot/wp-content/themes/bootstrap-ultimate/functions.php on line 792”
 * I’m sure it something on my side, thanks for the theme and the help.

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

 *  Theme Author [eminozlem](https://wordpress.org/support/users/eminozlem/)
 * (@eminozlem)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/error-warning-array_key_exists/#post-4786854)
 * Yeah, for technical reasons, the theme stores theme options ( $eo_options array)
   in a global rather then using of_get_option() function of the Option Framework.
   
   But you should not get any errors, once you’ve actually activated the theme right?
   Let me know if you get any errors after activation.
 *  Thread Starter [davidg1058](https://wordpress.org/support/users/davidg1058/)
 * (@davidg1058)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/error-warning-array_key_exists/#post-4786859)
 * Yes I do get errors and can’t deactivate the theme I had to delete the WP install.
   That was in a subfolder, I have not tried it on my main domain. Thanks Again.
 *  Theme Author [eminozlem](https://wordpress.org/support/users/eminozlem/)
 * (@eminozlem)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/error-warning-array_key_exists/#post-4786880)
 * ah, sorry to hear that. I’ll try to reproduce and fix it.
    It’d be better if 
   you could send me the link so that I could investigate but anyway. Thanks for
   the report, good luck
 *  Thread Starter [davidg1058](https://wordpress.org/support/users/davidg1058/)
 * (@davidg1058)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/error-warning-array_key_exists/#post-4786890)
 * OK here you go I just set up WP on a Subdomain Log-in here>>> [http://strap.7dbl7.com/wp-admin](http://strap.7dbl7.com/wp-admin)
   
   user= eminozlem pw= demo1234
 * I installed the latest version but did not activate it, when I did before I had
   to uninstall WP. check it out and again thanks for your help.
 *  Theme Author [eminozlem](https://wordpress.org/support/users/eminozlem/)
 * (@eminozlem)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/error-warning-array_key_exists/#post-4786912)
 * I get
 * >  Call to undefined function wp_get_theme()
 * What version of WP is this install ? You should have wp 3.5+
 *  Thread Starter [davidg1058](https://wordpress.org/support/users/davidg1058/)
 * (@davidg1058)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/error-warning-array_key_exists/#post-4786948)
 * new install today s/b 3.8
 *  Thread Starter [davidg1058](https://wordpress.org/support/users/davidg1058/)
 * (@davidg1058)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/error-warning-array_key_exists/#post-4786950)
 * Also I see a different error if logged-in as admin as apposed to logged-out.
 * Thanks again
 *  Theme Author [eminozlem](https://wordpress.org/support/users/eminozlem/)
 * (@eminozlem)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/error-warning-array_key_exists/#post-4786959)
 * Try to go to admin. You should see the Call to undefined function wp_get_theme()
   error.
    Btw, there’s no way that install is 3.5+. It looked more like a 3.2 or
   3.3. That’s the main reason you cant activate the theme in the admin
 *  Thread Starter [davidg1058](https://wordpress.org/support/users/davidg1058/)
 * (@davidg1058)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/error-warning-array_key_exists/#post-4786970)
 * Wow do I feel stupid, lol… that was the problem 3.3 was installed. Sorry I wasted
   your time and thanks for your help. Just FYI cpanel at hostgator is still installing
   3.3, I have 3.5 on most of my sites and thought that’s what HG was installing.
 *  Theme Author [eminozlem](https://wordpress.org/support/users/eminozlem/)
 * (@eminozlem)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/error-warning-array_key_exists/#post-4786972)
 * No worries. I hope you you got it sorted out. Let me know if you still have problems
   or other questions and feel free to rate the theme if you havent already, it 
   helps.
 * Also I add a workaround for versions prior to 3.5+ in the future, thanks for 
   the report.

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

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

 * ![](https://i0.wp.com/themes.svn.wordpress.org/bootstrap-ultimate/1.4.9/screenshot.
   png)
 * Bootstrap Ultimate
 * [Support Threads](https://wordpress.org/support/theme/bootstrap-ultimate/)
 * [Active Topics](https://wordpress.org/support/theme/bootstrap-ultimate/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/bootstrap-ultimate/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/bootstrap-ultimate/reviews/)

 * 10 replies
 * 2 participants
 * Last reply from: [eminozlem](https://wordpress.org/support/users/eminozlem/)
 * Last activity: [12 years, 1 month ago](https://wordpress.org/support/topic/error-warning-array_key_exists/#post-4786972)
 * Status: resolved