Error

PHP Noticeyii\base\ErrorException

Trying to get property of non-object

$_GET = [
    'url' => 'fleshka-vizitka-ap-u504a-belaya-pod-nanesenie-logotipa',
    'id' => '277',
];