Error

PHP Fatal Erroryii\base\ErrorException

Call to a member function onlyAccess() on null

$_GET = [
    'r' => 'site%2Flogin',
];