Copied! Copy Stacktrace Search Stackoverflow Search Google Error

PHP Noticeyii\base\ErrorException

Trying to get property 'name' of non-object

$_GET = [
    'slug' => 'o-ztransgaz-1-apreldan-tabiiy-gaz-narxi-oshishini-ma-lum-qildi',
];

$_SESSION = [
    '__flash' => [],
    '__returnUrl' => '/post/o-ztransgaz-1-apreldan-tabiiy-gaz-narxi-oshishini-ma-lum-qildi',
];