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

Volt Tag namespace bug

I have a model Tag that passed to view of volt tamplate generated by phalcon tools. I have NOTICE The code in view

{{ dump(tag) }}
        {{ tag.id }}

the result of dump is

 object(Vokuro\Models\Tag)#136 (16) {
  string(24) "ывап ывап ыва" ....

The NOTICE answer:

Notice:Undefined property: Phalcon\Tag::$id in /var/www/vokuro/cache/volt/_var_www_vokuro_app_views_tag_search.volt.php on line 28

As you can see the one object has different namespace.


work after rename varible tag to tag2 all work (0-0)