Error in SQL query: 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 'MCP.visible ="1" ORDER BY MCP.availability DESC, MCP.name ASC LIMIT 0, 7' at line 9
SELECT SQL_CALC_FOUND_ROWS MCP.id as id, MCP.mcid as mcid, MCP.spid as spid, MCP.name as name, MCP.availability as availability, MCP.alias as alias FROM auto_mod_catalog_product MCP MCP.visible ="1" ORDER BY MCP.availability DESC, MCP.name ASC