The property scenario does not seem to exist. Did you mean _scenario?
An attempt at access to an undefined property has been detected. This may either be a typographical error
or the property has been renamed but there are still references to its old name.
If you really want to allow access to undefined properties, you can define magic methods
to allow access. See the php core documentation on Overloading.
Loading history...
33
$request = Yii::$app->request;
34
35
if ($request->isAjax && Yii::$app->request->isPost) {
36
37
/// to be redone with native Action collection
38
$this->model = (new Collection(['model' => $this->model]))->load()->first;
An attempt at access to an undefined property has been detected. This may either be a typographical error or the property has been renamed but there are still references to its old name.
If you really want to allow access to undefined properties, you can define magic methods to allow access. See the php core documentation on Overloading.