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 /usr/www/users/oneyav/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:1012 Stack trace: #0 /usr/www/users/oneyav/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(1012): PDO->query('SELECT `ordernu...') #1 /usr/www/users/oneyav/custom/plugins/BotscCustomerGroupVariationExclude/Subscriber/CustomerGroupVariationExclude.php(172): Doctrine\DBAL\Connection->query('SELECT `ordernu...') #2 /usr/www/users/oneyav/custom/plugins/BotscCustomerGroupVariationExclude/Subscriber/CustomerGroupVariationExclude.php(87): BotscCustomerGroupVariationExclude\Subscriber\CustomerGroupVariationExclude->_getArticleDetailsByArticle(Array) #3 /usr/www/users/oneyav/engine/Library/Enlight/Event/Handler/Default.php(87): BotscCustomerGroupVariationExclude\Subscriber\CustomerGroupVariationExclude->onPostDis in /usr/www/users/oneyav/vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php on line 179