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

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