protected static $_observers = array( 'Orm\Observer_CreatedAt' => array('before_insert'), 'Orm\Observer_UpdatedAt' => array('before_save'), 'Orm\\Observer_Validation' => array('before_save') );
Warning - 2012-02-27 14:25:36 --> Orm\Model::observers - Passing observer events as array is deprecated, they must be inside another array under a key "events". Check the docs for more info.
// instead of protected static $_observers = array( 'Orm\Observer_CreatedAt' => array('before_insert'), 'Orm\Observer_UpdatedAt' => array('before_save'), 'Orm\\Observer_Validation' => array('before_save') ); // it should now be protected static $_observers = array( 'Orm\\Observer_CreatedAt' => array('events' => array('before_insert')), 'Orm\\Observer_UpdatedAt' => array('events' => array('before_save')), 'Orm\\Observer_Validation' => array('events' => array('before_save')) );
It looks like you're new here. If you want to get involved, click one of these buttons!