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

INVO error

mysite.com/invoices/profile - I try edit anything ... Try "Update"

Catchable fatal error: Argument 1 passed to Phalcon\Mvc\Model::validate() must implement interface Phalcon\ValidationInterface, instance of Phalcon\Mvc\Model\Validator\Email given in \app\models\Users.php on line 13

I found a bug (typo) phalcon 2.1.0. But In 2.0.9 all work well



9.3k
Accepted
answer

Validation was rewritten in version 2.1 and model validation is deprecated https://blog.phalcon.io/post/phalcon-2-1-beta-released it will be surely reflected in Invo when 2.1 will be out



14.4k

return $this->validate(); Not work ... My be need registration "validator" as service?