Wranings Showing when using add_form() method
-
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.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.