Uncaught Errors

AI-generated summary

Uncaught Errors

The discussion begins with grahamtrump’s report of multiple errors on their Discourse site, including uncaught errors, type errors, and syntax errors. The errors occur across various URLs and plugins, including ember_jquery and discourse-question-answer.

Mittineague suggests taking a safe first step by using Discourse’s safe mode, providing a link to a meta discussion on how to use it.

grahamtrump asks for help understanding the cause of the errors and how to fix them.

Stranik suggests disabling the discourse-question-answer plugin, citing a meta discussion where the author corrected an issue.

I got many errors as below:

Summary
Uncaught Error: Nothing handled the action 'refresh'. If you did handle the action, this error can be caused by returning true from an action handler in a controller, causing the action to bubble. Url
Fr 11:45 pm
Uncaught TypeError: document.getElementsByClassName.ToString is not a function Url: Line: 1 Column: 33 Window Location: https://abc.com/t/4564adbbds/45574
Fr 11:47 pm
Uncaught TypeError: document.getElementsByClassName.ToString is not a function Url: Line: 1 Column: 33 Window Location: https://abc.com/t/thjuekksbjal
12:41 am
Uncaught TypeError: document.getElementsByClassName.ToString is not a function Url: Line: 1 Column: 33 Window Location: https://abc.com/t/howcanidoit/1254
12:44 am
2		
Unable to get property 'getItem' of undefined or null reference Url: https://abc.com/assets/ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js Line: 2 Column: 10713 W
1:13 am
8		
TypeError: Cannot call method "create" of undefined (https://abc.com/assets/vendor-6e59f8d0190b766ab492d48c83983f67bb7a5ecbff9e213f79fa12e4c72a06e6.js#4) Url: https://vnzones.com/ Line: 4 Column:		1:31 am
Unable to get property 'getItem' of undefined or null reference Url: https://abc.com/assets/ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js Line: 2 Column: 10713 W
2:13 am
Could not find module `pretty-text/censored-words` imported from `discourse/models/topic` Url: https://abc.com/assets/ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.
3:28 am
Uncaught SyntaxError: Unexpected token else Url: https://abc.com/t/xiaomi-mi-max-319-7/1274 Line: 6 Column: 10 Window Location: https://abc.com/t/xiaomi-mi-max
3:41 am
TypeError: undefined is not an object (evaluating 'd.tagName.toUpperCase') Url: https://abc.com/c/hotnews Line: 1 Column: 265 Window Location: https://abc.com/c/hotnews
4:56 am
Unable to get property 'getItem' of undefined or null reference Url: https://abc.com/assets/ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js Line: 2 Column: 10713 W
5:23 am
3		
Unable to get property 'getItem' of undefined or null reference Url: https://abc.com/assets/ember_jquery-27e777857b8c0730dacfe09cb11711365d21a5db4f9ee0b85d494e4259cf6cda.js Line: 2 Column: 10713 W
6:23 am
9		
NoMethodError (undefined method `id' for nil:NilClass) /var/www/discourse/plugins/discourse-question-answer/lib/qa_post_edits.rb:12:in `actions_summary'

How can I fix?

Don’t despair. Take a safe first step.

But what made these errors and how can I fix?

Probably disable the plugin: discourse-question-answer

The author corrected.