Error

PHP Noticeyii\base\ErrorException

Undefined property: stdClass::$primaryKey

$_GET = [
    'slug' => '201718',
];