Warning: Undefined array key
-
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
- The topic ‘Warning: Undefined array key’ is closed to new replies.