scripting / feedBase

A project to get feeds into a base.
MIT License
33 stars 3 forks source link

Uncaught TypeError: Cannot read property 'length' of undefined #34

Closed palfrey closed 6 years ago

palfrey commented 6 years ago

On the front page, not logged in I get:

Uncaught TypeError: Cannot read property 'length' of undefined
    at code.js:680
    at getMySubscriptions (code.js:229)
    at viewHotlistWithCheckboxes (code.js:679)
    at finishStartup (code.js:815)
    at startup (code.js:857)
    at HTMLDocument.<anonymous> ((index):220)
    at c (jquery-1.9.1.min.js:3)
    at Object.fireWith [as resolveWith] (jquery-1.9.1.min.js:3)
    at Function.ready (jquery-1.9.1.min.js:3)
    at HTMLDocument.H (jquery-1.9.1.min.js:3)

The relevant code line is console.log ("viewHotlistWithCheckboxes: mySubs.length == " + mySubs.length); and mySubs is the problem variable

scripting commented 6 years ago

Thanks for the excellent report.

I fixed the problem. Let me know if you spot any others. ;-)

On Sun, Apr 15, 2018 at 3:17 PM Tom Parker notifications@github.com wrote:

On the front page, not logged in I get:

Uncaught TypeError: Cannot read property 'length' of undefined at code.js:680 at getMySubscriptions (code.js:229) at viewHotlistWithCheckboxes (code.js:679) at finishStartup (code.js:815) at startup (code.js:857) at HTMLDocument. ((index):220) at c (jquery-1.9.1.min.js:3) at Object.fireWith [as resolveWith] (jquery-1.9.1.min.js:3) at Function.ready (jquery-1.9.1.min.js:3) at HTMLDocument.H (jquery-1.9.1.min.js:3)

The relevant code line is console.log ("viewHotlistWithCheckboxes: mySubs.length == " + mySubs.length); and mySubs is the problem variable

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/scripting/feedBase/issues/34, or mute the thread https://github.com/notifications/unsubscribe-auth/ABm9O3Y2iBh2KvU7B2cA82P-qJq9euhFks5to5y5gaJpZM4TVmxJ .

palfrey commented 6 years ago

Not a problem :) Looks all fixed to me as well