[GH-ISSUE #632] TypeError: Li.disallowed_topics is undefined #470

Closed
opened 2026-05-07 00:24:31 +02:00 by BreizhHardware · 4 comments

Originally created by @julianlam on GitHub (Feb 22, 2023).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/632

Hi @binwiederhier! ntfy crashed 😮

Here's the stack trace it told me to report 😊

TypeError: Li.disallowed_topics is undefined
  at disallowedTopic (app/utils.js:4:47)
  at disallowedTopic (app/utils.js:8:40)
  at validTopic (components/PublishDialog.js:43:88)
  at Qj (../node_modules/react-dom/cjs/react-dom.production.min.js:331:244)
  at Yk (../node_modules/react-dom/cjs/react-dom.production.min.js:113:286)
  at Dk (../node_modules/react-dom/cjs/react-dom.production.min.js:184:273)
  at jg (../node_modules/react-dom/cjs/react-dom.production.min.js:104:127)
  at Xk (../node_modules/react-dom/cjs/react-dom.production.min.js:469:283)
  at Tk (../node_modules/react-dom/cjs/react-dom.production.min.js:400:281)
  at d)break;b=a.eventTimes;for (../node_modules/react-dom/cjs/react-dom.production.min.js:271:270)
  at J (../node_modules/scheduler/cjs/scheduler.production.min.js:204:13)
  at S (../node_modules/scheduler/cjs/scheduler.production.min.js:127:14)

TypeError: Li.disallowed_topics is undefined
  at t@https://ntfy.sh/static/js/main.7a56b157.js:2:1144182
  at px@https://ntfy.sh/static/js/main.7a56b157.js:2:1161970
  at div
  at 9886/a/<@https://ntfy.sh/static/js/main.7a56b157.js:2:10090
  at p<@https://ntfy.sh/static/js/main.7a56b157.js:2:378580
  at oj@https://ntfy.sh/static/js/main.7a56b157.js:2:1212109
  at Wl@https://ntfy.sh/static/js/main.7a56b157.js:2:792458
  at Jl@https://ntfy.sh/static/js/main.7a56b157.js:2:794879
  at n@https://ntfy.sh/static/js/main.7a56b157.js:2:1137437
  at i@https://ntfy.sh/static/js/main.7a56b157.js:2:1140616
  at O@https://ntfy.sh/static/js/main.7a56b157.js:2:379250
  at P@https://ntfy.sh/static/js/main.7a56b157.js:2:378970
  at E@https://ntfy.sh/static/js/main.7a56b157.js:2:379359
  at $l@https://ntfy.sh/static/js/main.7a56b157.js:2:794139
  at ob@https://ntfy.sh/static/js/main.7a56b157.js:2:1085499
  at Suspense
  at cj@https://ntfy.sh/static/js/main.7a56b157.js:2:1216006
Originally created by @julianlam on GitHub (Feb 22, 2023). Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/632 Hi @binwiederhier! ntfy crashed 😮 Here's the stack trace it told me to report :blush: ``` TypeError: Li.disallowed_topics is undefined at disallowedTopic (app/utils.js:4:47) at disallowedTopic (app/utils.js:8:40) at validTopic (components/PublishDialog.js:43:88) at Qj (../node_modules/react-dom/cjs/react-dom.production.min.js:331:244) at Yk (../node_modules/react-dom/cjs/react-dom.production.min.js:113:286) at Dk (../node_modules/react-dom/cjs/react-dom.production.min.js:184:273) at jg (../node_modules/react-dom/cjs/react-dom.production.min.js:104:127) at Xk (../node_modules/react-dom/cjs/react-dom.production.min.js:469:283) at Tk (../node_modules/react-dom/cjs/react-dom.production.min.js:400:281) at d)break;b=a.eventTimes;for (../node_modules/react-dom/cjs/react-dom.production.min.js:271:270) at J (../node_modules/scheduler/cjs/scheduler.production.min.js:204:13) at S (../node_modules/scheduler/cjs/scheduler.production.min.js:127:14) TypeError: Li.disallowed_topics is undefined at t@https://ntfy.sh/static/js/main.7a56b157.js:2:1144182 at px@https://ntfy.sh/static/js/main.7a56b157.js:2:1161970 at div at 9886/a/<@https://ntfy.sh/static/js/main.7a56b157.js:2:10090 at p<@https://ntfy.sh/static/js/main.7a56b157.js:2:378580 at oj@https://ntfy.sh/static/js/main.7a56b157.js:2:1212109 at Wl@https://ntfy.sh/static/js/main.7a56b157.js:2:792458 at Jl@https://ntfy.sh/static/js/main.7a56b157.js:2:794879 at n@https://ntfy.sh/static/js/main.7a56b157.js:2:1137437 at i@https://ntfy.sh/static/js/main.7a56b157.js:2:1140616 at O@https://ntfy.sh/static/js/main.7a56b157.js:2:379250 at P@https://ntfy.sh/static/js/main.7a56b157.js:2:378970 at E@https://ntfy.sh/static/js/main.7a56b157.js:2:379359 at $l@https://ntfy.sh/static/js/main.7a56b157.js:2:794139 at ob@https://ntfy.sh/static/js/main.7a56b157.js:2:1085499 at Suspense at cj@https://ntfy.sh/static/js/main.7a56b157.js:2:1216006 ```
Author
Owner

@julianlam commented on GitHub (Feb 22, 2023):

I am not certain when it crashed, when I opened my laptop from standby, that was in the tab. I don't think that is relevant, but maybe it is.

<!-- gh-comment-id:1440886098 --> @julianlam commented on GitHub (Feb 22, 2023): I am not certain when it crashed, when I opened my laptop from standby, that was in the tab. I don't think that is relevant, but maybe it is.
Author
Owner

@binwiederhier commented on GitHub (Feb 22, 2023):

Hard refresh the app on the browser.

<!-- gh-comment-id:1440904639 --> @binwiederhier commented on GitHub (Feb 22, 2023): Hard refresh the app on the browser.
Author
Owner

@julianlam commented on GitHub (Feb 22, 2023):

Yep, that takes care of a great many issues 😆

It's probably a one-off, but re-open if it actually is important 👀

<!-- gh-comment-id:1440917560 --> @julianlam commented on GitHub (Feb 22, 2023): Yep, that takes care of a great many issues :laughing: It's probably a one-off, but re-open if it actually is important :eyes:
Author
Owner

@binwiederhier commented on GitHub (Feb 22, 2023):

I'm very confused as to why the browser is caching the old stuff. I do control the cache headers, hm...

<!-- gh-comment-id:1440948713 --> @binwiederhier commented on GitHub (Feb 22, 2023): I'm very confused as to why the browser is caching the old stuff. I do control the cache headers, hm...
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ntfy#470
No description provided.