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

Call to a member function isAllowed() on null $acl

Hello everyone , I can not understand why $ acl returns NULL i got: Fatal error: Call to a member function isAllowed() on null in C:\xampp\htdocs\phalcon\app\config\Permission.php on line 103

thanks for your time :)

https://gist.github.com/starbuckit/f75ae30e11a62bcabb7e

return $acl; instead of return $this->persistent->acl;

btw i can't uderstand why i can't use persistent

Beacause persistent is just a whole diffrent thing.