Copied! Copy Stacktrace Search Stackoverflow Search Google Error

PHP Noticeyii\base\ErrorException

Trying to get property 'id' of non-object

$_GET = [
    'slug' => 'key-highlights-of-the-recently-launched-saansad-adarsh-gram-yojana',
    'r' => 'theprsblog/key-highlights-of-the-recently-launched-saansad-adarsh-gram-yojana',
    'page' => '1',
    'per-page' => '1',
];