Notice (1024) : Undefined property `UsersController::$Auth` in `/home/openelevzx/www/app/src/Controller/UsersController.php` on line 51 [in /home/openelevzx/www/app/vendor/cakephp/cakephp/src/Controller/Controller.php, line 311]
Warning (512) : Unable to emit headers. Headers sent in file=/home/openelevzx/www/app/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php line=37 [in /home/openelevzx/www/app/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 65]
Warning (2) : Cannot modify header information - headers already sent by (output started at /home/openelevzx/www/app/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php:37) [in /home/openelevzx/www/app/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 159]
Warning (2) : Cannot modify header information - headers already sent by (output started at /home/openelevzx/www/app/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php:37) [in /home/openelevzx/www/app/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 192]
Error: Call to a member function logout() on null

Call to a member function logout() on null 📋

Error
Error in: APP/Controller/UsersController.php, line 51
APP/Controller/UsersController.php at line 51 (edit)
        }
    public function logout()
        {
            return $this->redirect($this->Auth->logout());
        }

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