Warning (2): Declaration of app\Controller\UsersController::beforeFilter(app\Controller\Event $event) should be compatible with Cake\Controller\Controller::beforeFilter(Cake\Event\EventInterface $event) [APP/Controller/UsersController.php, line 11]
Warning (512): Support for loading components using $components property is removed. Use $this->loadComponent() instead in initialize(). - [internal], line: ?? [CORE/src/Core/functions.php, line 271]
Warning (512): Unable to emit headers. Headers sent in file=/var/www/everum/vendor/cakephp/cakephp/src/Error/Debugger.php line=841 [CORE/src/Http/ResponseEmitter.php, line 71]
Warning (2): Cannot modify header information - headers already sent by (output started at /var/www/everum/vendor/cakephp/cakephp/src/Error/Debugger.php:841) [CORE/src/Http/ResponseEmitter.php, line 168]
Warning (2): Cannot modify header information - headers already sent by (output started at /var/www/everum/vendor/cakephp/cakephp/src/Error/Debugger.php:841) [CORE/src/Http/ResponseEmitter.php, line 201]
Error: Argument 1 passed to app\Controller\UsersController::beforeFilter() must be an instance of app\Controller\Event, instance of Cake\Event\Event given, called in /var/www/everum/vendor/cakephp/cakephp/src/Event/EventManager.php on line 309

Argument 1 passed to app\Controller\UsersController::beforeFilter() must be an instance of app\Controller\Event, instance of Cake\Event\Event given, called in /var/www/everum/vendor/cakephp/cakephp/src/Event/EventManager.php on line 309 📋

TypeError
Toggle Vendor Stack Frames
/var/www/everum/src/Controller/UsersController.php Toggle Arguments
class UsersController extends AppController {
    public $components = array('Paginator''Session');
    public function beforeFilter(Event $event) {
        parent::beforeFilter($event);
/**        $this->Auth->allow(); */
        $this->Auth->allow('initDB');
        $this->admin_title_for_layout __('Интерфейс администратора: Пользователи системы');
Error in: ROOT/src/Controller/UsersController.php, line 15

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