Quantcast
Channel: WordPress.org Forums » [Forminator Forms – Contact Form, Payment Form & Custom Form Builder] Support
Viewing all articles
Browse latest Browse all 2064

Wranings Showing when using add_form() method

$
0
0

Replies: 1

I was trying to create forms on
1. Theme switch → if Forminator is active, run create_forms()
2. Forminator activation → if Theme is active, run create_forms()
both triggers works, but some warnings showing.
Warning: Undefined array key “fields”….
Warning: foreach() argument must be of type array|object, null given in….

It would be helpfull if you could suggest the correct hook / trigger to do this function in action withouts warnings.

  • This topic was modified 20 hours, 29 minutes ago by Arun G.

Viewing all articles
Browse latest Browse all 2064

Trending Articles