cviewParams is not defined

ReferenceError: cviewParams is not defined
    at esSearchE (/var/app/current/functions/esQueries.js:115:24)
    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:137:13)
    at Route.dispatch (/var/app/current/node_modules/express/lib/router/route.js:112: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:281:22
    at param (/var/app/current/node_modules/express/lib/router/index.js:360:14)
    at param (/var/app/current/node_modules/express/lib/router/index.js:371:14)
    at Function.process_params (/var/app/current/node_modules/express/lib/router/index.js:416:3)
    at next (/var/app/current/node_modules/express/lib/router/index.js:275:10)
    at Function.handle (/var/app/current/node_modules/express/lib/router/index.js:174:3)
    at router (/var/app/current/node_modules/express/lib/router/index.js:47:12)
    at Layer.handle [as handle_request] (/var/app/current/node_modules/express/lib/router/layer.js:95:5)
    at trim_prefix (/var/app/current/node_modules/express/lib/router/index.js:323:13)
    at /var/app/current/node_modules/express/lib/router/index.js:284:7
    at Function.process_params (/var/app/current/node_modules/express/lib/router/index.js:341:12)