Archived topic
enabling masonry for blog layout causes javascript error
9 replies · Started by langlers on August 4, 2021
Current url where error is occurring: https://www.anniescbdguide.com/reviews/
Uncaught TypeError: Failed to execute 'insertBefore' on 'Node': parameter 1 is not of type 'Node'.
at HTMLDocument.<anonymous> (scripts.min.js?ver=2.0.3:1)
Hi there,
its a non breaking error that will fixed in the next update.
Let us know if you are experiencing any problems.
It is preventing Shortpixel Adaptive Images from correctly replacing some of the images, and when I enable Autoptimize things get even wonkier.
If you have a patch I could apply, that would be rad. Otherwise, I will just disable masonry until the next update.
It means modding the Plugin files... probably best to wait for the update. We aim to go to Alpha this month, i would expect the week of the 16th. Is that ok ?
I've disabled masonry for now. I'll try it out again once I notice an update.
thanks
Thanks! we'll try and reply to this email to let you know
Yes I'm having the same JS error when enabling masonry. Any ETA as of when this will be solved? Thank you very much.
Hi there,
the 'bug' has been patched in GPP 2.1:
https://generatepress.com/gp-premium-2-1-0/
Its currently in alpha.2 - we have around a month worth of testing before it goes live.
Dear David. This is great! Thank you very much for this information.
You're welcome