• Resolved digo

    (@digo)


    Hello!

    How can I add more questions to a poll?

    Thanks
    Digo

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi, Thanks for your query.

    Let me tell you about the thing you are looking for. One poll is actually a single question. If you want to create group of questions, you can try the quiz addon or survey addon, both has the feature.

    Let me know if you have any other questions. Thank you

    Hi,

    I have purchased the quizz addon plugin and installed along with poll. when i create a quizz or poll, it is creating error in the front page:

    Fatal error: Uncaught Error: Call to a member function get_poll_type() on bool in C:\xampp\htdocs\kricketwicket\wp-content\plugins\wp-poll-quiz\includes\classes\class-hooks.php:113 Stack trace: #0 C:\xampp\htdocs\kricketwicket\wp-includes\class-wp-hook.php(288): WPPQUIZ_Hooks->display_quiz_question(‘\t\t<div data-ele…’) #1 C:\xampp\htdocs\kricketwicket\wp-includes\plugin.php(206): WP_Hook->apply_filters(‘\t\t<div data-ele…’, Array) #2 C:\xampp\htdocs\kricketwicket\wp-includes\post-template.php(253): apply_filters(‘the_content’, ‘<img width=”300…’) #3 C:\xampp\htdocs\kricketwicket\wp-content\themes\oceanwp\partials\page\article.php(15): the_content() #4 C:\xampp\htdocs\kricketwicket\wp-includes\template.php(724): require(‘C:\\xampp\\htdocs…’) #5 C:\xampp\htdocs\kricketwicket\wp-includes\template.php(671): load_template(‘C:\\xampp\\htdocs…’, false) #6 C:\xampp\htdocs\kricketwicket\wp-includes\general-template.php(168): locate_template(Array, true, false) #7 C:\xampp\htdocs\kricketwicket\wp-content\themes\oceanwp\p in C:\xampp\htdocs\kricketwicket\wp-content\plugins\wp-poll-quiz\includes\classes\class-hooks.php on line 113

    I edited the C:\xampp\htdocs\kricketwicket\wp-content\plugins\wp-poll-quiz\includes\classes\class-hooks.php and commented the lines from 111 to 120 as:

    // $poll = wpp_get_poll();
    // if ( $poll->get_poll_type() == ‘quiz’ ) {
    // ob_start();
    // wpp_get_template( ‘single-question.php’ );
    // return ob_get_clean();
    // }

    then the error disappears. What is the problem in this?

    Should I keep these line for the smooth functioning of the plugin and if I do so how can I rectifiy the error?

    please help me on this as soon as possible.

    Thank you.
    Shobin.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘More questions in one poll?’ is closed to new replies.