Notice (1024) : Undefined property: PagesController::$Authentication in /var/www/src/Controller/PagesController.php on line 38 [in /var/www/vendor/cakephp/cakephp/src/Controller/Controller.php, line 337]
Warning (512) : Unable to emit headers. Headers sent in file=/var/www/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php line=36 [in /var/www/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 71]
Warning (2) : Cannot modify header information - headers already sent by (output started at /var/www/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php:36) [in /var/www/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 168]
Warning (2) : Cannot modify header information - headers already sent by (output started at /var/www/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php:36) [in /var/www/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 197]
Error: Call to a member function allowUnauthenticated() on null

Call to a member function allowUnauthenticated() on null 📋

Error
Toggle Vendor Stack Frames
    public function beforeFilter(\Cake\Event\EventInterface $event)
    {
        parent::beforeFilter($event);
        $this->Authentication->allowUnauthenticated(["home"]);
    }
    public function home(string ...$path): ?Response
    {
Error in: ROOT/src/Controller/PagesController.php, line 38

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