Seems all kinds of mistakes :/

Catchable fatal error: Argument 1 passed to Zend_Db_Table_Abstract::_order() must be an instance of Zend_Db_Table_Select, instance of Zend_Db_Select given

PHP Catchable fatal error: Argument 1 passed to Zend_Db_Table_Abstract::_fetch() must be an instance of Zend_Db_Table_Select, instance of Zend_Db_Select given

Also, it seems to be generating messed up queries... Example:


$table = new Zend_Db_Table();
$table->fetchAll(null, array('lastName', 'firstName'));

results in:

SELECT
        
ORDER BY
        `lastName` ASC,
        `firstName` ASC

Regards,
Eric

Reply via email to