Database Error

Error: SQLSTATE[42000]: Syntax error or access violation: 1064 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 '' at line 1

SQL Query: SELECT * FROM images JOIN images_tags ON images.id=images_tags.image_id AND images_tags.tag_id=

Notice: If you want to customize this error message, create app/View/Errors/pdo_error.ctp

Stack Trace