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
I get the following error "Using $this when not in object context" when i use related model.
Example code :
$file = \Yii::createObject([ 'class' => ExcelFile::class, 'sheets' => [ 'MoneyMovements' => [ 'class' => ActiveExcelSheet::class, 'query' => User::find(), 'attributes' => [ 'id', 'address.street', // related model ], ], ], ]);
The text was updated successfully, but these errors were encountered:
@mikehaertl check my pr please #22
Sorry, something went wrong.
54ed37d
Merge pull request #22 from pana1990/21-related-model
cc63820
fix #21
@pana1990 Just released 2.7.1 containing this fix. Thanks for finding this bug.
No branches or pull requests
I get the following error "Using $this when not in object context" when i use related model.
Example code :
The text was updated successfully, but these errors were encountered: