Copied! Copy Stacktrace Search Stackoverflow Search Google Error

PHP Noticeyii\base\ErrorException

Trying to get property 'id' of non-object

$_GET = [
    'slug' => 'maharashtra-government%E2%80%99s-response-to-covid-19-till-april-20-2020',
    'r' => 'theprsblog/maharashtra-government%E2%80%99s-response-to-covid-19-till-april-20-2020',
    'page' => '5',
    'per-page' => '1',
];