loop contexts(loop.last, loop.index ...) are happening issue Inside for
loops on volt,
#16802
Unanswered
kelvinengineer
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Recently, I upgrade phalcon 3.x to 5.x and php version 7.x to 8.x.
I'm facing issue in
for
loops.Here is error message:
count(): Argument #1 ($value) must be of type Countable|array, null given
Here is the code.
It works fine if I remove
{{ loop.last ? '' : '<option data-divider="true"></option>' }}
Beta Was this translation helpful? Give feedback.
All reactions