Array
(
    [sql] =>  SELECT count(id) as count, max(price) as max, min(price) as min FROM catalog_products AS c  WHERE 1  AND c.cat_id IN (924) AND c.brand_id IN ()  ORDER BY c.sort ASC 
    [info] => Array
        (
            [0] => 42000
            [1] => 1064
            [2] => 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 ')  ORDER BY c.sort ASC' at line 1
        )

)