Notice: Trying to get property of non-object in /sftp/acessoweb/incoming/sindepominas.com.br/convenio.php on line 10

Fatal error: Uncaught exception 'Doctrine_Table_Exception' with message 'You must specify the value to findBy' in /sftp/acessoweb/incoming/sindepominas.com.br/lib/Doctrine/Table.php:2819 Stack trace: #0 /sftp/acessoweb/incoming/sindepominas.com.br/convenio.php(10): Doctrine_Table->__call('findByConvenioI...', Array) #1 /sftp/acessoweb/incoming/sindepominas.com.br/convenio.php(10): ConvenioFotoTable->findByConvenioId(NULL) #2 {main} thrown in /sftp/acessoweb/incoming/sindepominas.com.br/lib/Doctrine/Table.php on line 2819