When I use the var_dump to see the result if I call the name of the file input in the controller I get this error:
/app/backend/controllers/WithMeetingTrait.php:84:null
This is the view:
<div class="custom-file">
<input type="file" name="image" class="custom-file-input" id="inputGroupFile01" >
<label class="custom-file-label" for="inputGroupFile01"><?= Yii::t('app', 'Choose file(s)...') ?></label>
</div>
and this is the controller:
exit(var_dump(UploadedFile::getInstanceByName( 'image')));
I also tried to do this:
exit(var_dump($_FILES["image"]));
But the result is:
I don't use a model in this part of project.