We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

Phalcon 4.0.6 Unknown statement 314 (Volt cache problem)

Hi! We are updated our project to Phalcon 4 and get such problem. In our volt template where we have cache tag (for example {%cache 'qwerty' %} <some data goes here> {%endcache%}) we got next error:

Unknown statement 314 in ..index.volt on line 102

When I remove cache tags all goes ok. Can anybody helps me to solve this problem?



297
Accepted
answer

Hi!

This functionality has been removed from Phalcon, but the docs is not up-to-date there. More info here: https://github.com/phalcon/cphalcon/issues/14907

Thanks a lot!

Hi!

This functionality has been removed from Phalcon, but the docs is not up-to-date there. More info here: https://github.com/phalcon/cphalcon/issues/14907

The information is very useful.