Warning (2) : Undefined array key 0 [in /var/www/clients/client0/web30/web/src/Controller/AppController.php, line 104]
Warning (512) : Unable to emit headers. Headers sent in file=/var/www/clients/client0/web30/web/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php line=36 [in /var/www/clients/client0/web30/web/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 71]
Warning (2) : Cannot modify header information - headers already sent by (output started at /var/www/clients/client0/web30/web/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php:36) [in /var/www/clients/client0/web30/web/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 168]
Warning (2) : Cannot modify header information - headers already sent by (output started at /var/www/clients/client0/web30/web/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php:36) [in /var/www/clients/client0/web30/web/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 197]
Error: explode(): Argument #2 ($string) must be of type string, null given

explode(): Argument #2 ($string) must be of type string, null given 📋

TypeError
Toggle Vendor Stack Frames
            $language $this->request->acceptLanguage()[0];
            $availableLanguages Configure::read('App.availableLocales');
            $lang explode('-'$language);
            if (count($lang) > 1) {
                $lang[1] = strtoupper($lang[1]);
            } elseif (!strpos($language'_')) {
Error in: ROOT/src/Controller/AppController.php, line 108

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