Using kartik FileInput I am doing:
$webFile = UploadedFile::getInstance($model, 'webFile');
$tmp = explode(".", $webFile->name);
$model->Ext = end($tmp);
and receiving the error from the 2nd line
Trying to get property ‘name’ of non-object
what am I missing?