[wp-trac] [WordPress Trac] #52031: Error when clicking Convert to regular blocks

WordPress Trac noreply at wordpress.org
Mon Jan 25 11:51:16 UTC 2021


#52031: Error when clicking Convert to regular blocks
--------------------------+-------------------------
 Reporter:  jeffabailey   |       Owner:  (none)
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:
Component:  Editor        |     Version:  5.6
 Severity:  blocker       |  Resolution:
 Keywords:                |     Focuses:  javascript
--------------------------+-------------------------

Comment (by rgires):

 Hi @jeffabailey, @alexius08

 I am on the versions
 - wordpress 5.6
 - ultimate-addons-for-gutenberg.1.20.1.zip
 - firefox 84.0.2 (64 bits)
 and it always has this javascript error when converting a reusable block
 into a regular block

 if I delete the 'Advanced Table' block, it works
 there was no problem in the previous version of WP 5.5.xxx

 error JS
 -----
 Uncaught (in promise) TypeError: e.substr is not a function
     b /wp-includes/js/dist/block-serialization-default-
 parser.min.js?ver=1768ef183a4597932a52df4c355129c1:2
     p /wp-includes/js/dist/block-serialization-default-
 parser.min.js?ver=1768ef183a4597932a52df4c355129c1:2
     s /wp-includes/js/dist/block-serialization-default-
 parser.min.js?ver=1768ef183a4597932a52df4c355129c1:2
     Yr /wp-
 includes/js/dist/blocks.min.js?ver=65abb57f00d1d2ab3d3b16331cbbf560:3
     CONVERT_BLOCK_TO_STATIC /wp-includes/js/dist/reusable-
 blocks.min.js?ver=d969baba471ea99a0d94fb9fd94d284c:2
     e Redux
 -----

 Do you have a solution?
 best regard
 romain

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/52031#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list