Copied! Copy Stacktrace Search Stackoverflow Search Google Error

PHP Noticeyii\base\ErrorException

Trying to get property 'id' of non-object

$_GET = [
    'slug' => 'status-drinking-water-and-sanitation-rural-india',
    'r' => 'theprsblog/status-drinking-water-and-sanitation-rural-india',
    'page' => '1',
];