Title: Undefined array key
Last modified: February 22, 2025

---

# Undefined array key

 *  [simbian](https://wordpress.org/support/users/simbian/)
 * (@simbian)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/undefined-array-key-56/)
 * Hello, using Fairy theme i noticed the following warnings with Query Monitor:
   
   Undefined array key “fairy-enable-sticky-primary-menu”wp-content/themes/fairy/
   candidthemes/functions/hook-header.php:215
 * Undefined array key “fairy-go-to-top-icon-new”
   wp-content/themes/fairy/candidthemes/
   functions/hook-footer.php:17Can you fix them?Im using PHP 8.2.Thanks in advice.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fundefined-array-key-56%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

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

 * 0 replies
 * 1 participant
 * Last reply from: [simbian](https://wordpress.org/support/users/simbian/)
 * Last activity: [1 year, 1 month ago](https://wordpress.org/support/topic/undefined-array-key-56/)
 * Status: not resolved