Database Error:You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1

Last Query:SELECT P1Q2 FROM responses WHERE UserID = -

#0 Database->notify() called at [/home/carorg/public_html/includes/class.database.php:71]
#1 Database->query(SELECT P1Q2 FROM responses WHERE UserID = -) called at [/home/carorg/public_html/common.top.php:222]
#2 require(/home/carorg/public_html/common.top.php) called at [/home/carorg/public_html/content.php:20]