Notice (8): Undefined offset: 0 [APP/Controller/BusinessController.php, line 46]
Error: Database Error

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 ')' 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.

SQL Query:

SELECT * FROM categories WHERE id IN ()

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

toggle vendor stack frames