Support Forum
The 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.1
When we reverted back to the previous version we had no issues
Meta Box Version 5.7.5
Meta Box AIO Version 1.22.0
Thanks in advance,
Anthony
here 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)
Hello,
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.
Is it still happening, is there a date for this update?
The 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.
Thankyou!
When 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.
Also how do I get the previous version of AIO? I only see the download link to the latest version on my account.
I 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?