Fatal error: Uncaught exception 'PDOException' with message '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/unatyag1/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:104
Stack trace:
#0 /home/unatyag1/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(104): PDO->query('SELECT resim FR...')
#1 /home/unatyag1/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(954): Doctrine\DBAL\Driver\PDOConnection->query('SELECT resim FR...')
#2 /home/unatyag1/public_html/include/Database.php(62): Doctrine\DBAL\Connection->query('SELECT resim FR...')
#3 /home/unatyag1/public_html/view/default/sayfa/urun.php(41): Database\Data->tekSorgu('SELECT resim FR...')
#4 /home/unatyag1/public_html/include/FrontClass.php(375): include('/home/unatyag1/...')
#5 /home/unatyag1/public_html/Loader.php(158): FrontClass->_includ in /home/unatyag1/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php on line 90