added err to getAllTopics
Merge branch 'master' of https://github.com/designcreateplay/NodeBB