• Resolved sekiphp

    (@sekiphp)


    I got error message: Warning: Invalid argument supplied for foreach() in xxx\wp-content\plugins\wp-survey-and-poll\wordpress-survey-and-poll.php on line 229

    I fixed it by if statement:

                    if (is_array($cookie_wpsap)) {
    				foreach( $cookie_wpsap as $cwp ) {
    					if( preg_match( '/[^A-Za-z0-9]/', $cwp ) ) {
    						$illegal_char = true;
    					}
    				}

    Can you add this fix to official repository?

    Thanks!

    • This topic was modified 5 years, 10 months ago by sekiphp.
Viewing 1 replies (of 1 total)
  • Plugin Author pantherius

    (@pantherius)

    Hello,

    Thank you for letting me know.
    Yes, it will be added with a minor change in the next days.

    Regards,
    Pantherius

Viewing 1 replies (of 1 total)
  • The topic ‘Invalid argument supplied for foreach()’ is closed to new replies.