Database Error PDOException

Documentation API

Error: 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 'asc LIMIT 20 OFFSET 20' at line 1

If you are using SQL keywords as table column names, you can enable identifier quoting for your database connection in config/app.php.

If you want to customize this error message, create src/Template/Error/pdo_error.ctp

toggle vendor stack frames