there can be many reasons for the error, contact me using the Contact Us form
I installed the plugin, but its gives an error.. “This block has encountered an error and cannot be previewed.” while creating a gallery.
@itsbubli
I need to know what error is causing this. Contact me using the Contact Us form
This is also happening to me. After updating the plugin today all of my galleries are not working. The galleries are all in reusable blocks, but there’s no way to convert them to regular blocks. That option is not on the block menu.
Even after going through the galleries and updating them, they still will not display.
-
This reply was modified 3 years ago by tcordova.
@tcordova
I need to know what error is causing this. Contact me using the Contact Us form
@tcordova
You are using the Photoswipe Masonry plugin and this plugin adds its own classes to the content of the block, which makes it invalid. If a third-party plugin adds at least one comma or space to someone else’s block, then the block will become invalid. You need to deactivate this plugin and restore gallery block and everything should fall into place.
Any plugin that modifies the content that generated (saved) the block will cause problems with the blocks (blocks will swear at invalid content)