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

Undefined index: keepSnapshots after Phalcon upgrade to 3.1.0

Hi,

I upgraded today to Phalcon 3.1.0. And i'm getting following errors on all models:

Undefined index: keepSnapshots in Users.php on line 61

Undefined index: keepSnapshots in Groups.php on line 57

... etc



58.1k
edited Mar '17

Fixed when delete all query cache. But i dont understand why error occured.

edited Mar '17

Thanks for the info, will fix it as soon as possible. It's actually due to some other fix in 3.0.3

If someone else will have this little problem - it's fixed in 3.1.x branch currently, keep in mind you need zephir to build it or just wait for 3.1.1.



58.1k

Yes, i see the PR, https://github.com/phalcon/cphalcon/pull/12737

Really fast develop! Thx

If someone else will have this little problem - it's fixed in 3.1.x branch currently, keep in mind you need zephir to build it or just wait for 3.1.1.