Code generated broken?
- This topic has 11 replies, 5 voices, and was last updated 4 years, 9 months ago by
Steven Hardin.
-
AuthorPosts
-
July 6, 2020 at 5:52 PM #20660
badabingbreda
ParticipantI don't know what happened after the update (AIO 1.11.14) but code-generated blocks seems to be down in the backend. I receive an error on all blocks ("this block encountered an error and can not be previewed"). they work on frontend, but not in the Gutenberg Editor.
I installed brand new WP, MB, MB AIO and only the code example to theme's functions.php to test:
Of course I created the dummy.php file (listed as the render_template) in the theme folder. It's pure html to prevent any errors but still nothing;
Blocks generated by builder seem to work.
July 6, 2020 at 6:01 PM #20661Matt J
ParticipantSame issue here. Not all blocks. One very simple block.
Errors in the console are:
12:59:12.594 load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=5.4.2:8 JQMIGRATE: Migrate is installed, version 1.4.1 12:59:14.433 react-dom.min.js?ver=16.9.0:103 TypeError: Cannot read property 'props' of undefined at A (blocks.min.js?ver=1.2.1:1) at je (react-dom.min.js?ver=16.9.0:78) at ph (react-dom.min.js?ver=16.9.0:215) at lh (react-dom.min.js?ver=16.9.0:126) at O (react-dom.min.js?ver=16.9.0:121) at ze (react-dom.min.js?ver=16.9.0:118) at react-dom.min.js?ver=16.9.0:53 at unstable_runWithPriority (react.min.js?ver=16.9.0:26) at Ma (react-dom.min.js?ver=16.9.0:52) at mg (react-dom.min.js?ver=16.9.0:52) ve @ react-dom.min.js?ver=16.9.0:103 12:59:14.952 post.php?post=25&action=edit:1 [DOM] Found 2 elements with non-unique id #_wpnonce: (More info: https://goo.gl/9p2vKq) <input type="hidden" id="_wpnonce" name="_wpnonce" value="8b2ef4deca"> <input type="hidden" id="_wpnonce" name="_wpnonce" value="5a91d4d987"> 12:59:20.601 DevTools failed to load SourceMap: Could not load content for chrome-extension://hdokiejnpimakedhajhdlcegeplioahd/sourcemaps/onloadwff.js.map: HTTP error: status code 404, net::ERR_UNKNOWN_URL_SCHEME
July 6, 2020 at 10:30 PM #20665Joe Anderson
ParticipantSame here. Block options are no longer being generated and the preview is just a white box.
July 6, 2020 at 10:35 PM #20666Long Nguyen
ModeratorGot it, please remove the setting
'context' => 'side'
to make it works. I'm going to discuss with the developer team to create an update to cover this case.Thanks for your patience.
July 6, 2020 at 11:09 PM #20668Steven Hardin
ParticipantSame issue here.
July 7, 2020 at 12:46 AM #20669Joe Anderson
ParticipantThanks for the tip, Long!
July 7, 2020 at 2:37 AM #20671badabingbreda
ParticipantThat does seem to work for now, thanks.
July 7, 2020 at 3:49 PM #20691Matt J
ParticipantThanks! Removing
'context' => 'side'
works 🙂July 7, 2020 at 4:56 PM #20695Long Nguyen
ModeratorHi guys,
Please update the plugin MB Blocks to v1.2.3 or MB AIO to v1.11.15 to fix this issue. Thank you.
July 7, 2020 at 5:10 PM #20698badabingbreda
ParticipantThanks for the quick update, that worked!
July 8, 2020 at 7:45 AM #20712Joe Anderson
ParticipantAwesome work, thanks!
July 8, 2020 at 9:52 PM #20722Steven Hardin
ParticipantThanks for the speedy fix.
-
AuthorPosts
- You must be logged in to reply to this topic.