-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
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
[BUG]: Volt Render Notice : Undefined index: name #16097
Comments
Does it work if you use different files for classes vs the I have not tested this but I am not sure Volt works with that (yet). |
Nop same result |
I'm also experiencing this issue (in v5.0.2). A workaround that seems to work for my situation is to first set a variable, and then display that variable. Using your example: Change:
To:
|
same problem here. The solution @colinpieper mentioned works but far from ideal especially when you have many templates, like @kevcomparadise said this used to work in Phalcon 3.4.5. Can we expect this to be fixed soon? |
I have the same issue and the releases from v5.0.0RC4 to v5.0.4 have the issue but the release v5.0.0RC3 works fine |
Any update on when this will be fixed please? |
We are working on this one guys. Hopefully we can figure out where it comes from. I checked a bit the code and it seems to fail in the code to |
This has been resolved in #16187. Thank you @kevcomparadise @colinpieper |
Describe the bug
When we try to access a public method of a sub class contained in a public property of a root class, Volt generates a Notice.
PS : Return value OK
To Reproduce
Steps to reproduce the behavior:
Note : If we use a getter for sub_object (like : getsubObject()) it work
Expected behavior
Render without notice
Details
The text was updated successfully, but these errors were encountered: