Search module is not working.
-
When I search something it throws the error. DBSearch pluging version is 1.0.1 and mongodb version is 2.6.12. Below is the error that I'm getting:
error: TypeError: Cannot read property 'qs' of undefined
at Object.plugin.refactorSearchData [as method] (/home/shobhit/nodebb/node_modules/nodebb-theme-nanoheal/lib/theme.js:84:16)
at /home/shobhit/nodebb/src/plugins/hooks.js:136:12
at /home/shobhit/nodebb/node_modules/async/lib/async.js:375:13
at iterate (/home/shobhit/nodebb/node_modules/async/lib/async.js:262:13)
at Object.async.forEachOfSeries.async.eachOfSeries (/home/shobhit/nodebb/node_modules/async/lib/async.js:281:9)
at Object.async.inject.async.foldl.async.reduce (/home/shobhit/nodebb/node_modules/async/lib/async.js:374:15)
at fireFilterHook (/home/shobhit/nodebb/src/plugins/hooks.js:128:9)
at Object.Plugins.fireHook (/home/shobhit/nodebb/src/plugins/hooks.js:109:5)
at ServerResponse.res.render (/home/shobhit/nodebb/src/middleware/render.js:30:12)
at /home/shobhit/nodebb/src/controllers/search.js:64:7
at /home/shobhit/nodebb/node_modules/async/lib/async.js:726:13
at /home/shobhit/nodebb/node_modules/async/lib/async.js:52:16
at done (/home/shobhit/nodebb/node_modules/async/lib/async.js:246:17)
at /home/shobhit/nodebb/node_modules/async/lib/async.js:44:16
at /home/shobhit/nodebb/node_modules/async/lib/async.js:723:17
at /home/shobhit/nodebb/node_modules/async/lib/async.js:167:37
at /home/shobhit/nodebb/node_modules/async/lib/async.js:52:16
at Immediate._onImmediate (/home/shobhit/nodebb/node_modules/async/lib/async.js:1206:34)
at processImmediate [as _immediateCallback] (timers.js:383:17)
TypeError: Cannot read property 'qs' of undefined
at Object.plugin.refactorSearchData [as method] (/home/shobhit/nodebb/node_modules/nodebb-theme-nanoheal/lib/theme.js:84:16)
at /home/shobhit/nodebb/src/plugins/hooks.js:136:12
at /home/shobhit/nodebb/node_modules/async/lib/async.js:375:13
at iterate (/home/shobhit/nodebb/node_modules/async/lib/async.js:262:13)
at Object.async.forEachOfSeries.async.eachOfSeries (/home/shobhit/nodebb/node_modules/async/lib/async.js:281:9)
at Object.async.inject.async.foldl.async.reduce (/home/shobhit/nodebb/node_modules/async/lib/async.js:374:15)
at fireFilterHook (/home/shobhit/nodebb/src/plugins/hooks.js:128:9)
at Object.Plugins.fireHook (/home/shobhit/nodebb/src/plugins/hooks.js:109:5)
at ServerResponse.res.render (/home/shobhit/nodebb/src/middleware/render.js:30:12)
at /home/shobhit/nodebb/src/controllers/search.js:64:7
at /home/shobhit/nodebb/node_modules/async/lib/async.js:726:13
at /home/shobhit/nodebb/node_modules/async/lib/async.js:52:16
at done (/home/shobhit/nodebb/node_modules/async/lib/async.js:246:17)
at /home/shobhit/nodebb/node_modules/async/lib/async.js:44:16
at /home/shobhit/nodebb/node_modules/async/lib/async.js:723:17
at /home/shobhit/nodebb/node_modules/async/lib/async.js:167:37
at /home/shobhit/nodebb/node_modules/async/lib/async.js:52:16
at Immediate._onImmediate (/home/shobhit/nodebb/node_modules/async/lib/async.js:1206:34)
at processImmediate [as _immediateCallback] (timers.js:383:17)
12/7 05:55 [19377] - info: [app] Shutdown (SIGTERM/SIGINT) Initialised.
12/7 05:55 [19377] - info: [app] Database connection closed.
12/7 05:55 [19377] - info: [app] Web server closed to connections.
12/7 05:55 [19377] - info: [app] Shutdown complete.