nodebb crashed when openeing chats (chat with deleted user)
-
Hello,
nodebb is crashing when i access to the forum with mobile device an open the right sidebar, or desktop browser when opening chats, there is one chat with a deleted user.
following error:
30/12 15:08 [21353] - [31merror[39m: TypeError: Cannot read property 'mergeId' of null at /var/www/user_3/domain_37/nodebb/src/notifications.js:384:20 at Array.filter (native) at /var/www/user_3/domain_37/nodebb/src/notifications.js:383:25 at Array.reduce (native) at Object.Notifications.merge (/var/www/user_3/domain_37/nodebb/src/notifications.js:345:28) at /var/www/user_3/domain_37/nodebb/src/user/notifications.js:96:19 at fn (/var/www/user_3/domain_37/nodebb/node_modules/async/lib/async.js:741:34) at /var/www/user_3/domain_37/nodebb/node_modules/async/lib/async.js:1208:16 at /var/www/user_3/domain_37/nodebb/node_modules/async/lib/async.js:166:37 at /var/www/user_3/domain_37/nodebb/node_modules/async/lib/async.js:701:43 TypeError: Cannot read property 'mergeId' of null at /var/www/user_3/domain_37/nodebb/src/notifications.js:384:20 at Array.filter (native) at /var/www/user_3/domain_37/nodebb/src/notifications.js:383:25 at Array.reduce (native) at Object.Notifications.merge (/var/www/user_3/domain_37/nodebb/src/notifications.js:345:28) at /var/www/user_3/domain_37/nodebb/src/user/notifications.js:96:19 at fn (/var/www/user_3/domain_37/nodebb/node_modules/async/lib/async.js:741:34) at /var/www/user_3/domain_37/nodebb/node_modules/async/lib/async.js:1208:16 at /var/www/user_3/domain_37/nodebb/node_modules/async/lib/async.js:166:37 at /var/www/user_3/domain_37/nodebb/node_modules/async/lib/async.js:701:43 30/12 15:08 [21353] - [32minfo[39m: [app] Shutdown (SIGTERM/SIGINT) Initialised. 30/12 15:08 [21353] - [32minfo[39m: [app] Database connection closed. 30/12 15:08 [21353] - [32minfo[39m: [app] Web server closed to connections. 30/12 15:08 [21353] - [32minfo[39m: [app] Shutdown complete.
how i can fix this?
Copyright © 2024 NodeBB | Contributors