• Getting these errors:

    Warning: Invalid argument supplied for foreach() in /home/xxxx/public_html/wp-content/plugins/indypress/indypress/classes/form_settings.php on line 13

    Warning: Cannot modify header information – headers already sent by (output started at /home/xxxx/public_html/wp-content/plugins/indypress/indypress/classes/form_settings.php:13) in /home/xxxx/public_html/wp-includes/option.php on line 563

    Warning: Cannot modify header information – headers already sent by (output started at /home/xxxx/public_html/wp-content/plugins/indypress/indypress/classes/form_settings.php:13) in /home/xxxx/public_html/wp-includes/option.php on line 564

    https://www.ads-software.com/extend/plugins/indypress/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Same here.

    Warning: Invalid argument supplied for foreach() in /home/xxx/public_html/xxx/wp-content/plugins/indypress/indypress/classes/form_settings.php on line 13

    And here.

    Still not fixed … anyway, I guess authors forgot to wrap it up with an “if” clause at line #13…

    if( get_option( 'indypress_formlist' ) ) { // here's the hack ...
        foreach(get_option( 'indypress_formlist' ) as $slug) { //we don't care about forms added by plugins
    ...
        }
    } // end if clause

    The problem relies in fact that foreach loop always throws an error if first param evaluates to null.

    Hopefully it helps, great plugin!

    Sim2K

    (@sim2k)

    Does that if clause fix the problem ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: IndyPress] Not working for 3.4.1’ is closed to new replies.