Error

PHP Noticeyii\base\ErrorException

Trying to get property of non-object

$_GET = [
    'r' => 'site/book-travel',
    'code' => '855-2022',
    'name' => 'SJ. MAKEDONIJA I GRČKA-sj-makedonija-i-grcka',
];