BUG - Image field's break backend with latest update MB Blocks
- This topic has 8 replies, 4 voices, and was last updated 2 years ago by
Mauro.
-
AuthorPosts
-
September 23, 2023 at 12:22 AM #43326
ambrdigital
ParticipantThe latest update has caused a bug with the "image_upload" and "image_advanced" fields in the backend Gutenberg editor - MB Blocks.
When editing a block containing one of the above image fields it displays the following error.
"This block has encountered an error and cannot be previewed."
In the console, we get the following error message
Note: We add the block meta-fields via code and not through the plugin GUI.
The bug is present in the following version
Meta Box Version 5.8.1
Meta Box AIO Version 1.23.1When we reverted back to the previous version we had no issues
Meta Box Version 5.7.5
Meta Box AIO Version 1.22.0Thanks in advance,
AnthonySeptember 23, 2023 at 12:24 AM #43327ambrdigital
Participanthere is the console error message.
Error: Template not found: #tmpl-rwmb-upload-area
at n. template (wp-util.min.js?ver=6.3.1:2:371)
at n. render (file-upload.js?ver=5.8.1:19:24)
at n.initialize (file-upload.js?ver=5.8.1:26:9)
at h. View (backbone.min.js?ver=1.4.1:2:14648)
at new n (backbone.min.js?ver=1.4.1:2:23485)
at n. createAddButton (image-upload.is?ver=5.8.1:11:21)
at n.initialize (media-js?ver=5.8.1:122:9)
at h. View (backbone.min.js?ver=1.4.1:2:14648)
at n las constructor] (backbone.min.js?ver=1.4.1:2:23485)
at n las constructor] (backbone.min.js?ver=1.4.1:2:23485)September 23, 2023 at 11:30 AM #43334Peter
ModeratorHello,
This issue has been escalated to the development team and they are working on it. It should be fixed in the next update of the plugin.
Thank you.
September 29, 2023 at 3:03 PM #43381Emiliano Garcia
ParticipantIs it still happening, is there a date for this update?
September 30, 2023 at 6:30 PM #43393Peter
ModeratorThe error with the custom block was fixed in this commit https://github.com/wpmetabox/meta-box/commit/2635f09fc634ce830a6c9d7e1164f86f26546a4c
It will be included in the next update of Meta Box. Thanks.
October 2, 2023 at 2:06 PM #43407Emiliano Garcia
ParticipantThankyou!
October 5, 2023 at 9:36 PM #43432Mauro
ParticipantWhen is the update scheduled to be released? I have a very similar issue:
Error: Template not found: #tmpl-rwmb-media-button
This happens on my custom block and as far as I know it was working before updating WordPress and MetaBox earlier this month.
October 5, 2023 at 9:38 PM #43434Mauro
ParticipantAlso how do I get the previous version of AIO? I only see the download link to the latest version on my account.
October 5, 2023 at 10:00 PM #43436Mauro
ParticipantI managed to rollback the main MetaBox plugin using WP Rollback and it solved the issue. As things stand, we _cannot_ download any previous version of the premium plugins from this site. Is there any other place where we can do this?
-
AuthorPosts
- You must be logged in to reply to this topic.