Warning (2) : compact() [<a href='https://secure.php.net/manual/en/function.compact.php'>function.compact.php</a>]: Undefined variable $team [in /home/ihcstars/www/ihcstars.ch/src/Controller/StarsController.php, line 600]
Warning (512) : Unable to emit headers. Headers sent in file=/home/ihcstars/www/ihcstars.ch/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php line=36 [in /home/ihcstars/www/ihcstars.ch/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 71]
Warning (2) : Cannot modify header information - headers already sent by (output started at /home/ihcstars/www/ihcstars.ch/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php:36) [in /home/ihcstars/www/ihcstars.ch/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 164]
Warning (2) : Cannot modify header information - headers already sent by (output started at /home/ihcstars/www/ihcstars.ch/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php:36) [in /home/ihcstars/www/ihcstars.ch/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 197]
Error: strtolower(): Argument #1 ($string) must be of type string, null given

strtolower(): Argument #1 ($string) must be of type string, null given 📋

TypeError
Toggle Vendor Stack Frames
        if (isset($url['prefix']) && $url['prefix'] !== false) {
            $prefix strtolower($url['prefix']);
        }
        $controller = isset($url['controller']) ? strtolower($url['controller']) : null;
        $action strtolower($url['action']);
        $names = [
            "{$controller}:{$action}",
            "{$controller}:_action",
Error in: ROOT/vendor/cakephp/cakephp/src/Routing/RouteCollection.php, line 218

If you want to customize this error message, create templates/Error/error500.php