ampproject / amphtml

The AMP web component framework.
https://amp.dev
Apache License 2.0
14.89k stars 3.89k forks source link

Cannot read property 'applyToElement' of undefined #27779

Closed Enriqe closed 4 years ago

Enriqe commented 4 years ago
  1. Opt-in to AMP version 2004142327160
  2. Load https://www.nationalgeographic.com/amp-stories/stonewall-riots-50th-anniversary-lgbt-gay-pride-stories-resistance-resilience/
  3. Navigate to page with video (pg 4)
  4. Error should show
error.js:208 Cannot read property 'applyToElement' of undefined
rf  @   error.js:208
Promise.catch (async)       
f.delay @   timer-impl.js:70
Tf  @   media-pool.js:972
(anonymous) @   media-pool.js:965

/cc @ampproject/wg-stories

Enriqe commented 4 years ago

Closed via #27782

caroqliu commented 4 years ago

Error appears to still occur: go/ampe/CM_kydGTz6i3FA

gmajoulet commented 4 years ago

Thanks Caroline! I can't repro manually, I'll keep monitoring this over the next 24h.

gmajoulet commented 4 years ago

I'm not 100% sure how to read this but it looks like the errors come from old 1p releases. It doesn't look like it happens in stable today, and I double checked that the faulty PR was correctly reverted.