entertio
Forum Replies Created
-
Hey @jaycloudinary.
We’re using:
– WP v5.5
– Cloudinary Plugin v2.2.0
– Yoast v14.8.1
– 2 Custom In-House Block Plugins
– A Custom Sage Theme
– No Page BuildersUnfortunately I cannot provide a sandbox environment.
Steps to Reproduce:
1.) Visit your Gutenberg block management page. In my case since I’m using Sage it is: http://wordpress.local/wp/wp-admin/edit.php?post_type=wp_block
2.) Create a new Cover block with an image.
3.) Publish the block.
4.) Refresh the page, and try to replace the image in the Cover block.
5.) The block breaks and reports: “This block has encountered an error and cannot be previewed.” along with a JS console error: “An error occurred while running ‘mapSelect’: Cannot read property ‘_cloudinary_featured_overwrite’ of undefined“
I’ve traced the issue down to this line:
overwrite_featured_transformations: null !== (r = e("core/editor").getEditedPostAttribute("meta")._cloudinary_featured_overwrite) && void 0 !== r && rand this mod seems to fix it:
overwrite_featured_transformations: null !== (r = e("core/editor")?.getEditedPostAttribute("meta")?._cloudinary_featured_overwrite) && void 0 !== r && rAnyway we can get this patched soon?