Favorites.plugin.updateAllLists length undefined error
-
We’re seeing the console.log error pasted below. This only happens when the user has no bookmarks. It seems to start after the last bookmark is removed. Upon refreshing the page the error stops. It seems that in the updateAllLists() function, plugin.userfavorites.length is presumed to be an array which it is normally, but not if the user has just removed their last bookmark.
simple-favorites.min.js?ver=1.2.3:287 Uncaught TypeError: Cannot read property ‘length’ of undefined
at Favorites.plugin.updateAllLists (simple-favorites.min.js?ver=1.2.3:287)
at Object.success (simple-favorites.min.js?ver=1.2.3:212)
at i (jquery-3.2.1.min.js?ver=3.2.1:2)
at Object.fireWith [as resolveWith] (jquery-3.2.1.min.js?ver=3.2.1:2)
at A (jquery-3.2.1.min.js?ver=3.2.1:4)
at XMLHttpRequest.<anonymous> (jquery-3.2.1.min.js?ver=3.2.1:4)The page I need help with: [log in to see the link]
- The topic ‘Favorites.plugin.updateAllLists length undefined error’ is closed to new replies.