Fatal error: Uncaught Dibi\DriverException: 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 P.price > 0 AND P.quantity > 0 AND P.hidden = 0' at line 1 in /www/doc/www.hokejshop.net/home/system/vendor/dibi/dibi/src/Dibi/Drivers/MySqliDriver.php:179 Stack trace: #0 /www/doc/www.hokejshop.net/home/system/vendor/dibi/dibi/src/Dibi/Drivers/MySqliDriver.php(156): Dibi\Drivers\MySqliDriver::createException('You have an err...', 1064, 'SELECT MAX(P.pr...') #1 /www/doc/www.hokejshop.net/home/system/vendor/dibi/dibi/src/Dibi/Connection.php(316): Dibi\Drivers\MySqliDriver->query('SELECT MAX(P.pr...') #2 /www/doc/www.hokejshop.net/home/system/vendor/dibi/dibi/src/Dibi/Connection.php(234): Dibi\Connection->nativeQuery('SELECT MAX(P.pr...') #3 /www/doc/www.hokejshop.net/home/system/vendor/dibi/dibi/src/Dibi/dibi.php(250): Dibi\Connection->query(Array) #4 /www/doc/www.hokejshop.net/home/app/data/category.php(568): dibi::fetchSingle(Array, NUL in /www/doc/www.hokejshop.net/home/system/vendor/dibi/dibi/src/Dibi/Drivers/MySqliDriver.php on line 179