Database Error PDOException

Documentation API

Error: SQLSTATE[HY000]: General error: 1364 Field 'user_id' doesn't have a default value

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