Copied! Copy Stacktrace Search Stackoverflow Search Google Error

PHP Noticeyii\base\ErrorException

Trying to get property 'id' of non-object

$_GET = [
    'slug' => 'parliament%E2%80%99s-recommendations-on-the-nuclear-liability-bill-%E2%80%93-why-the-%E2%80%9Cand%E2%80%9D',
    'r' => 'theprsblog/parliament%E2%80%99s-recommendations-on-the-nuclear-liability-bill-%E2%80%93-why-the-%E2%80%9Cand%E2%80%9D',
    'page' => '7',
    'per-page' => '1',
];