Fatal error: Uncaught exception 'Exception' with message 'MySQL 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' in D:\web\xgvr\source\include\cls_db.php:372
Stack trace:
#0 D:\web\xgvr\source\include\cls_db.php(350): MyPDO->outputError('You have an err...')
#1 D:\web\xgvr\source\include\cls_db.php(59): MyPDO->getPDOError()
#2 D:\web\xgvr\template\default\module\pics.php(86): MyPDO->query('select avatar f...')
#3 D:\web\xgvr\pics.php(13): require('D:\\web\\xgvr\\tem...')
#4 {main}
thrown in D:\web\xgvr\source\include\cls_db.php on line 372