Copied! Copy Stacktrace Search Stackoverflow Search Google Error

PHP Noticeyii\base\ErrorException

Trying to get property 'USER_VIEW' of non-object

$_GET = [
    'r' => 'dep/index',
    'depid' => '4',
    'newstypeid' => '2',
    'newsid' => '99',
];