Fatal error: Uncaught TypeError: Argument 1 passed to Produto::setCategoria() must be an instance of Categoria, null given, called in /home/espinha/public_html/structure/controller/ObjetosDecoracaoController.php on line 57 and defined in /home/espinha/public_html/structure/model/classes/Produto.php:173
Stack trace:
#0 /home/espinha/public_html/structure/controller/ObjetosDecoracaoController.php(57): Produto->setCategoria(NULL)
#1 /home/espinha/public_html/structure/lib/HyperMVC/HyperMVC.php(166): ObjetosDecoracaoController->indexAction()
#2 /home/espinha/public_html/structure/lib/HyperMVC/HyperMVC.php(89): HyperMVC->process(true)
#3 /home/espinha/public_html/index.php(14): HyperMVC->render()
#4 {main}
thrown in /home/espinha/public_html/structure/model/classes/Produto.php on line 173