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

Call to a member function allowUnauthenticated() on null 📋

Error
Error in: ROOT/src/Controller/PagesController.php, line 39
APP/Controller/PagesController.php at line 39 (edit)
    {
        parent::initialize();
        
        // Consenti l'accesso senza autenticazione all'azione 'display'
        $this->Authentication->allowUnauthenticated(['display']);
    }
    /**
     * Displays a view
     *

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