Topic Errors in logs, crashing app



  • Hello, I am not sure what could be causing this error but it seems to happen randomly: (im on the latest version)

    14:30 [53328] - error: ReferenceError: Topics is not defined
    at C:\Apps\nodebb\src\socket.io\topics\unread.js:20:4
    at C:\Apps\nodebb\src\topics\unread.js:193:13
    at fn (C:\Apps\nodebb\node_modules\async\lib\async.js:746:34)
    at C:\Apps\nodebb\node_modules\async\lib\async.js:1212:16
    at C:\Apps\nodebb\node_modules\async\lib\async.js:166:37
    at C:\Apps\nodebb\node_modules\async\lib\async.js:706:43
    at C:\Apps\nodebb\node_modules\async\lib\async.js:167:37
    at C:\Apps\nodebb\node_modules\async\lib\async.js:1208:30
    at C:\Apps\nodebb\node_modules\async\lib\async.js:726:13
    at C:\Apps\nodebb\node_modules\async\lib\async.js:52:16
    ReferenceError: Topics is not defined
    at C:\Apps\nodebb\src\socket.io\topics\unread.js:20:4
    at C:\Apps\nodebb\src\topics\unread.js:193:13
    at fn (C:\Apps\nodebb\node_modules\async\lib\async.js:746:34)
    at C:\Apps\nodebb\node_modules\async\lib\async.js:1212:16
    at C:\Apps\nodebb\node_modules\async\lib\async.js:166:37
    at C:\Apps\nodebb\node_modules\async\lib\async.js:706:43
    at C:\Apps\nodebb\node_modules\async\lib\async.js:167:37
    at C:\Apps\nodebb\node_modules\async\lib\async.js:1208:30
    at C:\Apps\nodebb\node_modules\async\lib\async.js:726:13
    at C:\Apps\nodebb\node_modules\async\lib\async.js:52:16
    6/1 14:30 [53328] - info: [app] Shutdown (SIGTERM/SIGINT) Initialised.
    6/1 14:30 [53328] - info: [app] Database connection closed.
    6/1 14:30 [53328] - info: [app] Web server closed to connections.
    6/1 14:30 [53328] - info: [app] Shutdown complete.

    Any ideas?

    Thanks


  • Plugin & Theme Dev

    @whitts when you say latest... are you using master branch?

    It was fixed yesterday in this commit. https://github.com/NodeBB/NodeBB/commit/1a86e6839419d4511275e9a5eb7d773c55afe0ea

    Update to latest master



  • Yes master branch (accidentally but dont want to have to downgrade) 😄 Thanks


Log in to reply
 


Looks like your connection to NodeBB was lost, please wait while we try to reconnect.