Search code examples
phpzend-frameworkpropel

Error with Propel and ZendFramework


After inheriting some Zend Framework code it didn't work, after lots of fiddling I've managed to create the schema and rebuild the models, although now I'm getting the following error:

Call to undefined method Criteria::hasSelectClause() in  home/richard/library/om/BaseDomainPeer.php on line 329

Why would propel generate files that call unknown methods?


Solution

  • Turns out the code was built on a system using the beta version of propel, when i forced my system to use the beta version, it worked.

    to use the beta version, go here