JS error after wordpress update
This support request was posted in Smart by springer25
- springer25 January 14, 2021 at 5:13 pm
After updating WordPress to v 5.6 i get this js error in console
VM433:1 Uncaught TypeError: Cannot read property 'top' of undefined at e.refresh (<anonymous>:1:5533) at e.add (<anonymous>:1:2919) at new t (<anonymous>:1:827) at Text.<anonymous> (<anonymous>:1:8705) at Function.each (jquery.min.js?ver=3.5.1:2) at s.fn.init.each (jquery.min.js?ver=3.5.1:2) at s.fn.init.waypoint (<anonymous>:1:8576) at r (nice-scripts.min.js?ver=5.6:1) at s.fn.init.$.fn.NiceWaypoint (nice-scripts.min.js?ver=5.6:1) at Text.<anonymous> (nice-scripts.min.js?ver=5.6:1)
This error occurred when lazyloading of images on scroll is happened.
thnxJuanfra Aldasoro January 15, 2021 at 12:40 pm
Thank you for reaching out. I hope you’re doing well.
I’m sorry to hear that. So it’s only happening when you have the lazyloading for images active?
Juan.springer25 January 17, 2021 at 10:59 am
I disabled lazylaoding
screenshot -> https://prnt.sc/wzcew3
but i get the same error, more over this change seems not to take effect after saving it.
Images are still loading lazilly.
i also tried to disable
Masonry Blog Posts Load Method from scroll to click
screenshot -> https://prnt.sc/wzdfxr
but again this change seems not to take effect after saving it.
thanksJuanfra Aldasoro January 19, 2021 at 9:12 am
Thank you for the follow up.
Would you please send me a link and the access details to your site in a private reply so I can take a look?
Juan.springer25 January 19, 2021 at 11:24 pmThis reply has been marked as private.Juanfra Aldasoro January 25, 2021 at 12:09 pm
Thank you for the follow-up.
Unfortunately the password you provided is not working. So, when you removed the animation from the nice posts block, the error disappeared?
You must be logged in to reply to this topic.