Error

PHP Fatal Erroryii\base\ErrorException

Call to a member function getAttachFiles() on null

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