2018-12-11 01:21:10 MySQL error:
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 'and cat_vid = 1 ) ORDER BY isnull ASC, cat_nomer ASC LIMIT 0, 12' at line 1

Query:
SELECT * , IF(cat_nomer IS NULL or cat_nomer='', 1, 0) AS isnull FROM catalog WHERE (cat_razdel =  and cat_vid = 1 ) ORDER BY isnull ASC, cat_nomer ASC LIMIT 0, 12


File: /var/www/us_veloshop/data/www/velo-shop.net/cms/module/catalog.php
Line: 745