Notice: Undefined variable: subid in /home/essencialatacado/www/app/controllers/PaginasController.php on line 267

Fatal error: Uncaught Error: Call to a member function toArray() on boolean in /home/essencialatacado/www/app/controllers/PaginasController.php:267 Stack trace: #0 [internal function]: PaginasController->subcategoriaAction('cervejas', '') #1 [internal function]: Phalcon\Dispatcher->callActionMethod(Object(PaginasController), 'subcategoriaAct...', Array) #2 [internal function]: Phalcon\Dispatcher->dispatch() #3 /home/essencialatacado/www/public/index.php(33): Phalcon\Mvc\Application->handle() #4 {main} thrown in /home/essencialatacado/www/app/controllers/PaginasController.php on line 267