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

---

# Undefined array key

 *  Resolved [simbian](https://wordpress.org/support/users/simbian/)
 * (@simbian)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/undefined-array-key-55/)
 * Hello, i get these warnings on the frontend of the site, im using PHP 8.2.
   Undefined
   array key “fairy-enable-sticky-primary-menu”wp-content/themes/fairy/candidthemes/
   functions/hook-header.php:215Undefined array key “fairy-go-to-top-icon-new”wp-
   content/themes/fairy/candidthemes/functions/hook-footer.php:17It’s a warning 
   related to the theme so i must open a ticket at dev theme?I opened the thread
   here because for these two warnings in the last column of Query Monitor the component
   says Plugin: wpforms-liteBest.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fundefined-array-key-55%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [Ralden Souza](https://wordpress.org/support/users/rsouzaam/)
 * (@rsouzaam)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/undefined-array-key-55/#post-18321121)
 * Hi [@simbian](https://wordpress.org/support/users/simbian/),
 * Thanks for reaching out!
 * Looking at the error messages you’ve shared, these warnings are actually coming
   from your “fairy” theme files:
    1. wp-content/themes/fairy/candidthemes/functions/hook-header.php
    2. wp-content/themes/fairy/candidthemes/functions/hook-footer.php
 * While Query Monitor is showing “Plugin: wpforms-lite” in the component column,
   this is likely happening because our ErrorHandler is catching these theme-related
   errors. The theme probably isn’t catching the errors, so they’re being reported
   through our ErrorHandler.
 * I’d recommend reaching out the theme’s author/support team to share details of
   the errors the theme seems to be causing. They’d hopefully be able to help!
 * If there is anything else I can help with WPForms Lite, please don’t hesitate
   to ask.
 * Thanks!
 *  Thread Starter [simbian](https://wordpress.org/support/users/simbian/)
 * (@simbian)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/undefined-array-key-55/#post-18322048)
 * Thanks for explanation [@rsouzaam](https://wordpress.org/support/users/rsouzaam/)
   i will do it!
 *  Plugin Support [Ralden Souza](https://wordpress.org/support/users/rsouzaam/)
 * (@rsouzaam)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/undefined-array-key-55/#post-18325527)
 * Hi [@simbian](https://wordpress.org/support/users/simbian/), 
 * You’re very welcome!
 * It looks like you’ve marked this post as resolved. If you need any help using
   WPForms Lite, please feel welcome to reach out.
 * Thanks!

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

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

 * ![](https://ps.w.org/wpforms-lite/assets/icon.svg?rev=3254748)
 * [WPForms - Easy Form Builder for WordPress - Contact Forms, Payment Forms, Surveys, & More](https://wordpress.org/plugins/wpforms-lite/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wpforms-lite/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wpforms-lite/)
 * [Active Topics](https://wordpress.org/support/plugin/wpforms-lite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpforms-lite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpforms-lite/reviews/)

## Tags

 * [php](https://wordpress.org/support/topic-tag/php/)
 * [warning](https://wordpress.org/support/topic-tag/warning/)

 * 3 replies
 * 2 participants
 * Last reply from: [Ralden Souza](https://wordpress.org/support/users/rsouzaam/)
 * Last activity: [1 year, 3 months ago](https://wordpress.org/support/topic/undefined-array-key-55/#post-18325527)
 * Status: resolved