Title: Undefined array key
Last modified: December 17, 2024

---

# Undefined array key

 *  Resolved [jozefhindicky](https://wordpress.org/support/users/jozefhindicky/)
 * (@jozefhindicky)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/undefined-array-key-52/)
 * Hi,
 * Our error.log is flooded with Undefined array key messages (xxx represents theme
   name):
 * Got error ‘PHP message: PHP Warning: Undefined array key “xxx” in /../plugins/
   wp-hide-security-enhancer/include/functions.class.php on line 3092; PHP message:
   PHP Warning: Undefined array key “xxx” in /../plugins/wp-hide-security-enhancer/
   include/functions.class.php on line 3111’
 * This seems to be coming from is_child_theme() and get_main_theme_directory() 
   functions.

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

 *  Plugin Contributor [Maya](https://wordpress.org/support/users/tdgu/)
 * (@tdgu)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/undefined-array-key-52/#post-18203616)
 * Hi,
   This should be fixed in the latest plugin version 2.5.6Thanks
 *  Thread Starter [jozefhindicky](https://wordpress.org/support/users/jozefhindicky/)
 * (@jozefhindicky)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/undefined-array-key-52/#post-18234219)
 * Hi,
 * it appears this issue is still present. We’re still seeing
 * Got error ‘PHP message: PHP Warning: Undefined array key “xxxx” in ../plugins/
   wp-hide-security-enhancer/include/functions.class.php on line 3113’
 * Would you be able to fix this please?
 * Thanks
 *  Plugin Contributor [Maya](https://wordpress.org/support/users/tdgu/)
 * (@tdgu)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/undefined-array-key-52/#post-18235972)
 * Hi,
   Sorry for this, i confirm the fix is included in the upcoming version 2.5.9Thanks

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

The topic ‘Undefined array key’ is closed to new replies.

 * ![](https://ps.w.org/wp-hide-security-enhancer/assets/icon-256x256.png?rev=2937681)
 * [WP Hide & Security Enhancer](https://wordpress.org/plugins/wp-hide-security-enhancer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-hide-security-enhancer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-hide-security-enhancer/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-hide-security-enhancer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-hide-security-enhancer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-hide-security-enhancer/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Maya](https://wordpress.org/support/users/tdgu/)
 * Last activity: [1 year, 4 months ago](https://wordpress.org/support/topic/undefined-array-key-52/#post-18235972)
 * Status: resolved