[Moderators Only] Report Notification crashes Web UI

Status
Not open for further replies.

chikorita157

Administrator
Staff member
I recently updated Mastodon and if you go into Notifications or have notifications column loaded in advanced view, it's going to crash the web interface.

To fix, disable Advanced Mode if you have it enabled. Go to notifications. When you see this error page, refresh it. When the notifications load, click Mentions. Then click the settings and clear notifications.

While you are in there, disable Show Column for New reports. Probably enable push notifications and desktop notifications so that you can still get notified of reports.

I will post here when there is a solution

2023-06-12_10-53-53.png


Debug output
Code:
Error: [@formatjs/intl] An `id` must be provided to format a message. You can either:
1. Configure your build toolchain with [babel-plugin-formatjs](https://formatjs.io/docs/tooling/babel-plugin)
or [@formatjs/ts-transformer](https://formatjs.io/docs/tooling/ts-transformer) OR
2. Configure your `eslint` config to include [eslint-plugin-formatjs](https://formatjs.io/docs/tooling/linter#enforce-id)
to autofix this issue
invariant (webpack:///node_modules/@formatjs/ecma402-abstract/lib/utils.js:78:18)
formatMessage (webpack:///node_modules/@formatjs/intl/lib/src/message.js:49:2)
formatMessage (webpack:///node_modules/react-intl/lib/src/components/provider.js:44:33)
B ([native code]::)
messages (webpack:///app/javascript/home/mastodon/live/app/javascript/flavours/glitch/features/notifications/components/report.jsx:52:40)
kj (webpack:///node_modules/react-dom/cjs/react-dom.production.min.js:4120:75)
Vk (webpack:///node_modules/react-dom/cjs/react-dom.production.min.js:6127:13)
Uk (webpack:///node_modules/react-dom/cjs/react-dom.production.min.js:6121:25)
Jk (webpack:///node_modules/react-dom/cjs/react-dom.production.min.js:6107:4)
Ok (webpack:///node_modules/react-dom/cjs/react-dom.production.min.js:5830:9)
Qg (webpack:///node_modules/react-dom/cjs/react-dom.production.min.js:5767:53)
al ([native code]::)
h (webpack:///node_modules/scheduler/cjs/scheduler.production.min.js:94:18)
R (webpack:///node_modules/scheduler/cjs/scheduler.production.min.js:125:10)
run (webpack:///node_modules/setimmediate/setImmediate.js:39:8)
setTimeout (webpack:///node_modules/setimmediate/setImmediate.js:67:14)
event.data.indexOf (webpack:///node_modules/setimmediate/setImmediate.js:104:8)
 
Status
Not open for further replies.
Top