Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Web Stories Cannot read properties of null (reading 'setState') #38539

Closed
DanielCryptoK opened this issue Nov 10, 2022 · 4 comments
Closed

Web Stories Cannot read properties of null (reading 'setState') #38539

DanielCryptoK opened this issue Nov 10, 2022 · 4 comments

Comments

@DanielCryptoK
Copy link

Description

Error below

amp-story.js:474

Uncaught TypeError: Cannot read properties of null (reading 'setState')
at jn.Gb (amp-story.js:474:24)
at jn.Io (amp-story.js:1771:52)
at amp-story.js:792:53
at Es.fire (observable.js:63:7)
at zs.ai (ampdoc-impl.js:655:37)
at zs.overrideVisibilityState (ampdoc-impl.js:562:12)
at Object.tl (viewer-impl.js:535:17)
at Object.receiveMessage (viewer-impl.js:695:12)
at amp-viewer-integration.js:198:21
at wt.q (messaging.js:416:21)

Reproduction Steps

Go to https://bitcoin-casino-no-deposit-bonus.com/web-stories/bc-game-review/ right click and see console errors

Relevant Logs

No response

Browser(s) Affected

No response

OS(s) Affected

No response

Device(s) Affected

No response

AMP Version Affected

No response

@newmuis
Copy link
Contributor

newmuis commented Nov 10, 2022

Can you describe the user impact of this bug to help prioritization? Is it solely a developer console error? Or is there some user-facing behavior that does not work?

@DanielCryptoK
Copy link
Author

I think it is just a developer console error, but it maybe impacting google bot crawling web stories.

The bug only shows on web stories.

@newmuis
Copy link
Contributor

newmuis commented Nov 10, 2022

I can confirm this would not impact bots' ability to render, scrape, or ingest story content. So, it seems it's just the error condition.

@newmuis newmuis changed the title Web Stories And AMP Bug Web Stories Cannot read properties of null (reading 'setState') Nov 10, 2022
@newmuis newmuis changed the title Web Stories Cannot read properties of null (reading 'setState') Web Stories Cannot read properties of null (reading 'setState') Nov 10, 2022
@ychsieh
Copy link
Contributor

ychsieh commented Sep 14, 2023

This should be fixed by #39350. Closing it.

@ychsieh ychsieh closed this as completed Sep 14, 2023
@ychsieh ychsieh self-assigned this Sep 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants