-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Error: "Cannot read property 'create' of undefined" #17997
Comments
Seen this error before. Originated from For some reason, it seems that for info = constructors[nodeNames.get(self.constructor)]; We occasionally pass /to @jridgewell |
You can ignore this, it'll continue to work regardless. We'll be releasing #17205 soon, which will fix the underlying issue. |
Thanks @kevinkassimo and @jridgewell . I see #17205 is merged to |
I can still test this in the current production and new canary also. @jridgewell please check. Thank you. |
It's still there. Fix will involve moving to a new Custom Elements polyfill, which I'll be doing testing in the next week. |
@jridgewell did you managed to test this last week? Did it worked well? Thanks |
The test suite fails due to a difference in the old polyfill (which depended on the V0 native in our test suite, because we run our tests in Chrome), and the polyfill. We have a way to fix it, and I'll be working on it soon. |
@jridgewell did you get a chance to work on the fix? Did the tested passed? |
This is a high priority issue but it hasn't been updated in awhile. @jridgewell Do you have any updates? |
This is a high priority issue but it hasn't been updated in awhile. @jridgewell Do you have any updates? |
1 similar comment
This is a high priority issue but it hasn't been updated in awhile. @jridgewell Do you have any updates? |
What's the status of this issue? If the error is expected, is it possible to at least silence it so that it doesn't add unnecessary noise and causes alarm among developers? |
I've seen several people get sidetracked in investigations, including me at least once, where they start trying to reproduce an issue, hit this error, and then think the error is responsible (because why would AMP throw an error when everything is working normally?) |
We have this prioritized for this quarter, likely starting in Feb. |
I've now seen two more situations where this confused people trying to debug unrelated issues. |
This should be higher than P3 |
@jridgewell I'm seeing a significant (400x) increase in volume in the error with the latest canary. I know you mentioned that there shouldn't be any problem caused by this error, but the increase in errors seems to be a bit odd to me. Not sure if there is anything odd going on here. Edit: it seems like the change in volume might be due to us going back to the original custom elements polyfill. |
Did @ampproject/a4a team start shipping FIE in more browsers? Otherwise, it's safe to ignore.
We never actually turned on the new polyfill, it was just removed from prod builds to save space. We'll be doing the CE experiment in the next few months, likely. |
Still checking to see if anyone has looked into this issue. This bug is still out in the wild for amp ads. If you send me a message I can send you a staging URL revealing the error regularly. |
We already have the fix, but it's not been deployed yet. We'll be doing it soon. In the meantime, this error has no effect on the page, you can safely ignore it. |
Thank you!!!! Much appreciated. |
Is the fix already deployed? We still see this error message in console. |
The fix is still waiting to go out into experiment phase. We'll be doing that sometime this quarter. |
Ping on this. It's not urgent or critical but the first time I came across this it's still annoying since I thought something was wrong. Thanks. |
The experiment is live (though it's not possible to opt into receiving the experimental code). Initial results look good, but we still need more time before shipping this wider. |
FYI this came up again today, where someone spent a long time debugging down the wrong path thinking that this error message was the reason an unrelated thing wasn't working |
#25141 We're close! |
Closed by #25141. |
Related: #17205
What's the issue?
Console error is showing on the AMP pages, which is blocking the amp-ad and amp-iframe contents.
How do we reproduce the issue?
https://www.thesun.co.uk/motors/7175820/true-cost-owning-car-revealed-east-anglians/amp
On the above page we can able to see the console errors which sometime disappear. But on few continues refreshed we can able to see the error.
Which AMP version is affected?
AMP ⚡ HTML – Version 1536699515199
When I have raised this issue with WordPress VIP, they mentioned as
The text was updated successfully, but these errors were encountered: