trivia[i].set.charAt is not a function
at eval (eval at (/root/GAwesomeBot/node_modules/ejs/lib/ejs.js:481:12), :538:38)
at returnedFn (/root/GAwesomeBot/node_modules/ejs/lib/ejs.js:512:17)
at View.exports.renderFile [as engine] (/root/GAwesomeBot/node_modules/ejs/lib/ejs.js:364:31)
at View.render (/root/GAwesomeBot/node_modules/express/lib/view.js:126:8)
at tryRender (/root/GAwesomeBot/node_modules/express/lib/application.js:639:10)
at EventEmitter.render (/root/GAwesomeBot/node_modules/express/lib/application.js:591:3)
at ServerResponse.render (/root/GAwesomeBot/node_modules/express/lib/response.js:960:7)
at checkAuth (/root/GAwesomeBot/Web/WebServer.js:3333:8)
at db.servers.findOne (/root/GAwesomeBot/Web/WebServer.js:683:10)
at Query. (/root/GAwesomeBot/node_modules/mongoose/lib/model.js:3419:16)
at /root/GAwesomeBot/node_modules/kareem/index.js:264:21
at /root/GAwesomeBot/node_modules/kareem/index.js:127:16
at _combinedTickCallback (internal/process/next_tick.js:67:7)
at process._tickDomainCallback (internal/process/next_tick.js:122:9)`
URL: https://bot.lachy.io/dashboard/other/ongoing-activities?svrid=**** Error `TypeError: /root/GAwesomeBot/Web/views/pages/admin-ongoing-activities.ejs:66 64|
66| <%= trivia[i].set.charAt(0) + trivia[i].set.slice(1) 67|
68|trivia[i].set.charAt is not a function at eval (eval at (/root/GAwesomeBot/node_modules/ejs/lib/ejs.js:481:12), :538:38)
at returnedFn (/root/GAwesomeBot/node_modules/ejs/lib/ejs.js:512:17)
at View.exports.renderFile [as engine] (/root/GAwesomeBot/node_modules/ejs/lib/ejs.js:364:31)
at View.render (/root/GAwesomeBot/node_modules/express/lib/view.js:126:8)
at tryRender (/root/GAwesomeBot/node_modules/express/lib/application.js:639:10)
at EventEmitter.render (/root/GAwesomeBot/node_modules/express/lib/application.js:591:3)
at ServerResponse.render (/root/GAwesomeBot/node_modules/express/lib/response.js:960:7)
at checkAuth (/root/GAwesomeBot/Web/WebServer.js:3333:8)
at db.servers.findOne (/root/GAwesomeBot/Web/WebServer.js:683:10)
at Query. (/root/GAwesomeBot/node_modules/mongoose/lib/model.js:3419:16)
at /root/GAwesomeBot/node_modules/kareem/index.js:264:21
at /root/GAwesomeBot/node_modules/kareem/index.js:127:16
at _combinedTickCallback (internal/process/next_tick.js:67:7)
at process._tickDomainCallback (internal/process/next_tick.js:122:9)`
What bot version are you running? The master branch or the development one?
Works just fine for me on the development branch. If its about your issue with MongoDB, well, you got that solved 😛
Ignore me, this is still borked: http://pastebin.com/3PdZk2rG
Can anyone provide steps to reproduce?
Start a trivia game Go to Admin Panel, Ongoing activities
Can confirm.
Fixed in #56.