Failed to prepare query!
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 '%s AND m.orientation = ? AND m.status = 1' at line 2
Query: SELECT COUNT(*) AS total_models
FROM model AS m WHERE m.name LIKE %s AND m.orientation = '%madres putas%' AND m.status = 1