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 'and sil <> 1 and tur = 'resim' ORDER BY sira ASC' at line 1 in /home/safyuncom/domains/safyun.com/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:91
Stack trace:
#0 /home/safyuncom/domains/safyun.com/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php(91): PDOStatement->execute(NULL)
#1 /home/safyuncom/domains/safyun.com/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Statement.php(168): Doctrine\DBAL\Driver\PDOStatement->execute(NULL)
#2 /home/safyuncom/domains/safyun.com/public_html/include/Database.php(113): Doctrine\DBAL\Statement->execute()
#3 /home/safyuncom/domains/safyun.com/public_html/view/default/sayfa/kurumsal.php(24): Database\Data->sorgu('SELECT * FROM d...')
#4 /home/safyuncom/domains/safyun.com/public_html/include/FrontClass.php(8 in /home/safyuncom/domains/safyun.com/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php on line 90