Node crashes on the new server, only when requesting the 'Big Fires' page.
/var/www/stage/app/node_modules/mongoose/lib/utils.js:413
throw err;
^
TypeError: Cannot read property 'locale' of null
at i18nTranslate (/var/www/stage/app/node_modules/i18n/i18n.js:89:22)
at Promise.<anonymous> (/var/www/stage/app/app/controllers/occurrencedetails.js:41:62)
at Promise.<anonymous> (/var/www/stage/app/node_modules/mongoose/lib/promise.js:128:8)
at Promise.EventEmitter.emit (events.js:95:17)
at Promise.emit (/var/www/stage/app/node_modules/mongoose/lib/promise.js:66:38)
at Promise.complete (/var/www/stage/app/node_modules/mongoose/lib/promise.js:77:20)
at Promise.resolve (/var/www/stage/app/node_modules/mongoose/lib/promise.js:144:15)
at Promise.<anonymous> (/var/www/stage/app/node_modules/mongoose/lib/promise.js:128:8)
at Promise.EventEmitter.emit (events.js:95:17)
at Promise.emit (/var/www/stage/app/node_modules/mongoose/lib/promise.js:66:38)
23 Aug 16:09:52 - [nodemon] app crashed - waiting for file changes before starting...
Caused by the t() function on line 41 of occurrencedetails.js
Node crashes on the new server, only when requesting the 'Big Fires' page.
Caused by the t() function on line 41 of occurrencedetails.js