Hi,
This is just knowledge sharing. I Wasted half a day to identify this problem.
I have applied filter to the controller. But continuously i got below error message.
Module and its behaviors do not have a method or closure named "getViewPath".
Problem is with my variable declaration. I have variable name _module. This is crash with YII framework class variables. so i got below message.
If you got same error message then just change the controller variable name to some other variable name like muduleā¦
Thanks
chandran nepolean