fubralimited/WP-Survey-And-Quiz-Tool — Issue #81: Invalid Argument Supplied and Division by Zero Error
Author: suvosaha
Created: 2012-01-08 05:37:05+00:00
State: open

I'm using your plugin for a while now. but for yesterday I have found a bug in your pugin. Let me explain my situation.

WP: Version 3.3
WPSQT: Version 2.8.3

I'm conducting a Free exams on my website using your plugin. Quiz type questions. There are total 50 questions divided into 5 sections and each section contains 10 questions each.

Warning I've get after submission of 2nd Section - "Invalid argument supplied for foreach() in /home/suvosaha/public_html/ibpsportal.com/wp-content/plugins/wp-survey-and-quiz-tool/lib/Wpsqt/Shortcode.php on line 293"

When this warning triggers, user getting a series of error message after submit the quiz.

I've noticed that this problem is specially happening in Chrome browser.

http://www.ibpsportal.com/wp-content/uploads/2012/01/error1.png
http://www.ibpsportal.com/wp-content/uploads/2012/01/error2_final_page.png

When i've tried to see the results of this submitted quiz. It's showing 0/10 even though the person attempted 50/50 questions.

Hope to get a quick solution.