Notice (8): Undefined index: season_id [APP/Controller/PlayerMatchesController.php, line 44]
Notice (8): Undefined index: match_date [APP/Controller/PlayerMatchesController.php, line 45]
Notice (8): Undefined index: home_team_id [APP/Controller/PlayerMatchesController.php, line 46]
Notice (8): Undefined index: guest_team_id [APP/Controller/PlayerMatchesController.php, line 47]
Notice (8): Trying to access array offset on value of type null [APP/Model/Table/SeasonsTable.php, line 145]
Notice (8): Trying to access array offset on value of type null [APP/Model/Table/SeasonsTable.php, line 146]
Warning (512): Unable to emit headers. Headers sent in file=/var/www/pool_league/vendor/cakephp/cakephp/src/Error/Debugger.php line=855 [CORE/src/Http/ResponseEmitter.php, line 53]
Warning (2): Cannot modify header information - headers already sent by (output started at /var/www/pool_league/vendor/cakephp/cakephp/src/Error/Debugger.php:855) [CORE/src/Http/ResponseEmitter.php, line 154]
Warning (2): Cannot modify header information - headers already sent by (output started at /var/www/pool_league/vendor/cakephp/cakephp/src/Error/Debugger.php:855) [CORE/src/Http/ResponseEmitter.php, line 183]
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 'AND match_date = "" AND home_team_id = AND guest_team_id =' at line 11

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