Forums

WP Survey And Quiz Tool
Fatal Error (7 posts)

  1. silentprincess
    Member
    Posted 9 months ago #

    Hi! When I tried to answer the quiz I created, I got this error whether my answer is correct or wrong:

    Fatal Error: Call to a member function get_results() on a non-object in /home/content/39/8045639/html/wp-content/plugins/wp-survey-and-quiz-tool/lib/Wpsqt/Mail.php on line 62

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

  2. Ollie Armstrong
    Member
    Posted 9 months ago #

    For some reason it seems like the global isn't declared. Add this below line 19 on the referenced file global $wpdb;. Not sure how that slipped though and it usually works for me.

  3. silentprincess
    Member
    Posted 9 months ago #

    hi..thank you, but I'm not sure what will I add..

  4. silentprincess
    Member
    Posted 9 months ago #

    pls help?

  5. Ollie Armstrong
    Member
    Posted 9 months ago #

    Sure, if you replace your lib/Wpsqt/Mail.php with this one.

  6. jflahiff
    Member
    Posted 4 months ago #

    I have a similar problem but it say

    swp-survey-and-quiz-tool/lib/Wpsqt/Mail.php on line 100

    I updated with the mail.php file listed here and it still does it.

    HELP !!!

  7. jflahiff
    Member
    Posted 4 months ago #

    This is line 100

    foreach( $emailList  as $emailAddress ){
    			mail($emailAddress,$emailSubject,$emailMessage,$headers);

Reply

You must log in to post.

About this Plugin

About this Topic