• Hello,

    i am using the plugin with a custom argument.
    My SQL code is:
    SELECT date,value FROM wp_userperf WHERE user={arg1}

    and my shortcode is:
    [gvn_schart_2 id=”679″ arg1=”username”]

    If enter this query in the MySQL console i get the correct table, but displaying the shortcode in wordpress gives me:
    WordPress database error: [Unknown column ‘username’ in ‘where clause’]
    SELECT date,value FROM wp_userperf WHERE user=username

    I tried different combinations, but i dont get any chart. What’s the problem here?

    Best regards

  • The topic ‘WordPress database error’ is closed to new replies.