Copied!Copy StacktraceSearch StackoverflowSearch GoogleError

PHP Noticeyii\base\ErrorException

Trying to get property 'name' of non-object

$_GET = [
    'id' => '42',
];

$_SESSION = [
    '__flash' => [],
    '__returnUrl' => [
        '/orders',
    ],
];