Custom Wizard giving an error when attempting to view a wizard

Hello, I recently posted about this at Custom Wizard Plugin 🧙 - #917 by KhoiUSA - Plugin - Discourse Meta to no response, so I’m hoping I can get some help here instead.

When I attempt to view the custom wizard that I made, I get this error below. This hasn’t happened to me before and seemed to just occur out of the blue. I’ve also checked the error logs and nothing is present there.

That is a bit strange - I don’t see that error myself across a couple of instances and a variety of wizards.

Would you mind giving us some more info?

  1. What version of Discourse and the CWP?
  2. Do other Wizards work?
  3. Are you are a subscriber?
  4. If public, what is your site?
3 Likes

Hello, thanks for the response.

  1. The version is 3.4.0.beta3-dev, I’m not sure what you mean by CWP so could you please elaborate? Thanks.

  2. I only have one wizard, trying to create a new one also results in an error.

  3. No.

  4. The site is https://anomicforum.xyz, newly registered users will be immediately directed to our wizard. It seems to be working fine for user submissions.

Hope this helps :smile:

Can you repeat the issue right now? If so could you open your web browser console and copy any red text (errors) in there and share them here.

1 Like

Yes, here is what I got in the console:

Uncaught TypeError: Cannot convert undefined or null to object
    at Function.values (<anonymous>)
    at fingerprint-report.js:61:1
    at _ (rsvp.js:434:1)
    at y (rsvp.js:420:1)
    at invoke (backburner.js.js:282:1)
    at d.flush (backburner.js.js:197:1)
    at p.flush (backburner.js.js:358:1)
    at B._end (backburner.js.js:798:1)
    at B.end (backburner.js.js:589:1)
    at B._run (backburner.js.js:842:1)
    at B.run (backburner.js.js:624:1)
    at e.run (index.js:75:1)
    at t.success (video-placeholder.js:19:1)
    at l (jquery.js:10:1)
    at Object.fireWith [as resolveWith] (jquery.js:10:1)
    at T (jquery.js:10:1)
    at XMLHttpRequest.<anonymous> (jquery.js:10:1)Understand this errorAI
/message-bus/9f8341944e9e4355b63e14e219f534a3/poll:1 
        
        
       Failed to load resource: the server responded with a status of 429 ()Understand this errorAI
topic.js:388 [PLUGIN discourse-custom-wizard-66d023d4761643891bf84b993f793e8229ef1c1e4f10a30e092d036c0fa181c4] TypeError: Cannot read properties of undefined (reading 'includes')
    at admin-wizards-wizard-show.js:58:1
    at Array.filter (<anonymous>)
    at e.setAfterTimeGroupIds (admin-wizards-wizard-show.js:58:1)
    at e.setupController (admin-wizards-wizard-show.js:46:1)
    at e.setup (route.js:444:1)
    at o (router_js.js:1544:1)
    at s.routeEnteredOrUpdated (router_js.js:1554:1)
    at s.setupContexts (router_js.js:1500:1)
    at s.finalizeTransition (router_js.js:1408:1)
    at router_js.js:1347:1
    at _ (rsvp.js:434:1)
    at y (rsvp.js:420:1)
    at invoke (backburner.js.js:282:1)
    at d.flush (backburner.js.js:197:1)
    at p.flush (backburner.js.js:358:1)
    at B._end (backburner.js.js:798:1)
    at B.end (backburner.js.js:589:1)
    at B._run (backburner.js.js:842:1)
    at B.run (backburner.js.js:624:1)
    at e.run (index.js:75:1)
    at t.success (video-placeholder.js:19:1)
    at l (jquery.js:10:1)
    at Object.fireWith [as resolveWith] (jquery.js:10:1)
    at T (jquery.js:10:1)
    at XMLHttpRequest.<anonymous> (jquery.js:10:1)
error @ topic.js:388Understand this errorAI
router.js:1141 Error while processing route: adminWizardsWizardShow Cannot read properties of undefined (reading 'includes') TypeError: Cannot read properties of undefined (reading 'includes')
    at https://anomicforum.xyz/assets/plugins/discourse-custom-wizard-66d023d4761643891bf84b993f793e8229ef1c1e4f10a30e092d036c0fa181c4.js:372:182
    at Array.filter (<anonymous>)
    at e.setAfterTimeGroupIds (https://anomicforum.xyz/assets/plugins/discourse-custom-wizard-66d023d4761643891bf84b993f793e8229ef1c1e4f10a30e092d036c0fa181c4.js:372:141)
    at e.setupController (https://anomicforum.xyz/assets/plugins/discourse-custom-wizard-66d023d4761643891bf84b993f793e8229ef1c1e4f10a30e092d036c0fa181c4.js:598:22)
    at e.setup (https://anomicforum.xyz/assets/vendor.d3163860318024d1a45415fcf58dbe4b-f6a0e31af09bc94252ffd2005ded43e70ee5ea44cbc0d90b36967a66fdf76b72.js:11:191226)
    at o (https://anomicforum.xyz/assets/vendor.d3163860318024d1a45415fcf58dbe4b-f6a0e31af09bc94252ffd2005ded43e70ee5ea44cbc0d90b36967a66fdf76b72.js:11:405774)
    at s.routeEnteredOrUpdated (https://anomicforum.xyz/assets/vendor.d3163860318024d1a45415fcf58dbe4b-f6a0e31af09bc94252ffd2005ded43e70ee5ea44cbc0d90b36967a66fdf76b72.js:11:405858)
    at s.setupContexts (https://anomicforum.xyz/assets/vendor.d3163860318024d1a45415fcf58dbe4b-f6a0e31af09bc94252ffd2005ded43e70ee5ea44cbc0d90b36967a66fdf76b72.js:11:405213)
    at s.finalizeTransition (https://anomicforum.xyz/assets/vendor.d3163860318024d1a45415fcf58dbe4b-f6a0e31af09bc94252ffd2005ded43e70ee5ea44cbc0d90b36967a66fdf76b72.js:11:404079)
    at https://anomicforum.xyz/assets/vendor.d3163860318024d1a45415fcf58dbe4b-f6a0e31af09bc94252ffd2005ded43e70ee5ea44cbc0d90b36967a66fdf76b72.js:11:403294
    at _ (https://anomicforum.xyz/assets/vendor.d3163860318024d1a45415fcf58dbe4b-f6a0e31af09bc94252ffd2005ded43e70ee5ea44cbc0d90b36967a66fdf76b72.js:11:412767)
    at y (https://anomicforum.xyz/assets/vendor.d3163860318024d1a45415fcf58dbe4b-f6a0e31af09bc94252ffd2005ded43e70ee5ea44cbc0d90b36967a66fdf76b72.js:11:412659)
    at invoke (https://anomicforum.xyz/assets/vendor.d3163860318024d1a45415fcf58dbe4b-f6a0e31af09bc94252ffd2005ded43e70ee5ea44cbc0d90b36967a66fdf76b72.js:11:358129)
    at d.flush (https://anomicforum.xyz/assets/vendor.d3163860318024d1a45415fcf58dbe4b-f6a0e31af09bc94252ffd2005ded43e70ee5ea44cbc0d90b36967a66fdf76b72.js:11:357206)
    at p.flush (https://anomicforum.xyz/assets/vendor.d3163860318024d1a45415fcf58dbe4b-f6a0e31af09bc94252ffd2005ded43e70ee5ea44cbc0d90b36967a66fdf76b72.js:11:358969)
    at B._end (https://anomicforum.xyz/assets/vendor.d3163860318024d1a45415fcf58dbe4b-f6a0e31af09bc94252ffd2005ded43e70ee5ea44cbc0d90b36967a66fdf76b72.js:11:364052)
    at B.end (https://anomicforum.xyz/assets/vendor.d3163860318024d1a45415fcf58dbe4b-f6a0e31af09bc94252ffd2005ded43e70ee5ea44cbc0d90b36967a66fdf76b72.js:11:361145)
    at B._run (https://anomicforum.xyz/assets/vendor.d3163860318024d1a45415fcf58dbe4b-f6a0e31af09bc94252ffd2005ded43e70ee5ea44cbc0d90b36967a66fdf76b72.js:11:364566)
    at B.run (https://anomicforum.xyz/assets/vendor.d3163860318024d1a45415fcf58dbe4b-f6a0e31af09bc94252ffd2005ded43e70ee5ea44cbc0d90b36967a66fdf76b72.js:11:361689)
    at e.run (https://anomicforum.xyz/assets/vendor.d3163860318024d1a45415fcf58dbe4b-f6a0e31af09bc94252ffd2005ded43e70ee5ea44cbc0d90b36967a66fdf76b72.js:11:216549)
    at t.success (https://anomicforum.xyz/assets/chunk.c2cb9ff5dbdd8cea5c38.d41d8cd9.js:52:5679)
    at l (https://anomicforum.xyz/assets/chunk.c2cb9ff5dbdd8cea5c38.d41d8cd9.js:129:24965)
    at Object.fireWith [as resolveWith] (https://anomicforum.xyz/assets/chunk.c2cb9ff5dbdd8cea5c38.d41d8cd9.js:129:25709)
    at T (https://anomicforum.xyz/assets/chunk.c2cb9ff5dbdd8cea5c38.d41d8cd9.js:129:77180)
    at XMLHttpRequest.<anonymous> (https://anomicforum.xyz/assets/chunk.c2cb9ff5dbdd8cea5c38.d41d8cd9.js:129:79634)
(anonymous) @ router.js:1141Understand this errorAI
rsvp.js:23 Uncaught TypeError: Cannot read properties of undefined (reading 'includes')
    at admin-wizards-wizard-show.js:58:1
    at Array.filter (<anonymous>)
    at e.setAfterTimeGroupIds (admin-wizards-wizard-show.js:58:1)
    at e.setupController (admin-wizards-wizard-show.js:46:1)
    at e.setup (route.js:444:1)
    at o (router_js.js:1544:1)
    at s.routeEnteredOrUpdated (router_js.js:1554:1)
    at s.setupContexts (router_js.js:1500:1)
    at s.finalizeTransition (router_js.js:1408:1)
    at router_js.js:1347:1
    at _ (rsvp.js:434:1)
    at y (rsvp.js:420:1)
    at invoke (backburner.js.js:282:1)
    at d.flush (backburner.js.js:197:1)
    at p.flush (backburner.js.js:358:1)
    at B._end (backburner.js.js:798:1)
    at B.end (backburner.js.js:589:1)
    at B._run (backburner.js.js:842:1)
    at B.run (backburner.js.js:624:1)
    at e.run (index.js:75:1)
    at t.success (video-placeholder.js:19:1)
    at l (jquery.js:10:1)
    at Object.fireWith [as resolveWith] (jquery.js:10:1)
    at T (jquery.js:10:1)
    at XMLHttpRequest.<anonymous> (jquery.js:10:1)

Please update to this commit and let me know if it fixes the issue.

1 Like

I’m happy to report that the issue has been fixed and all has become normal. Thanks! :smiley:

I may have spoke a bit too soon actually, unfortunately if I visit the onboarding wizard URL, it returns a blank wizard. (https://anomicforum.xyz/w/onboarding)

Image: (trust level limit )coop.pavilion.tech/uploads/db3994/original/2X/8/89f5efa8cbae1d1d0423ac6fb1523ea056f080d0.png

POLYFILL => User Agent Browser: Chrome, Version: 130.0.0.0
 POLYFILL => User Agent Browser: Chrome, Version: 130.0.0.0
chunk.bb22b247b452b93be801.d41d8cd9.js:1 ℹ️ Discourse v3.4.0.beta3-dev — https://github.com/discourse/discourse/commits/216845e4c7 — Ember v5.5.0
composer.js:874 Deprecation notice: [discourse/plugins/discourse-custom-wizard/discourse/templates/components/custom-wizard-composer-editor] Overriding component templates is deprecated, and will soon be disabled. Use plugin outlets, CSS, or other customization APIs instead. [deprecation id: discourse.component-template-overrides] [info: https://meta.discourse.org/t/247487]
a @ composer.js:874Understand this warningAI
composer.js:874 Deprecation notice: [discourse/plugins/discourse-custom-wizard/discourse/templates/components/custom-wizard-date-input] Overriding component templates is deprecated, and will soon be disabled. Use plugin outlets, CSS, or other customization APIs instead. [deprecation id: discourse.component-template-overrides] [info: https://meta.discourse.org/t/247487]
a @ composer.js:874Understand this warningAI
composer.js:874 Deprecation notice: [discourse/plugins/discourse-custom-wizard/discourse/templates/components/custom-wizard-date-time-input] Overriding component templates is deprecated, and will soon be disabled. Use plugin outlets, CSS, or other customization APIs instead. [deprecation id: discourse.component-template-overrides] [info: https://meta.discourse.org/t/247487]
a @ composer.js:874Understand this warningAI
composer.js:874 Deprecation notice: [discourse/plugins/discourse-custom-wizard/discourse/templates/components/custom-wizard-time-input] Overriding component templates is deprecated, and will soon be disabled. Use plugin outlets, CSS, or other customization APIs instead. [deprecation id: discourse.component-template-overrides] [info: https://meta.discourse.org/t/247487]
a @ composer.js:874Understand this warningAI
composer.js:874 Deprecation notice: [discourse/plugins/discourse-custom-wizard/discourse/templates/components/wizard-subscription-selector/wizard-subscription-selector-header] Overriding component templates is deprecated, and will soon be disabled. Use plugin outlets, CSS, or other customization APIs instead. [deprecation id: discourse.component-template-overrides] [info: https://meta.discourse.org/t/247487]
a @ composer.js:874Understand this warningAI
composer.js:874 Deprecation notice: [discourse/plugins/discourse-custom-wizard/discourse/templates/components/wizard-subscription-selector/wizard-subscription-selector-row] Overriding component templates is deprecated, and will soon be disabled. Use plugin outlets, CSS, or other customization APIs instead. [deprecation id: discourse.component-template-overrides] [info: https://meta.discourse.org/t/247487]
a @ composer.js:874Understand this warningAI
composer.js:874 Deprecation notice: [discourse/plugins/discourse-custom-wizard/discourse/templates/components/wizard-user-chooser/wizard-user-chooser-row] Overriding component templates is deprecated, and will soon be disabled. Use plugin outlets, CSS, or other customization APIs instead. [deprecation id: discourse.component-template-overrides] [info: https://meta.discourse.org/t/247487]
a @ composer.js:874Understand this warningAI
composer.js:874 Deprecation notice: [discourse/plugins/discourse-follow/discourse/templates/components/follow-post-stream] Overriding component templates is deprecated, and will soon be disabled. Use plugin outlets, CSS, or other customization APIs instead. [deprecation id: discourse.component-template-overrides] [info: https://meta.discourse.org/t/247487]
a @ composer.js:874Understand this warningAI
formatter.js:383 [THEME 78 'Topic List Like Column'] To prevent errors in tests, add a `pluginId` key to your `modifyClass` call. This will ensure the modification is only applied once.
eB @ formatter.js:383Understand this warningAI
 POLYFILL => User Agent Browser: Chrome, Version: 130.0.0.0
4 POLYFILL => User Agent Browser: Chrome, Version: 130.0.0.0

But, if I go directly to the wizard step, I get this: (https://anomicforum.xyz/w/onboarding/steps/step_5)

[PLUGIN discourse-custom-wizard-78f901a5694e3b70f811319fec6c198628c6e4a51747d2721728b5a509b92d9a] TypeError: Cannot read properties of undefined (reading 'completed')
    at e.afterModel (custom-wizard-step.js:27:1)
    at A.runAfterModelHook (router_js.js:720:1)
    at router_js.js:630:1
    at _ (rsvp.js:434:1)
    at y (rsvp.js:420:1)
    at invoke (backburner.js.js:282:1)
    at d.flush (backburner.js.js:197:1)
    at p.flush (backburner.js.js:358:1)
    at B._end (backburner.js.js:798:1)
    at B.end (backburner.js.js:589:1)
    at B._run (backburner.js.js:842:1)
    at B.run (backburner.js.js:624:1)
    at index.js:75:1
    at Object.success (video-placeholder.js:19:1)
    at l (jquery.js:10:1)
    at Object.fireWith [as resolveWith] (jquery.js:10:1)
    at T (jquery.js:10:1)
    at XMLHttpRequest.<anonymous> (jquery.js:10:1)
error @ topic.js:392
T @ router.js:1218
triggerEvent @ router.js:234
trigger @ router_js.js:438
transitionDidError @ router.js:267
(anonymous) @ router_js.js:253
_ @ rsvp.js:434
y @ rsvp.js:420
m @ rsvp.js:369
invoke @ backburner.js.js:282
flush @ backburner.js.js:197
flush @ backburner.js.js:358
_end @ backburner.js.js:798
end @ backburner.js.js:589
_run @ backburner.js.js:842
run @ backburner.js.js:624
(anonymous) @ index.js:75
(anonymous) @ video-placeholder.js:19
l @ jquery.js:10
fireWith @ jquery.js:10
T @ jquery.js:10
(anonymous) @ jquery.js:10
load
send @ jquery.js:10
ajax @ jquery.js:10
_ @ video-placeholder.js:19
(anonymous) @ rsvp.js:457
k @ rsvp.js:913
T @ video-placeholder.js:19
e.findCustomWizard @ custom-wizard.js:98
model @ custom-wizard.js:20
deserialize @ route.js:596
getModel @ router_js.js:793
(anonymous) @ router_js.js:627
_ @ rsvp.js:434
y @ rsvp.js:420
invoke @ backburner.js.js:282
flush @ backburner.js.js:197
flush @ backburner.js.js:358
_end @ backburner.js.js:798
(anonymous) @ backburner.js.js:523
Promise.then
(anonymous) @ backburner.js.js:26
flush @ index.js:40
_scheduleAutorun @ backburner.js.js:964
_ensureInstance @ backburner.js.js:955
schedule @ backburner.js.js:648
(anonymous) @ index.js:167
waitForDOMReady @ index.js:343
init @ index.js:251
b @ core.js:77
create @ core.js:401
(anonymous) @ start-app.js:4
b @ osano.js:2
value @ osano.js:2
(anonymous) @ discourse-boot.js:13
(anonymous) @ discourse-boot.js:1
Show 6 more frames
Show lessUnderstand this errorAI
router.js:1141 Error while processing route: customWizardStep Cannot read properties of undefined (reading 'completed') TypeError: Cannot read properties of undefined (reading 'completed')
    at e.afterModel (https://anomicforum.xyz/assets/plugins/discourse-custom-wizard-78f901a5694e3b70f811319fec6c198628c6e4a51747d2721728b5a509b92d9a.js:613:55)
    at A.runAfterModelHook (https://anomicforum.xyz/assets/vendor.d3163860318024d1a45415fcf58dbe4b-f6a0e31af09bc94252ffd2005ded43e70ee5ea44cbc0d90b36967a66fdf76b72.js:11:394672)
    at https://anomicforum.xyz/assets/vendor.d3163860318024d1a45415fcf58dbe4b-f6a0e31af09bc94252ffd2005ded43e70ee5ea44cbc0d90b36967a66fdf76b72.js:11:393376
    at _ (https://anomicforum.xyz/assets/vendor.d3163860318024d1a45415fcf58dbe4b-f6a0e31af09bc94252ffd2005ded43e70ee5ea44cbc0d90b36967a66fdf76b72.js:11:412767)
    at y (https://anomicforum.xyz/assets/vendor.d3163860318024d1a45415fcf58dbe4b-f6a0e31af09bc94252ffd2005ded43e70ee5ea44cbc0d90b36967a66fdf76b72.js:11:412659)
    at invoke (https://anomicforum.xyz/assets/vendor.d3163860318024d1a45415fcf58dbe4b-f6a0e31af09bc94252ffd2005ded43e70ee5ea44cbc0d90b36967a66fdf76b72.js:11:358129)
    at d.flush (https://anomicforum.xyz/assets/vendor.d3163860318024d1a45415fcf58dbe4b-f6a0e31af09bc94252ffd2005ded43e70ee5ea44cbc0d90b36967a66fdf76b72.js:11:357206)
    at p.flush (https://anomicforum.xyz/assets/vendor.d3163860318024d1a45415fcf58dbe4b-f6a0e31af09bc94252ffd2005ded43e70ee5ea44cbc0d90b36967a66fdf76b72.js:11:358969)
    at B._end (https://anomicforum.xyz/assets/vendor.d3163860318024d1a45415fcf58dbe4b-f6a0e31af09bc94252ffd2005ded43e70ee5ea44cbc0d90b36967a66fdf76b72.js:11:364052)
    at B.end (https://anomicforum.xyz/assets/vendor.d3163860318024d1a45415fcf58dbe4b-f6a0e31af09bc94252ffd2005ded43e70ee5ea44cbc0d90b36967a66fdf76b72.js:11:361145)
    at B._run (https://anomicforum.xyz/assets/vendor.d3163860318024d1a45415fcf58dbe4b-f6a0e31af09bc94252ffd2005ded43e70ee5ea44cbc0d90b36967a66fdf76b72.js:11:364566)
    at B.run (https://anomicforum.xyz/assets/vendor.d3163860318024d1a45415fcf58dbe4b-f6a0e31af09bc94252ffd2005ded43e70ee5ea44cbc0d90b36967a66fdf76b72.js:11:361689)
    at https://anomicforum.xyz/assets/vendor.d3163860318024d1a45415fcf58dbe4b-f6a0e31af09bc94252ffd2005ded43e70ee5ea44cbc0d90b36967a66fdf76b72.js:11:216549
    at Object.success (https://anomicforum.xyz/assets/chunk.bb22b247b452b93be801.d41d8cd9.js:54:5676)
    at l (https://anomicforum.xyz/assets/chunk.bb22b247b452b93be801.d41d8cd9.js:131:24965)
    at Object.fireWith [as resolveWith] (https://anomicforum.xyz/assets/chunk.bb22b247b452b93be801.d41d8cd9.js:131:25709)
    at T (https://anomicforum.xyz/assets/chunk.bb22b247b452b93be801.d41d8cd9.js:131:77180)
    at XMLHttpRequest.<anonymous> (https://anomicforum.xyz/assets/chunk.bb22b247b452b93be801.d41d8cd9.js:131:79634)
(anonymous) @ router.js:1141
error @ router.js:1091
T @ router.js:1232
triggerEvent @ router.js:234
trigger @ router_js.js:438
transitionDidError @ router.js:267
(anonymous) @ router_js.js:253
_ @ rsvp.js:434
y @ rsvp.js:420
m @ rsvp.js:369
invoke @ backburner.js.js:282
flush @ backburner.js.js:197
flush @ backburner.js.js:358
_end @ backburner.js.js:798
end @ backburner.js.js:589
_run @ backburner.js.js:842
run @ backburner.js.js:624
(anonymous) @ index.js:75
(anonymous) @ video-placeholder.js:19
l @ jquery.js:10
fireWith @ jquery.js:10
T @ jquery.js:10
(anonymous) @ jquery.js:10
load
send @ jquery.js:10
ajax @ jquery.js:10
_ @ video-placeholder.js:19
(anonymous) @ rsvp.js:457
k @ rsvp.js:913
T @ video-placeholder.js:19
e.findCustomWizard @ custom-wizard.js:98
model @ custom-wizard.js:20
deserialize @ route.js:596
getModel @ router_js.js:793
(anonymous) @ router_js.js:627
_ @ rsvp.js:434
y @ rsvp.js:420
invoke @ backburner.js.js:282
flush @ backburner.js.js:197
flush @ backburner.js.js:358
_end @ backburner.js.js:798
(anonymous) @ backburner.js.js:523
Promise.then
(anonymous) @ backburner.js.js:26
flush @ index.js:40
_scheduleAutorun @ backburner.js.js:964
_ensureInstance @ backburner.js.js:955
schedule @ backburner.js.js:648
(anonymous) @ index.js:167
waitForDOMReady @ index.js:343
init @ index.js:251
b @ core.js:77
create @ core.js:401
(anonymous) @ start-app.js:4
b @ osano.js:2
value @ osano.js:2
(anonymous) @ discourse-boot.js:13
(anonymous) @ discourse-boot.js:1
Show 6 more frames
Show lessUnderstand this errorAI
discourse-tag-banners.js:96 Uncaught TypeError: Cannot read properties of undefined (reading 'tag_id')
    at get shouldRender (discourse-tag-banners.js:96:38)
    at Te (index.js:1682:1)
    at reference.js:164:1
    at reference.js:125:1
    at validator.js:622:1
    at h (reference.js:124:1)
    at runtime.js:2074:1
    at reference.js:125:1
    at validator.js:622:1
    at h (reference.js:124:1)
    at Object.evaluate (runtime.js:2038:1)
    at Object.evaluate (runtime.js:1052:1)
    at It.evaluateSyscall (runtime.js:4204:1)
    at It.evaluateInner (runtime.js:4175:1)
    at It.evaluateOuter (runtime.js:4168:1)
    at Wt.next (runtime.js:4999:1)
    at Wt._execute (runtime.js:4986:1)
    at Wt.execute (runtime.js:4979:1)
    at Qt.sync (runtime.js:5046:1)
    at dr.render (index.js:4672:1)
    at index.js:4934:1
    at Nt (runtime.js:4080:1)
    at gr._renderRoots (index.js:4916:1)
    at gr._renderRootsTransaction (index.js:4960:1)
    at gr._renderRoot (index.js:4905:1)
    at gr._appendDefinition (index.js:4830:1)
    at gr.appendOutletView (index.js:4820:1)
    at invoke (backburner.js.js:282:1)
    at d.flush (backburner.js.js:197:1)
    at p.flush (backburner.js.js:358:1)
    at B._end (backburner.js.js:798:1)
    at B.end (backburner.js.js:589:1)
    at B._run (backburner.js.js:842:1)
    at B.run (backburner.js.js:624:1)
    at index.js:75:1
    at Object.success (video-placeholder.js:19:1)
    at l (jquery.js:10:1)
    at Object.fireWith [as resolveWith] (jquery.js:10:1)
    at T (jquery.js:10:1)
    at XMLHttpRequest.<anonymous> (jquery.js:10:1)
get shouldRender @ discourse-tag-banners.js:96
Te @ index.js:1682
(anonymous) @ reference.js:164
(anonymous) @ reference.js:125
(anonymous) @ validator.js:622
h @ reference.js:124
(anonymous) @ runtime.js:2074
(anonymous) @ reference.js:125
(anonymous) @ validator.js:622
h @ reference.js:124
(anonymous) @ runtime.js:2038
evaluate @ runtime.js:1052
evaluateSyscall @ runtime.js:4204
evaluateInner @ runtime.js:4175
evaluateOuter @ runtime.js:4168
next @ runtime.js:4999
_execute @ runtime.js:4986
execute @ runtime.js:4979
sync @ runtime.js:5046
(anonymous) @ index.js:4672
(anonymous) @ index.js:4934
Nt @ runtime.js:4080
_renderRoots @ index.js:4916
_renderRootsTransaction @ index.js:4960
_renderRoot @ index.js:4905
_appendDefinition @ index.js:4830
appendOutletView @ index.js:4820
invoke @ backburner.js.js:282
flush @ backburner.js.js:197
flush @ backburner.js.js:358
_end @ backburner.js.js:798
end @ backburner.js.js:589
_run @ backburner.js.js:842
run @ backburner.js.js:624
(anonymous) @ index.js:75
(anonymous) @ video-placeholder.js:19
l @ jquery.js:10
fireWith @ jquery.js:10
T @ jquery.js:10
(anonymous) @ jquery.js:10
load
send @ jquery.js:10
ajax @ jquery.js:10
_ @ video-placeholder.js:19
(anonymous) @ rsvp.js:457
k @ rsvp.js:913
T @ video-placeholder.js:19
e.findCustomWizard @ custom-wizard.js:98
model @ custom-wizard.js:20
deserialize @ route.js:596
getModel @ router_js.js:793
(anonymous) @ router_js.js:627
_ @ rsvp.js:434
y @ rsvp.js:420
invoke @ backburner.js.js:282
flush @ backburner.js.js:197
flush @ backburner.js.js:358
_end @ backburner.js.js:798
(anonymous) @ backburner.js.js:523
Promise.then
(anonymous) @ backburner.js.js:26
flush @ index.js:40
_scheduleAutorun @ backburner.js.js:964
_ensureInstance @ backburner.js.js:955
schedule @ backburner.js.js:648
(anonymous) @ index.js:167
waitForDOMReady @ index.js:343
init @ index.js:251
b @ core.js:77
create @ core.js:401
(anonymous) @ start-app.js:4
b @ osano.js:2
value @ osano.js:2
(anonymous) @ discourse-boot.js:13
(anonymous) @ discourse-boot.js:1
Show 6 more frames
Show lessUnderstand this errorAI
discourse-tag-banners.js:96 Uncaught TypeError: Cannot read properties of undefined (reading 'tag_id')
    at get shouldRender (discourse-tag-banners.js:96:38)
    at Te (index.js:1682:1)
    at reference.js:164:1
    at reference.js:125:1
    at validator.js:622:1
    at h (reference.js:124:1)
    at runtime.js:2074:1
    at reference.js:125:1
    at validator.js:622:1
    at h (reference.js:124:1)
    at Object.evaluate (runtime.js:2038:1)
    at Object.evaluate (runtime.js:1052:1)
    at It.evaluateSyscall (runtime.js:4204:1)
    at It.evaluateInner (runtime.js:4175:1)
    at It.evaluateOuter (runtime.js:4168:1)
    at Wt.next (runtime.js:4999:1)
    at Wt._execute (runtime.js:4986:1)
    at Wt.execute (runtime.js:4979:1)
    at Qt.sync (runtime.js:5046:1)
    at dr.render (index.js:4672:1)
    at index.js:4934:1
    at Nt (runtime.js:4080:1)
    at gr._renderRoots (index.js:4916:1)
    at gr._renderRootsTransaction (index.js:4960:1)
    at gr._revalidate (index.js:4992:1)
    at invoke (backburner.js.js:280:1)
    at d.flush (backburner.js.js:197:1)
    at p.flush (backburner.js.js:358:1)
    at B._end (backburner.js.js:798:1)
    at B.end (backburner.js.js:589:1)
    at B._run (backburner.js.js:842:1)
    at B.run (backburner.js.js:624:1)
    at index.js:75:1
    at Object.success (video-placeholder.js:19:1)
    at l (jquery.js:10:1)
    at Object.fireWith [as resolveWith] (jquery.js:10:1)
    at T (jquery.js:10:1)
    at XMLHttpRequest.<anonymous> (jquery.js:10:1)
get shouldRender @ discourse-tag-banners.js:96
Te @ index.js:1682
(anonymous) @ reference.js:164
(anonymous) @ reference.js:125
(anonymous) @ validator.js:622
h @ reference.js:124
(anonymous) @ runtime.js:2074
(anonymous) @ reference.js:125
(anonymous) @ validator.js:622
h @ reference.js:124
(anonymous) @ runtime.js:2038
evaluate @ runtime.js:1052
evaluateSyscall @ runtime.js:4204
evaluateInner @ runtime.js:4175
evaluateOuter @ runtime.js:4168
next @ runtime.js:4999
_execute @ runtime.js:4986
execute @ runtime.js:4979
sync @ runtime.js:5046
(anonymous) @ index.js:4672
(anonymous) @ index.js:4934
Nt @ runtime.js:4080
_renderRoots @ index.js:4916
_renderRootsTransaction @ index.js:4960
_revalidate @ index.js:4992
invoke @ backburner.js.js:280
flush @ backburner.js.js:197
flush @ backburner.js.js:358
_end @ backburner.js.js:798
end @ backburner.js.js:589
_run @ backburner.js.js:842
run @ backburner.js.js:624
(anonymous) @ index.js:75
(anonymous) @ video-placeholder.js:19
l @ jquery.js:10
fireWith @ jquery.js:10
T @ jquery.js:10
(anonymous) @ jquery.js:10
load
send @ jquery.js:10
ajax @ jquery.js:10
_ @ video-placeholder.js:19
(anonymous) @ rsvp.js:457
k @ rsvp.js:913
T @ video-placeholder.js:19
#Jn @ chat-api.js:574
listCurrentUserChannels @ chat-api.js:294
(anonymous) @ chat.js:166
loadChannels @ chat.js:165
(anonymous) @ chat-setup.js:128
eH @ formatter.js:383
m @ chat-setup.js:30
initialize @ chat-setup.js:179
(anonymous) @ chunk.bb22b247b452b93be801.d41d8cd9.js:1
(anonymous) @ index.js:145
(anonymous) @ dag-map.js:191
(anonymous) @ dag-map.js:120
(anonymous) @ dag-map.js:66
(anonymous) @ dag-map.js:72
_runInitializer @ index.js:158
runInstanceInitializers @ index.js:143
_bootSync @ instance.js:86
didBecomeReady @ index.js:602
invoke @ backburner.js.js:280
flush @ backburner.js.js:197
flush @ backburner.js.js:358
_end @ backburner.js.js:798
(anonymous) @ backburner.js.js:523
Show 6 more frames
Show lessUnderstand this errorAI
discourse-tag-banners.js:96 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'tag_id')
    at get shouldRender (discourse-tag-banners.js:96:38)
    at Te (index.js:1682:1)
    at reference.js:164:1
    at reference.js:125:1
    at validator.js:622:1
    at h (reference.js:124:1)
    at runtime.js:2074:1
    at reference.js:125:1
    at validator.js:622:1
    at h (reference.js:124:1)
    at Object.evaluate (runtime.js:2038:1)
    at Object.evaluate (runtime.js:1052:1)
    at It.evaluateSyscall (runtime.js:4204:1)
    at It.evaluateInner (runtime.js:4175:1)
    at It.evaluateOuter (runtime.js:4168:1)
    at Wt.next (runtime.js:4999:1)
    at Wt._execute (runtime.js:4986:1)
    at Wt.execute (runtime.js:4979:1)
    at Qt.sync (runtime.js:5046:1)
    at dr.render (index.js:4672:1)
    at index.js:4934:1
    at Nt (runtime.js:4080:1)
    at gr._renderRoots (index.js:4916:1)
    at gr._renderRootsTransaction (index.js:4960:1)
    at gr._revalidate (index.js:4992:1)
    at invoke (backburner.js.js:280:1)
    at d.flush (backburner.js.js:197:1)
    at p.flush (backburner.js.js:358:1)
    at B._end (backburner.js.js:798:1)
    at backburner.js.js:523:1
get shouldRender @ discourse-tag-banners.js:96
Te @ index.js:1682
(anonymous) @ reference.js:164
(anonymous) @ reference.js:125
(anonymous) @ validator.js:622
h @ reference.js:124
(anonymous) @ runtime.js:2074
(anonymous) @ reference.js:125
(anonymous) @ validator.js:622
h @ reference.js:124
(anonymous) @ runtime.js:2038
evaluate @ runtime.js:1052
evaluateSyscall @ runtime.js:4204
evaluateInner @ runtime.js:4175
evaluateOuter @ runtime.js:4168
next @ runtime.js:4999
_execute @ runtime.js:4986
execute @ runtime.js:4979
sync @ runtime.js:5046
(anonymous) @ index.js:4672
(anonymous) @ index.js:4934
Nt @ runtime.js:4080
_renderRoots @ index.js:4916
_renderRootsTransaction @ index.js:4960
_revalidate @ index.js:4992
invoke @ backburner.js.js:280
flush @ backburner.js.js:197
flush @ backburner.js.js:358
_end @ backburner.js.js:798
(anonymous) @ backburner.js.js:523
Promise.then
(anonymous) @ backburner.js.js:26
flush @ index.js:40
_scheduleAutorun @ backburner.js.js:964
_end @ backburner.js.js:804
(anonymous) @ backburner.js.js:523
Promise.then
(anonymous) @ backburner.js.js:26
flush @ index.js:40
_scheduleAutorun @ backburner.js.js:964
_end @ backburner.js.js:804
(anonymous) @ backburner.js.js:523
Promise.then
(anonymous) @ backburner.js.js:26
flush @ index.js:40
_scheduleAutorun @ backburner.js.js:964
_ensureInstance @ backburner.js.js:955
ensureInstance @ backburner.js.js:767
scheduleRevalidate @ index.js:3337
dirtyTag @ validator.js:368
R @ validator.js:440
M @ index.js:485
D @ index.js:521
Ae @ index.js:1796
Ce @ index.js:1772
set @ observable.js:23
subscribe @ composer.js:874Understand this errorAI
3discourse-tag-banners.js:96 Uncaught TypeError: Cannot read properties of undefined (reading 'tag_id')
    at get shouldRender (discourse-tag-banners.js:96:38)
    at Te (index.js:1682:1)
    at reference.js:164:1
    at reference.js:125:1
    at validator.js:622:1
    at h (reference.js:124:1)
    at runtime.js:2074:1
    at reference.js:125:1
    at validator.js:622:1
    at h (reference.js:124:1)
    at Object.evaluate (runtime.js:2038:1)
    at Object.evaluate (runtime.js:1052:1)
    at It.evaluateSyscall (runtime.js:4204:1)
    at It.evaluateInner (runtime.js:4175:1)
    at It.evaluateOuter (runtime.js:4168:1)
    at Wt.next (runtime.js:4999:1)
    at Wt._execute (runtime.js:4986:1)
    at Wt.execute (runtime.js:4979:1)
    at Qt.sync (runtime.js:5046:1)
    at dr.render (index.js:4672:1)
    at index.js:4934:1
    at Nt (runtime.js:4080:1)
    at gr._renderRoots (index.js:4916:1)
    at gr._renderRootsTransaction (index.js:4960:1)
    at gr._revalidate (index.js:4992:1)
    at invoke (backburner.js.js:280:1)
    at d.flush (backburner.js.js:197:1)
    at p.flush (backburner.js.js:358:1)
    at B._end (backburner.js.js:798:1)
    at B.end (backburner.js.js:589:1)
    at B._run (backburner.js.js:842:1)
    at B._join (backburner.js.js:819:1)
    at B.join (backburner.js.js:629:1)
    at l (index.js:81:1)
    at HTMLDocument.<anonymous> (index.js:118:1)
get shouldRender @ discourse-tag-banners.js:96
Te @ index.js:1682
(anonymous) @ reference.js:164
(anonymous) @ reference.js:125
(anonymous) @ validator.js:622
h @ reference.js:124
(anonymous) @ runtime.js:2074
(anonymous) @ reference.js:125
(anonymous) @ validator.js:622
h @ reference.js:124
(anonymous) @ runtime.js:2038
evaluate @ runtime.js:1052
evaluateSyscall @ runtime.js:4204
evaluateInner @ runtime.js:4175
evaluateOuter @ runtime.js:4168
next @ runtime.js:4999
_execute @ runtime.js:4986
execute @ runtime.js:4979
sync @ runtime.js:5046
(anonymous) @ index.js:4672
(anonymous) @ index.js:4934
Nt @ runtime.js:4080
_renderRoots @ index.js:4916
_renderRootsTransaction @ index.js:4960
_revalidate @ index.js:4992
invoke @ backburner.js.js:280
flush @ backburner.js.js:197
flush @ backburner.js.js:358
_end @ backburner.js.js:798
end @ backburner.js.js:589
_run @ backburner.js.js:842
_join @ backburner.js.js:819
join @ backburner.js.js:629
l @ index.js:81
(anonymous) @ index.js:118Understand this errorAI
VM691 content-scripts.js:1 POLYFILL => User Agent Browser: Chrome, Version: 130.0.0.0
VM697 content-scripts.js:1 POLYFILL => User Agent Browser: Chrome, Version: 130.0.0.0
VM702 content-scripts.js:1 POLYFILL => User Agent Browser: Chrome, Version: 130.0.0.0
VM709 content-scripts.js:1 POLYFILL => User Agent Browser: Chrome, Version: 130.0.0.0
42discourse-tag-banners.js:96 Uncaught TypeError: Cannot read properties of undefined (reading 'tag_id')
    at get shouldRender (discourse-tag-banners.js:96:38)
    at Te (index.js:1682:1)
    at reference.js:164:1
    at reference.js:125:1
    at validator.js:622:1
    at h (reference.js:124:1)
    at runtime.js:2074:1
    at reference.js:125:1
    at validator.js:622:1
    at h (reference.js:124:1)
    at Object.evaluate (runtime.js:2038:1)
    at Object.evaluate (runtime.js:1052:1)
    at It.evaluateSyscall (runtime.js:4204:1)
    at It.evaluateInner (runtime.js:4175:1)
    at It.evaluateOuter (runtime.js:4168:1)
    at Wt.next (runtime.js:4999:1)
    at Wt._execute (runtime.js:4986:1)
    at Wt.execute (runtime.js:4979:1)
    at Qt.sync (runtime.js:5046:1)
    at dr.render (index.js:4672:1)
    at index.js:4934:1
    at Nt (runtime.js:4080:1)
    at gr._renderRoots (index.js:4916:1)
    at gr._renderRootsTransaction (index.js:4960:1)
    at gr._revalidate (index.js:4992:1)
    at invoke (backburner.js.js:280:1)
    at d.flush (backburner.js.js:197:1)
    at p.flush (backburner.js.js:358:1)
    at B._end (backburner.js.js:798:1)
    at B.end (backburner.js.js:589:1)
    at B._run (backburner.js.js:842:1)
    at B._join (backburner.js.js:819:1)
    at B.join (backburner.js.js:629:1)
    at l (index.js:81:1)
    at HTMLDocument.<anonymous> (index.js:118:1)

There are multiple errors from multiple sources there. One of them is the Tag Banners Theme component. Could you please try disabling that component and see if some of the behaviour changes.

1 Like

Hello, after disabling the tag banners component it yields less errors here:

[PLUGIN discourse-custom-wizard-78f901a5694e3b70f811319fec6c198628c6e4a51747d2721728b5a509b92d9a] TypeError: Cannot read properties of undefined (reading 'completed')
    at e.afterModel (custom-wizard-step.js:27:1)
    at A.runAfterModelHook (router_js.js:720:1)
    at router_js.js:630:1
    at _ (rsvp.js:434:1)
    at y (rsvp.js:420:1)
    at invoke (backburner.js.js:282:1)
    at d.flush (backburner.js.js:197:1)
    at p.flush (backburner.js.js:358:1)
    at B._end (backburner.js.js:798:1)
    at B.end (backburner.js.js:589:1)
    at B._run (backburner.js.js:842:1)
    at B.run (backburner.js.js:624:1)
    at index.js:75:1
    at Object.success (video-placeholder.js:19:1)
    at l (jquery.js:10:1)
    at Object.fireWith [as resolveWith] (jquery.js:10:1)
    at T (jquery.js:10:1)
    at XMLHttpRequest.<anonymous> (jquery.js:10:1)
error @ topic.js:392
T @ router.js:1218
triggerEvent @ router.js:234
trigger @ router_js.js:438
transitionDidError @ router.js:267
(anonymous) @ router_js.js:253
_ @ rsvp.js:434
y @ rsvp.js:420
m @ rsvp.js:369
invoke @ backburner.js.js:282
flush @ backburner.js.js:197
flush @ backburner.js.js:358
_end @ backburner.js.js:798
end @ backburner.js.js:589
_run @ backburner.js.js:842
run @ backburner.js.js:624
(anonymous) @ index.js:75
(anonymous) @ video-placeholder.js:19
l @ jquery.js:10
fireWith @ jquery.js:10
T @ jquery.js:10
(anonymous) @ jquery.js:10
load
send @ jquery.js:10
ajax @ jquery.js:10
_ @ video-placeholder.js:19
(anonymous) @ rsvp.js:457
k @ rsvp.js:913
T @ video-placeholder.js:19
e.findCustomWizard @ custom-wizard.js:98
model @ custom-wizard.js:20
deserialize @ route.js:596
getModel @ router_js.js:793
(anonymous) @ router_js.js:627
_ @ rsvp.js:434
y @ rsvp.js:420
invoke @ backburner.js.js:282
flush @ backburner.js.js:197
flush @ backburner.js.js:358
_end @ backburner.js.js:798
(anonymous) @ backburner.js.js:523
Promise.then
(anonymous) @ backburner.js.js:26
flush @ index.js:40
_scheduleAutorun @ backburner.js.js:964
_ensureInstance @ backburner.js.js:955
schedule @ backburner.js.js:648
(anonymous) @ index.js:167
waitForDOMReady @ index.js:343
init @ index.js:251
b @ core.js:77
create @ core.js:401
(anonymous) @ start-app.js:4
b @ osano.js:2
value @ osano.js:2
(anonymous) @ discourse-boot.js:13
(anonymous) @ discourse-boot.js:1
Show 6 more frames
Show lessUnderstand this errorAI
router.js:1141 Error while processing route: customWizardStep Cannot read properties of undefined (reading 'completed') TypeError: Cannot read properties of undefined (reading 'completed')
    at e.afterModel (https://anomicforum.xyz/assets/plugins/discourse-custom-wizard-78f901a5694e3b70f811319fec6c198628c6e4a51747d2721728b5a509b92d9a.js:613:55)
    at A.runAfterModelHook (https://anomicforum.xyz/assets/vendor.d3163860318024d1a45415fcf58dbe4b-f6a0e31af09bc94252ffd2005ded43e70ee5ea44cbc0d90b36967a66fdf76b72.js:11:394672)
    at https://anomicforum.xyz/assets/vendor.d3163860318024d1a45415fcf58dbe4b-f6a0e31af09bc94252ffd2005ded43e70ee5ea44cbc0d90b36967a66fdf76b72.js:11:393376
    at _ (https://anomicforum.xyz/assets/vendor.d3163860318024d1a45415fcf58dbe4b-f6a0e31af09bc94252ffd2005ded43e70ee5ea44cbc0d90b36967a66fdf76b72.js:11:412767)
    at y (https://anomicforum.xyz/assets/vendor.d3163860318024d1a45415fcf58dbe4b-f6a0e31af09bc94252ffd2005ded43e70ee5ea44cbc0d90b36967a66fdf76b72.js:11:412659)
    at invoke (https://anomicforum.xyz/assets/vendor.d3163860318024d1a45415fcf58dbe4b-f6a0e31af09bc94252ffd2005ded43e70ee5ea44cbc0d90b36967a66fdf76b72.js:11:358129)
    at d.flush (https://anomicforum.xyz/assets/vendor.d3163860318024d1a45415fcf58dbe4b-f6a0e31af09bc94252ffd2005ded43e70ee5ea44cbc0d90b36967a66fdf76b72.js:11:357206)
    at p.flush (https://anomicforum.xyz/assets/vendor.d3163860318024d1a45415fcf58dbe4b-f6a0e31af09bc94252ffd2005ded43e70ee5ea44cbc0d90b36967a66fdf76b72.js:11:358969)
    at B._end (https://anomicforum.xyz/assets/vendor.d3163860318024d1a45415fcf58dbe4b-f6a0e31af09bc94252ffd2005ded43e70ee5ea44cbc0d90b36967a66fdf76b72.js:11:364052)
    at B.end (https://anomicforum.xyz/assets/vendor.d3163860318024d1a45415fcf58dbe4b-f6a0e31af09bc94252ffd2005ded43e70ee5ea44cbc0d90b36967a66fdf76b72.js:11:361145)
    at B._run (https://anomicforum.xyz/assets/vendor.d3163860318024d1a45415fcf58dbe4b-f6a0e31af09bc94252ffd2005ded43e70ee5ea44cbc0d90b36967a66fdf76b72.js:11:364566)
    at B.run (https://anomicforum.xyz/assets/vendor.d3163860318024d1a45415fcf58dbe4b-f6a0e31af09bc94252ffd2005ded43e70ee5ea44cbc0d90b36967a66fdf76b72.js:11:361689)
    at https://anomicforum.xyz/assets/vendor.d3163860318024d1a45415fcf58dbe4b-f6a0e31af09bc94252ffd2005ded43e70ee5ea44cbc0d90b36967a66fdf76b72.js:11:216549
    at Object.success (https://anomicforum.xyz/assets/chunk.bb22b247b452b93be801.d41d8cd9.js:54:5676)
    at l (https://anomicforum.xyz/assets/chunk.bb22b247b452b93be801.d41d8cd9.js:131:24965)
    at Object.fireWith [as resolveWith] (https://anomicforum.xyz/assets/chunk.bb22b247b452b93be801.d41d8cd9.js:131:25709)
    at T (https://anomicforum.xyz/assets/chunk.bb22b247b452b93be801.d41d8cd9.js:131:77180)
    at XMLHttpRequest.<anonymous> (https://anomicforum.xyz/assets/chunk.bb22b247b452b93be801.d41d8cd9.js:131:79634)
(anonymous) @ router.js:1141
error @ router.js:1091
T @ router.js:1232
triggerEvent @ router.js:234
trigger @ router_js.js:438
transitionDidError @ router.js:267
(anonymous) @ router_js.js:253
_ @ rsvp.js:434
y @ rsvp.js:420
m @ rsvp.js:369
invoke @ backburner.js.js:282
flush @ backburner.js.js:197
flush @ backburner.js.js:358
_end @ backburner.js.js:798
end @ backburner.js.js:589
_run @ backburner.js.js:842
run @ backburner.js.js:624
(anonymous) @ index.js:75
(anonymous) @ video-placeholder.js:19
l @ jquery.js:10
fireWith @ jquery.js:10
T @ jquery.js:10
(anonymous) @ jquery.js:10
load
send @ jquery.js:10
ajax @ jquery.js:10
_ @ video-placeholder.js:19
(anonymous) @ rsvp.js:457
k @ rsvp.js:913
T @ video-placeholder.js:19
e.findCustomWizard @ custom-wizard.js:98
model @ custom-wizard.js:20
deserialize @ route.js:596
getModel @ router_js.js:793
(anonymous) @ router_js.js:627
_ @ rsvp.js:434
y @ rsvp.js:420
invoke @ backburner.js.js:282
flush @ backburner.js.js:197
flush @ backburner.js.js:358
_end @ backburner.js.js:798
(anonymous) @ backburner.js.js:523
Promise.then
(anonymous) @ backburner.js.js:26
flush @ index.js:40
_scheduleAutorun @ backburner.js.js:964
_ensureInstance @ backburner.js.js:955
schedule @ backburner.js.js:648
(anonymous) @ index.js:167
waitForDOMReady @ index.js:343
init @ index.js:251
b @ core.js:77
create @ core.js:401
(anonymous) @ start-app.js:4
b @ osano.js:2
value @ osano.js:2
(anonymous) @ discourse-boot.js:13
(anonymous) @ discourse-boot.js:1
Show 6 more frames
Show lessUnderstand this errorAI
rsvp.js:23 Uncaught TypeError: Cannot read properties of undefined (reading 'completed')
    at e.afterModel (custom-wizard-step.js:27:1)
    at A.runAfterModelHook (router_js.js:720:1)
    at router_js.js:630:1
    at _ (rsvp.js:434:1)
    at y (rsvp.js:420:1)
    at invoke (backburner.js.js:282:1)
    at d.flush (backburner.js.js:197:1)
    at p.flush (backburner.js.js:358:1)
    at B._end (backburner.js.js:798:1)
    at B.end (backburner.js.js:589:1)
    at B._run (backburner.js.js:842:1)
    at B.run (backburner.js.js:624:1)
    at index.js:75:1
    at Object.success (video-placeholder.js:19:1)
    at l (jquery.js:10:1)
    at Object.fireWith [as resolveWith] (jquery.js:10:1)
    at T (jquery.js:10:1)
    at XMLHttpRequest.<anonymous> (jquery.js:10:1)
afterModel @ custom-wizard-step.js:27
runAfterModelHook @ router_js.js:720
(anonymous) @ router_js.js:630
_ @ rsvp.js:434
y @ rsvp.js:420
invoke @ backburner.js.js:282
flush @ backburner.js.js:197
flush @ backburner.js.js:358
_end @ backburner.js.js:798
end @ backburner.js.js:589
_run @ backburner.js.js:842
run @ backburner.js.js:624
(anonymous) @ index.js:75
(anonymous) @ video-placeholder.js:19
l @ jquery.js:10
fireWith @ jquery.js:10
T @ jquery.js:10
(anonymous) @ jquery.js:10
load
send @ jquery.js:10
ajax @ jquery.js:10
_ @ video-placeholder.js:19
(anonymous) @ rsvp.js:457
k @ rsvp.js:913
T @ video-placeholder.js:19
e.findCustomWizard @ custom-wizard.js:98
model @ custom-wizard.js:20
deserialize @ route.js:596
getModel @ router_js.js:793
(anonymous) @ router_js.js:627
_ @ rsvp.js:434
y @ rsvp.js:420
invoke @ backburner.js.js:282
flush @ backburner.js.js:197
flush @ backburner.js.js:358
_end @ backburner.js.js:798
(anonymous) @ backburner.js.js:523
Promise.then
(anonymous) @ backburner.js.js:26
flush @ index.js:40
_scheduleAutorun @ backburner.js.js:964
_ensureInstance @ backburner.js.js:955
schedule @ backburner.js.js:648
(anonymous) @ index.js:167
waitForDOMReady @ index.js:343
init @ index.js:251
b @ core.js:77
create @ core.js:401
(anonymous) @ start-app.js:4
b @ osano.js:2
value @ osano.js:2
(anonymous) @ discourse-boot.js:13
(anonymous) @ discourse-boot.js:1
Show 6 more frames
Show lessUnderstand this errorAI
VM585 content-scripts.js:1 POLYFILL => User Agent Browser: Chrome, Version: 130.0.0.0
VM591 content-scripts.js:1 POLYFILL => User Agent Browser: Chrome, Version: 130.0.0.0
VM596 content-scripts.js:1 POLYFILL => User Agent Browser: Chrome, Version: 130.0.0.0
VM603 content-scripts.js:1 POLYFILL => User Agent Browser: Chrome, Version: 130.0.0.0
about:blank:1 Uncaught (in promise) Error: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
```

Could you PM me your wizard json? You can export it in the manager. It’ll help me to debug this quicker. Thanks.

1 Like

No problem, one moment please.

The only issue I can reproduce with your wizard is an issue with the upload field component. I’ve addressed that. Please update and let me know how you go.

1 Like

Are you referring to the field where it asks the user in the wizard to upload an image to be their profile picture? Just want to confirm, thanks.

Nevermind, it seems like that commit you did has solved the issue. The reason why I kept getting that error was actually because the wizard was set so the user could only do it once, but instead of giving a message saying it was already completed it was an ugly error or UX bug instead.

Many thanks for the help @angus.

I’ll keep playing around with the wizards plugin to make sure it’s functioning smoothly, but for now I think this is solved.

1 Like