Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'WHERE subject LIKE 'El-Chorro'' at line 1 in /app/kissmvc_core.php:364
Stack trace:
#0 /app/kissmvc_core.php(364): PDOStatement->execute()
#1 /app/controllers/el-chorro/gallery.php(8): KISS_Model->retrieve_many()
#2 /app/kissmvc_core.php(85): _gallery()
#3 /app/kissmvc_core.php(45): KISS_Controller->route_request()
#4 /index.php(113): KISS_Controller->__construct()
#5 {main}
thrown in /app/kissmvc_core.php on line 364