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 '-mexicanos WHERE id='12' AND url_amigable LIKE 'corundas-de-tequesquite'' at line 1