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

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