I'm using embedded twitter publish feature on my wordpress site in my sidebar. Its working sometimes without problems but sometimes its not working and giving an error in my console which is:
modules.c7def0268c66f6a548ed.js:1 TypeError: Cannot read properties of undefined (reading 'height')
at 1.d77d8092171c9a9ccc4c.js:1:1055103
at ve (1.d77d8092171c9a9ccc4c.js:1:1055145)
at oa (modules.c7def0268c66f6a548ed.js:1:230702)
at ql (modules.c7def0268c66f6a548ed.js:1:283160)
at Cu (modules.c7def0268c66f6a548ed.js:1:270334)
at xu (modules.c7def0268c66f6a548ed.js:1:270262)
at ku (modules.c7def0268c66f6a548ed.js:1:270125)
at gu (modules.c7def0268c66f6a548ed.js:1:267091)
at modules.c7def0268c66f6a548ed.js:1:216470
at GGKn.t.unstable_runWithPriority (modules.c7def0268c66f6a548ed.js:1:107996)
And also its showing "There is a problem. Please try again later." text inside the embedded area. Its totally random, sometimes its working, sometimes not.
The code i'm using:
<a class="twitter-timeline" href="https://twitter.com/twitter" data-widget-id="644528552445128704" data-chrome="nofooter noborders transparent" width="100%" height="500">Twitter'da takip et!</a>
Here is some pictures:
- Error message: https://i.stack.imgur.com/ejXrt.png
- Console error: https://i.stack.imgur.com/kOJe5.png
- When it works: https://i.stack.imgur.com/VjUlv.png