Fatal error: Uncaught mysqli_sql_exception: 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 ' ) <= '40'
AND shop.`shop_user_valid` = 1
AND shop.`shop_active` = 1
AND s...' at line 61 in /home/dem0y0growc3r12/public_html/library/core/Database.class.php:0
Stack trace:
#0 /home/dem0y0growc3r12/public_html/library/core/Database.class.php(0): mysqli->prepare('SELECT MIN(thep...')
#1 /home/dem0y0growc3r12/public_html/library/core/Database.class.php(0): Database->prepareStatement('SELECT MIN(thep...')
#2 /home/dem0y0growc3r12/public_html/application/controllers/BrandsController.php(206): Database->query('SELECT MIN(thep...')
#3 /home/dem0y0growc3r12/public_html/library/core/FatApplication.class.php(0): BrandsController->view(256)
#4 /home/dem0y0growc3r12/public_html/public/index.php(26): FatApplication->callHook()
#5 {main}
thrown in /home/dem0y0growc3r12/public_html/library/core/Database.class.php on line 0