APP ERROR
TypeError: Cannot read property '_id' of undefined
    at /var/app/current/apps/ecuguia/config/routes.js:186:114
    at Function.general.buscarSetearCategorias (/var/app/current/apps/ecuguia/controllers/general.js:48:4)
    at Domain.<anonymous> (/var/app/current/apps/ecuguia/config/routes.js:155:20)
    at Domain.run (domain.js:349:14)
    at /var/app/current/apps/ecuguia/config/routes.js:118:9
    at Layer.handle [as handle_request] (/var/app/current/node_modules/express/lib/router/layer.js:95:5)
    at next (/var/app/current/node_modules/express/lib/router/route.js:144:13)
    at cache (/var/app/current/core/controllers/apicache.js:108:16)
    at Layer.handle [as handle_request] (/var/app/current/node_modules/express/lib/router/layer.js:95:5)
    at next (/var/app/current/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/var/app/current/node_modules/express/lib/router/route.js:114:3)
    at Layer.handle [as handle_request] (/var/app/current/node_modules/express/lib/router/layer.js:95:5)
    at /var/app/current/node_modules/express/lib/router/index.js:284:15
    at param (/var/app/current/node_modules/express/lib/router/index.js:365:14)
    at param (/var/app/current/node_modules/express/lib/router/index.js:376:14)
    at param (/var/app/current/node_modules/express/lib/router/index.js:376:14)