Answer the question
In order to leave comments, you need to log in
Why are the script rules not working?
Hello!
There is a Users model. It has two scenarios:
const SCENARIO_NEW = self::SCENARIO_DEFAULT;
const SCENARIO_EDIT = 'edit';
Answer the question
In order to leave comments, you need to log in
www.yiiframework.com/doc-2.0/guide-structure-model... read here and see if everything is so
In Russian, you can read here https://github.com/yiisoft/yii2/blob/master/docs/g...
In general, Yii2 throws out InvalidParamException exception.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question