;

Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 in /home/karinkap/public_html/softybay.com/models/functions.php:301 Stack trace: #0 /home/karinkap/public_html/softybay.com/models/functions.php(301): PDO->query('SELECT img FROM...') #1 /home/karinkap/public_html/softybay.com/views/modules/pages/public-topic.php(77): getUserImage(NULL) #2 /home/karinkap/public_html/softybay.com/views/template.php(157): include('/home/karinkap/...') #3 /home/karinkap/public_html/softybay.com/controllers/templates.controller.php(6): include('/home/karinkap/...') #4 /home/karinkap/public_html/softybay.com/index.php(15): TemplateController::ctrTemplate() #5 {main} thrown in /home/karinkap/public_html/softybay.com/models/functions.php on line 301