Title: Warning: Undefined array key
Last modified: August 9, 2023

---

# Warning: Undefined array key

 *  Resolved [ninjaformslover](https://wordpress.org/support/users/ninjaformslover/)
 * (@ninjaformslover)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/warning-undefined-array-key-18/)
 * Whenever someone submits a form which includes a divider, I get warnings in my
   log.
 * It says: Warning: Undefined array key “hr_XXXXXXXXXXXX”
 * When I remove all dividers from the form, the warning disappears.
 * It is caused in /wp-content/plugins/ninja-forms-style/layouts/ninja-forms-layouts.
   php in line 202. I can find the hr_XXX-key on the rendered form, but it is missing
   in the submitted form data, which makes sense, because its nothing which is containing
   data. – Maybe thats the reason it cant be found?
 * I really want to use dividers, so it would be really cool if you could somehow
   fix it ❤️
 * Website is using WP 6.1.3 and PHP 8
 * Plugin versions: Ninja Forms 3.6.28 and Ninja Forms – Layout & Styles 3.0.29

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

 *  [Shaylee](https://wordpress.org/support/users/shayleehansen30/)
 * (@shayleehansen30)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/warning-undefined-array-key-18/#post-16960474)
 * Hi [ninjaformslover](https://wordpress.org/support/users/ninjaformslover/),
 * Thank you for bringing this matter to our attention. We sincerely apologize for
   any inconvenience caused by the warnings associated with dividers in your form
   submissions.
 * To assist you in resolving this issue promptly, could you kindly reach out to
   our dedicated support team at [https://ninjaforms.com/contact](https://ninjaforms.com/contact)?
   Your message will help us track the problem efficiently and ensure that you receive
   the necessary assistance. Your feedback is crucial to us, and we’re committed
   to ensuring a smooth experience for you.
 * We appreciate your understanding and cooperation. Please don’t hesitate to contact
   us if you have any further questions or concerns. Thank you for choosing Ninja
   Forms.
 *  Thread Starter [ninjaformslover](https://wordpress.org/support/users/ninjaformslover/)
 * (@ninjaformslover)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/warning-undefined-array-key-18/#post-16970399)
 * Hey Shaylee,
 * I dont need personal support, so I wont contact the support team. Please just
   inform your dev team about it and fix it in a future release, since every user
   of Layout & Styles 3.0.29 will get those warnings if dividers are used in a form.
 * Thank you!

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

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

 * ![](https://ps.w.org/ninja-forms/assets/icon-256x256.png?rev=1649747)
 * [Ninja Forms - The Contact Form Builder That Grows With You](https://wordpress.org/plugins/ninja-forms/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ninja-forms/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ninja-forms/)
 * [Active Topics](https://wordpress.org/support/plugin/ninja-forms/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ninja-forms/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ninja-forms/reviews/)

## Tags

 * [array key](https://wordpress.org/support/topic-tag/array-key/)
 * [forms](https://wordpress.org/support/topic-tag/forms/)
 * [ninja](https://wordpress.org/support/topic-tag/ninja/)
 * [undefined](https://wordpress.org/support/topic-tag/undefined/)
 * [warning](https://wordpress.org/support/topic-tag/warning/)

 * 2 replies
 * 2 participants
 * Last reply from: [ninjaformslover](https://wordpress.org/support/users/ninjaformslover/)
 * Last activity: [2 years, 8 months ago](https://wordpress.org/support/topic/warning-undefined-array-key-18/#post-16970399)
 * Status: resolved