Copied! Copy Stacktrace Search Stackoverflow Search Google Error

PHP Noticeyii\base\ErrorException

Trying to get property 'name' of non-object

$_GET = [
    'slug' => 'qur-on-musobaqasida-ishtirok-etish-uchun-2-mingdan-ortiq-kishi-hujjat-topshirdi',
];

$_SESSION = [
    '__flash' => [],
    '__returnUrl' => '/post/qur-on-musobaqasida-ishtirok-etish-uchun-2-mingdan-ortiq-kishi-hujjat-topshirdi',
];