Closed ToNict closed 1 year ago
If you are referencing to service object "session", I think you should call it from "this." this.session.loginUserGroupData
If session
is an object you have in your controller AND you have a service in the DI container for your session called session
these two will clash.
First - if session
is an object other than the Phalcon\Session\Manager
- rename it to something else when you do the setVars()
for your view. Then you can call it directly there. Also if loginUserGroupData
is a method, it will need the parentheses loginUserGroupData()
Closing this. If the issue persists please open a new one with relevant information
Describe the bug Volt Template Engine doesn't support this syntax [for loops] NGINX will return a 502 Bad Gateway
Details