Argument 1 passed to yiidreamteam\upload\FileUploadBehavior::getInstance() must be an instance of yii\db\ActiveRecord
timmy78 opened this issue · 1 comments
timmy78 commented
Hi
My model extends a custom ActiveRecord that extends BaseActiveRecord.
Or the extension only accepts a model from ActiveRecord :
Line 213 : public static function getInstance(ActiveRecord $model, $attribute)
Is it possible to change it for BaseActiveRecord ?
Thanks !
BioSin commented
Hello implemented in 1.2.1 version