Error

PHP Noticeyii\base\ErrorException

Trying to get property of non-object

$_GET = [
    'url' => 'fleshka-391-pod-nanesenie-logotipa-optom',
    'id' => '562',
];