Recently I tried to upgrade my previous Phalcon from v 1.2.6 to the latest Phalcon v 1.3.2, I'm using Oracle 11g for database and turn out that findFirst function that I used for the query didn't work, It gives error ora-00936: missing expression.

Then I tried to roll back to Phalcon v 1.2.6 and the Ora-00936 resolved.

This is the code I use:

Users::findFirst("EMAIL='$email' AND PASSWORD='$password' AND ACTIVE='Y'");