I was curious and I enabled “Alert admins if errors per hour” = 25 errors per hour.
Now I know
I’ve got tons of errors in logs
Most popular
502 x TypeError: Failed to construct ‘Notification’: Illegal constructor. Use ServiceWorkerRegistration.showNotification() instead.
76 x TypeError: Cannot read property ‘tagName’ of null
36 x TypeError: null is not an object (evaluating ‘r.tgt=t.outerHTML’)
And there are a lot of other errors (less frequent)
— Uncaught [object Object]
— TypeError: ‘undefined’ is not a function (evaluating ‘Ember.typeOf(String.prototype.w)’)
— Uncaught TypeError: Array.from is not a function
— Uncaught Error: Could not find module discourse-common/lib/raw-handlebars
I’m having a similar problem. Is there any way to tell what plugins might be causing the problem? I have quite a few and it would be a painful process disabling them one by one, not to mention all the down time.
This is the most prevalent error:
TypeError: Object doesn't support property or method 'from'
at t (https://community.naturephotographers.network/assets/markdown-it-bundle-f073c70a0d2ca47967a59723ea3876e9c19c6a2a9b34b69e3f17d44d3d9d5ac4.js:4:28560)
at value (https://community.naturephotographers.network/assets/markdown-it-bundle-f073c70a0d2ca47967a59723ea3876e9c19c6a2a9b34b69e3f17d44d3d9d5ac4.js:4:30270)
at u (https://community.naturephotographers.network/assets/markdown-it-bundle-f073c70a0d2ca47967a59723ea3876e9c19c6a2a9b34b69e3f17d44d3d9d5ac4.js:4:28825)
at r (https://community.naturephotographers.network/assets/markdown-it-bundle-f073c70a0d2ca47967a59723ea3876e9c19c6a2a9b34b69e3f17d44d3d9d5ac4.js:4:29297)
at t (https://community.naturephotographers.network/assets/markdown-it-bundle-f073c70a0d2ca47967a59723ea3876e9c19c6a2a9b34b69e3f17d44d3d9d5ac4.js:4:3)
at Anonymous function (https://community.naturephotographers.network/assets/markdown-it-bundle-f073c70a0d2ca47967a59723ea3876e9c19c6a2a9b34b69e3f17d44d3d9d5ac4.js:4:29364)
at n.prototype.process (https://community.naturephotographers.network/assets/markdown-it-bundle-f073c70a0d2ca47967a59723ea3876e9c19c6a2a9b34b69e3f17d44d3d9d5ac4.js:1:11415)
at o.prototype.parse (https://community.naturephotographers.network/assets/markdown-it-bundle-f073c70a0d2ca47967a59723ea3876e9c19c6a2a9b34b69e3f17d44d3d9d5ac4.js:1:8585)
at o.prototype.render (https://community.naturephotographers.network/assets/markdown-it-bundle-f073c70a0d2ca47967a59723ea3876e9c19c6a2a9b34b69e3f17d44d3d9d5ac4.js:1:8656)
at p (https://community.naturephotographers.network/assets/pretty-text-bundle-69f10bf50c157b00d4ee9fce58900e53fa90f1176953113c2117ff6a9c40a6c5.js:3:27812)
and this:
TypeError: Unable to get property 'tagName' of undefined or null reference
at scrolled (https://community.naturephotographers.network/assets/application-a9e71f1edd1c0c204e24171f735f84503eb20246e13b2899ef434c24d37d07c2.js:33:26513)
at t.invoke (https://community.naturephotographers.network/assets/ember_jquery-0ae86c6a7527a99c2b9b8a11521273bd9cb4f7d41bc546df081b7ee94f26d9c3.js:16:6925)
at t.flush (https://community.naturephotographers.network/assets/ember_jquery-0ae86c6a7527a99c2b9b8a11521273bd9cb4f7d41bc546df081b7ee94f26d9c3.js:16:5868)
at t.flush (https://community.naturephotographers.network/assets/ember_jquery-0ae86c6a7527a99c2b9b8a11521273bd9cb4f7d41bc546df081b7ee94f26d9c3.js:16:7971)
at r._end (https://community.naturephotographers.network/assets/ember_jquery-0ae86c6a7527a99c2b9b8a11521273bd9cb4f7d41bc546df081b7ee94f26d9c3.js:16:12650)
at r.end (https://community.naturephotographers.network/assets/ember_jquery-0ae86c6a7527a99c2b9b8a11521273bd9cb4f7d41bc546df081b7ee94f26d9c3.js:16:9312)
at r._runExpiredTimers (https://community.naturephotographers.network/assets/ember_jquery-0ae86c6a7527a99c2b9b8a11521273bd9cb4f7d41bc546df081b7ee94f26d9c3.js:16:13982)
TypeError: Failed to construct 'Notification': Illegal constructor. Use ServiceWorkerRegistration.showNotification() instead.
at https://community.naturephotographers.network/assets/application-a9e71f1edd1c0c204e24171f735f84503eb20246e13b2899ef434c24d37d07c2.js:12:26448
at f (https://community.naturephotographers.network/assets/ember_jquery-0ae86c6a7527a99c2b9b8a11521273bd9cb4f7d41bc546df081b7ee94f26d9c3.js:17:29538)
at T (https://community.naturephotographers.network/assets/ember_jquery-0ae86c6a7527a99c2b9b8a11521273bd9cb4f7d41bc546df081b7ee94f26d9c3.js:17:30915)
at https://community.naturephotographers.network/assets/ember_jquery-0ae86c6a7527a99c2b9b8a11521273bd9cb4f7d41bc546df081b7ee94f26d9c3.js:17:31429
at t.invoke (https://community.naturephotographers.network/assets/ember_jquery-0ae86c6a7527a99c2b9b8a11521273bd9cb4f7d41bc546df081b7ee94f26d9c3.js:16:6937)
at e.t.flush (https://community.naturephotographers.network/assets/ember_jquery-0ae86c6a7527a99c2b9b8a11521273bd9cb4f7d41bc546df081b7ee94f26d9c3.js:16:5930)
at e.t.flush (https://community.naturephotographers.network/assets/ember_jquery-0ae86c6a7527a99c2b9b8a11521273bd9cb4f7d41bc546df081b7ee94f26d9c3.js:16:7980)
at e.r._end (https://community.naturephotographers.network/assets/ember_jquery-0ae86c6a7527a99c2b9b8a11521273bd9cb4f7d41bc546df081b7ee94f26d9c3.js:16:12654)
at MutationObserver._boundAutorunEnd (https://community.naturephotographers.network/assets/ember_jquery-0ae86c6a7527a99c2b9b8a11521273bd9cb4f7d41bc546df081b7ee94f26d9c3.js:16:8905)