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

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