ERROR:
Page:


File:
/var/www/vhosts/promarmatura21.ru/httpdocs/plugins/product.php

Line:
67

Additional:


Query:
SELECT c.Id, c.Name
FROM catalog c 
WHERE c.Category_id='' AND (c.Name>'' or (c.Name='' AND c.Id>))
ORDER BY c.Name, c.Id
LIMIT 0,1


Error:
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.Name, c.Id LIMIT 0,1' at line 3