Uncaught TypeError: Cannot read property ‘posts’ of undefined
-
When I click to “favorite” a post, I am getting this error in console:
Getting a “Uncaught TypeError: Cannot read property ‘posts’ of undefined”
The favorite was successfully saved.
favorites.js?ver=2.1.6:631 Object {status: “success”, favorite_data: Object, favorites: Array(1)}
favorites.js?ver=2.1.6:776 Uncaught TypeError: Cannot read property ‘posts’ of undefined
at Favorites.ButtonUpdater.plugin.setButtonData (favorites.js?ver=2.1.6:776)
at Favorites.ButtonUpdater.plugin.updateAllButtons (favorites.js?ver=2.1.6:749)
at HTMLDocument.<anonymous> (favorites.js?ver=2.1.6:730)
at HTMLDocument.dispatch (jquery.js?ver=1.12.4:3)
at HTMLDocument.r.handle (jquery.js?ver=1.12.4:3)
at Object.trigger (jquery.js?ver=1.12.4:3)
at Object.a.event.trigger (jquery-migrate.min.js?ver=1.4.1:2)
at HTMLDocument.<anonymous> (jquery.js?ver=1.12.4:3)
at Function.each (jquery.js?ver=1.12.4:2)
at a.fn.init.each (jquery.js?ver=1.12.4:2)- This topic was modified 7 years, 8 months ago by .
- This topic was modified 7 years, 8 months ago by .
- This topic was modified 7 years, 8 months ago by .
- This topic was modified 7 years, 8 months ago by .
- This topic was modified 7 years, 8 months ago by .
- This topic was modified 7 years, 8 months ago by .
- The topic ‘Uncaught TypeError: Cannot read property ‘posts’ of undefined’ is closed to new replies.