Fatal error: Uncaught Error: Call to a member function toArray() on null in /home/sobrinde/application/models/Categorias.php:32
Stack trace:
#0 /home/sobrinde/application/modules/default/controllers/ProdutoController.php(99): Model_Categorias->pegaCategoria()
#1 /home/sobrinde/library/Zend/Controller/Action.php(516): ProdutoController->produtoAction()
#2 /home/sobrinde/library/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch()
#3 /home/sobrinde/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch()
#4 /home/sobrinde/library/Zend/Application/Bootstrap/Bootstrap.php(105): Zend_Controller_Front->dispatch()
#5 /home/sobrinde/library/Zend/Application.php(382): Zend_Application_Bootstrap_Bootstrap->run()
#6 /home/sobrinde/public_html/index.php(26): Zend_Application->run()
#7 {main}
thrown in /home/sobrinde/application/models/Categorias.php on line 32