Forums

WP Survey And Quiz Tool
user.php Warning message at test completion (3 posts)

  1. allstone
    Member
    Posted 1 year ago #

    Hi, I'm getting this error when I complete a quiz:

    Warning: Missing argument 2 for get_user_meta(), called in /path/to/wp-content/plugins/wp-survey-and-quiz-tool/includes/site/shared.php on line 169 and defined in /path/to/wp-includes/user.php on line 402

    I note too that in the email template where I'm testing all of the tokens, that there are two that don't come through (related to above error?), those being:

    1. %SCORE%
    2. %USERMETA_{METANAME}%

    This error doesn't show up when I use the custom form on the quiz.

  2. allstone
    Member
    Posted 1 year ago #

    I take that back, I'm still getting this error when using the custom form.

    Currently using version 1.3.16.

  3. Backie
    Member
    Posted 1 year ago #

    %USERMETA_{METANAME}% << is that exactly what you are using? If so that's the cause. {METANAME} is to be replaced with the name of the user meta. If not what is the user meta you are using?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic