Closed fejan-malek closed 5 months ago
Well it looks like there is much much bigger problem with the new update. I bricked my whole CMS. Searching is broken but also saving of every model screams errors like
...vendor\yiisoft\yii2\db\ActiveQueryTrait.php(181): yii\db\BaseActiveRecord->getRelation('admi_csrf')
or
...vendor\yiisoft\yii2\db\ActiveQueryTrait.php(181): yii\db\BaseActiveRecord->getRelation('id')
even though there are not such relations. I'm still collecting data and info but I thing you just discovered one output of a bigger problem with this update.
I updated the Yii ASAP because of the security fixes, but this situation is unfortunate.
I updated this version with my production project and there I identified the issue. But now I am downgraded to 2.0.49.
What steps will reproduce the problem?
What is the expected result?
It must return data that is related to the particular employee documents only.
What do you get instead?
It returns 2 data in Gridview but the count is for all the employee-related documents.
Additional info
Below is my search function look like.