I have declared a method:
<?php $form=$this->beginWidget(‘CActiveForm’, array(
‘id’=>‘students-form’,
‘enableAjaxValidation’=>false,
‘htmlOptions’=>array(‘enctype’=>‘multipart/form-data’),
)); ?>
but it still outputs Calling unknown method: yii\web\View::beginWidget().
What Might be the issue?