Open soap opened 8 years ago
when you not using QueryScopeBahavior
, is it going ok?
Yes, it happen in the method hasMethod() of QueryScopeBehavior
QueryScopeBehavior
only work for ActiveRecord.
Yes, I know that. But ProductSearch is extended from Product which is inherited from ActiveRecord.
I mean ActiveQuery.
When I use QueryScopeBahavior in my module's model class. I got the following error.
My environment is PHP5.5 and Yii2.0.9 Windows 10.
Any recommendation? Thanks in advance.