Error

PHP Fatal Erroryii\base\ErrorException

Call to a member function getImage() on null

$_GET = [
    'name' => 'mag',
];