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 MariaDB server version for the right syntax to use near 'AND product_shop.`active` = 1) AND ( AND product_shop.`visibility` IN ("both"...' at line 6 in /home/mostersskur/public_html/classes/db/DbPDO.php:175
Stack trace:
#0 /home/mostersskur/public_html/classes/db/DbPDO.php(175): PDO->query('SELECT COUNT(DI...')
#1 /home/mostersskur/public_html/classes/db/Db.php(451): DbPDOCore->_query('SELECT COUNT(DI...')
#2 /home/mostersskur/public_html/classes/db/Db.php(709): DbCore->query('SELECT COUNT(DI...')
#3 /home/mostersskur/public_html/classes/db/Db.php(739): DbCore->getRow('SELECT COUNT(DI...', true)
#4 /home/mostersskur/public_html/classes/Supplier.php(372): DbCore->getValue('SELECT COUNT(DI...')
#5 /home/mostersskur/public_html/classes/controller/FrontController.php(490): SupplierCore::getProducts(NULL, NULL, 1, NULL, 'name', 'ASC', true)
#6 /home/mostersskur/public_html/classes/controller/FrontController.php(379): FrontControllerCore->getRelPrevNext('supplier', 0)
#7 /home/mostersskur/public_html/classes/controller/FrontController.php(277): FrontControllerCore->getSeoFields()
#8 /home/mostersskur/public_html/controllers/front/SupplierController.php(113): FrontControllerCore->initContent()
#9 /home/mostersskur/public_html/classes/controller/Controller.php(366): SupplierControllerCore->initContent()
#10 /home/mostersskur/public_html/modules/n45xspeed/overwrite/Controller.php(213): ControllerCore->run()
#11 /home/mostersskur/public_html/override/classes/controller/Controller.php(42): include_once('/home/mosterssk...')
#12 /home/mostersskur/public_html/classes/Dispatcher.php(769): Controller->run()
#13 /home/mostersskur/public_html/index.php(28): DispatcherCore->dispatch()
#14 {main}
thrown in /home/mostersskur/public_html/classes/db/DbPDO.php on line 175