Support » Plugin: Caldera Forms - More Than Contact Forms » Invalid argument supplied for foreach() in /classes/forms.php on line 421

  • Resolved fbn059

    (@fbn059)



    Hey there, I’m getting a ‘Invalid argument supplied for foreach() in /classes/forms.php on line 421’ warning on a fresh WordPress 4.9.6 install, running Version 1.7.0 of the Caldera Forms plugin. (WP_DEBUG is turned on)

    I’ve fixed it temporarily by wrapping the foreach() in a if( !empty( $forms ) ) condition, but I’m not sure if this would affect the plugin in any way. A fix would be appreciated, thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.