Warning (2): Missing argument 1 for App\Controller\DepartmentsController::view() [APP/Controller/DepartmentsController.php, line 14]
Notice (8): Undefined variable: department [APP/Controller/DepartmentsController.php, line 15]
Error: Record not found in table "content_blocks" with primary key [NULL]

Record not found in table "content_blocks" with primary key [NULL] Cake\Datasource\Exception\InvalidPrimaryKeyException

Documentation API

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

toggle vendor stack frames