Advanced Table Compatibility Issue with WP5.6
-
Since updating to WP5.6 I’ve been having an issue with the Advanced Table block. (Really useful feature of a great plugin, by the way.)
The problem is this. If an Advanced Table block is part of a reusable block that I add to a post, the presence of the Advanced Table block prevents the reusable block being convertible to regular blocks. I click on ‘Convert to regular blocks’, but nothing happens: the reusable block is just stuck. If the Advanced Table block is removed from the reusable block, the problem doesn’t happen.
This is the error logged in console:
Uncaught (in promise) TypeError: e.substr is not a function b https://c0.wp.com/c/5.6/wp-includes/js/dist/block-serialization-default-parser.min.js:2 p https://c0.wp.com/c/5.6/wp-includes/js/dist/block-serialization-default-parser.min.js:2 s https://c0.wp.com/c/5.6/wp-includes/js/dist/block-serialization-default-parser.min.js:2 Yr https://c0.wp.com/c/5.6/wp-includes/js/dist/blocks.min.js:3 CONVERT_BLOCK_TO_STATIC https://c0.wp.com/c/5.6/wp-includes/js/dist/reusable-blocks.min.js:2 Redux 9 V https://c0.wp.com/c/5.6/wp-includes/js/dist/data.min.js:2 F https://c0.wp.com/c/5.6/wp-includes/js/dist/data.min.js:2 p https://c0.wp.com/c/5.6/wp-includes/js/dist/data.min.js:2 onClick https://c0.wp.com/c/5.6/wp-includes/js/dist/block-library.min.js:38 B https://c0.wp.com/c/5.6/wp-includes/js/dist/components.min.js:7 P https://c0.wp.com/c/5.6/wp-includes/js/dist/components.min.js:7 React 16 block-serialization-default-parser.min.js:2:3649 Redux 6 V https://c0.wp.com/c/5.6/wp-includes/js/dist/data.min.js:2 F https://c0.wp.com/c/5.6/wp-includes/js/dist/data.min.js:2 p https://c0.wp.com/c/5.6/wp-includes/js/dist/data.min.js:2 onClick https://c0.wp.com/c/5.6/wp-includes/js/dist/block-library.min.js:38 B https://c0.wp.com/c/5.6/wp-includes/js/dist/components.min.js:7 P https://c0.wp.com/c/5.6/wp-includes/js/dist/components.min.js:7 React 12 bind_applyFunctionN self-hosted:1359 sc self-hosted:1322 React 4 bind_applyFunctionN self-hosted:1359 Ei self-hosted:1322
In case it helps, the folks over at GeneratePress are having a similar issue with 5.6: https://generatepress.com/forums/topic/convert-to-regular-block-doesnt-work-in-wp-5-6-or-generateblocks/.
My issue seems to result from a particular combination of the Advanced Table block in a reusable block in WordPress 5.6. Any help in resolving this would be much appreciated.
The site I’m having this issue with is a WordPress 5.6 insallation running Twenty Seventeen theme on PHP version 7.3.25. Let me know if you need any more information.
Best wishes,
Andrew
- The topic ‘Advanced Table Compatibility Issue with WP5.6’ is closed to new replies.