We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scenario:
table = 'app_file', fields:'id',name_id,'path'
Now i added in the Model File not FileBase
/** * @var the file */ public $file; /** * file to upload * @inheritdoc */ public function rules() { return array_merge(parent::rules(),[ ['file', 'file', 'types' => 'jpg,png,gif,mp4,pdf', 'skipOnEmpty' => false], ]); }
PHP Notice 'yii\base\ErrorException' with message 'Undefined index: file'
because its not in tableShema its only a public var
The text was updated successfully, but these errors were encountered:
Is this still an issue with the current version from develop?
develop
Sorry, something went wrong.
No branches or pull requests
Scenario:
table = 'app_file',
fields:'id',name_id,'path'
Now i added in the Model File not FileBase
PHP Notice 'yii\base\ErrorException' with message 'Undefined index: file'
because its not in tableShema its only a public var
The text was updated successfully, but these errors were encountered: