WordPress.org

Ready to get started?Download WordPress

Forums

WP Survey And Quiz Tool
Error on page after submission (1 post)

  1. bretjg
    Member
    Posted 1 year ago #

    Hi,

    Thanks for the great plugin, works great! I am having one issue with an error being thrown on the final page after submission for a multiple question survey:

    Warning: Illegal offset type in /htdocs/www/wp-content/plugins/wp-survey-and-quiz-tool/lib/Wpsqt/Shortcode.php on line 750 Warning: Illegal offset type in /htdocs/www/wp-content/plugins/wp-survey-and-quiz-tool/lib/Wpsqt/Shortcode.php on line 750

    750:

    if (isset($cachedSections[$sectionKey]['questions'][$question['id']]['type']) && $cachedSections[$sectionKey]['questions'][$question['id']]['type'] != "Multiple" && isset($cachedSections[$sectionKey]['questions'][$question['id']]['answers'][$givenAnswer]["count"]))
    					$cachedSections[$sectionKey]['questions'][$question['id']]['answers'][$givenAnswer]["count"]++;

    The site is 3.4.2 and the plugin in 2.12.

    Any help would be appreciated!

    http://wordpress.org/extend/plugins/wp-survey-and-quiz-tool/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.