cletusc / Userscript--Twitch-Chat-Emotes

Adds a button to Twitch that allows you to "click-to-insert" an emote.
http://cletusc.github.io/Userscript--Twitch-Chat-Emotes/
MIT License
36 stars 20 forks source link

Console errors in BTTV #99

Closed EhsanKia closed 7 years ago

EhsanKia commented 7 years ago

The emote menu seems to be throwing some errors recently:

betterttv.js?0.6009572023012004:240 Uncaught TypeError: Cannot read property 'get' of null
    at https://cdn.betterttv.net/betterttv.js?0.6009572023012004:240:26470
    at Array.some (native)
    at Object.o.get (https://cdn.betterttv.net/betterttv.js?0.6009572023012004:240:26430)
    at n.onEmotesChange (https://cdn.betterttv.net/betterttv.js?0.6009572023012004:241:3838)

Seems to be around here: https://github.com/cletusc/Userscript--Twitch-Chat-Emotes/blob/5fbf5076906840216590435146fc0a8034c3d3e6/src/modules/twitch-api.js#L77

Any chance you could look into it?

sunnyphp commented 7 years ago

Plugin not working now. They throw error in console and stops loading stream window (just blank window). sample

cletusc commented 7 years ago

Are you able to turn on debugging, refresh, and post what it logs?

This may have already been fixed by v2.1.4 released a couple weeks ago; specifically, commit 40bb3eb5173c1a4ad9297c046f12e458cd2aa3cc should have fixed this, but please let me know what your debugging says and it should help confirm.

sunnyphp commented 7 years ago

Oh, sorry, I'm using version 1.1.4 :smile:

cletusc commented 7 years ago

Old old version--get with the times! 😆