A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/plant_communities.php

Line Number: 33


Fatal error: Uncaught exception 'Doctrine_Table_Exception' with message 'You must specify the value to findBy' in /home/prf/public_html/system/application/frontend/plugins/Doctrine/Table.php:2819 Stack trace: #0 /home/prf/public_html/system/application/frontend/controllers/plant_communities.php(35): Doctrine_Table->__call('findByPlantComm...', Array) #1 /home/prf/public_html/system/application/frontend/controllers/plant_communities.php(35): AfnnCorrPlantCommunityPhotoTable->findByPlantCommunityId(NULL) #2 [internal function]: Plant_Communities->detail('beach-dunes-zon...') #3 /home/prf/public_html/system/application/frontend/libraries/MY_Controller.php(116): call_user_func_array(Array, Array) #4 /home/prf/public_html/system/codeigniter/CodeIgniter.php(223): MY_Controller->_remap('detail') #5 /home/prf/public_html/index.php(138): require_once('/home/prf/publi...') #6 {main} thrown in /home/prf/public_html/system/application/frontend/plugins/Doctrine/Table.php on line 2819