You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
on load... app-embed-block.js:320 Uncaught TypeError: Cannot read properties of null (reading 'querySelector') at updatePriceAndSellingPlanInfo (app-embed-block.js:320:44) at HTMLDocument.<anonymous> (app-embed-block.js:3:3)
when selecting different subscription plan options
app-embed-block.js:164 Uncaught TypeError: Cannot set properties of null (setting 'checked') at app-embed-block.js:164:21 at Array.forEach (<anonymous>) at selectSellingPlanAndGroupRadios (app-embed-block.js:163:17) at handleRadioButtonChange (app-embed-block.js:137:5) at HTMLInputElement.<anonymous> (app-embed-block.js:12:7)
Describe the expected behavior
It shouldn't be throwing errors when null
Version information (Dawn, browsers and operating systems)
Dawn Version: 15.0.2
Chrome Version 27.0.6533.100 (Official Build) (arm64)
macOS Version 14.5
Possible solution
Additional context/screenshots
on load
on selling plan change
seems to go away when disabling subscription widget in "App embeds" on theme customizer
The text was updated successfully, but these errors were encountered:
It was found out that the error occurs when a variant and a selling plan that does not include this variant are sent to the api.
Api in this case returns only ‘sections’ and JS throws an error. @drewlonious Check/fix your selling plan
Describe the current behavior
on load...
app-embed-block.js:320 Uncaught TypeError: Cannot read properties of null (reading 'querySelector') at updatePriceAndSellingPlanInfo (app-embed-block.js:320:44) at HTMLDocument.<anonymous> (app-embed-block.js:3:3)
when selecting different subscription plan options
app-embed-block.js:164 Uncaught TypeError: Cannot set properties of null (setting 'checked') at app-embed-block.js:164:21 at Array.forEach (<anonymous>) at selectSellingPlanAndGroupRadios (app-embed-block.js:163:17) at handleRadioButtonChange (app-embed-block.js:137:5) at HTMLInputElement.<anonymous> (app-embed-block.js:12:7)
Describe the expected behavior
It shouldn't be throwing errors when null
Version information (Dawn, browsers and operating systems)
Possible solution
Additional context/screenshots
on load
on selling plan change
seems to go away when disabling subscription widget in "App embeds" on theme customizer
The text was updated successfully, but these errors were encountered: