Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

URGENT: Bug Javascript Error Kadence Blocks

Home / Forums / Kadence Blocks / URGENT: Bug Javascript Error Kadence Blocks

This topic is: Resolved
[Resolved]
Posted in: Kadence Blocks
June 27, 2024 at 3:16 am

Hi there

today 27/6/24 @ 10.15am NZST I upgraded to the latest plugin updates and now getting a weird blocks javascript error;

TypeError: Cannot read properties of undefined (reading ‘length’)
at kt (example.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:47438)
at Vt (example.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:51285)
at Bt (example.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:51447)
at Object._t [as useSyncExternalStore] (example.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:49847)
at e.useSyncExternalStore (example.com/wp-includes/js/dist/vendor/react.min.js?ver=18.2.0:10:10112)
at Qe (example.com/wp-includes/js/dist/data.min.js?ver=e6595ba1a7cd34429f66:9:2876)
at Ye (example.com/wp-includes/js/dist/data.min.js?ver=e6595ba1a7cd34429f66:9:3157)
at ZS (example.com/wp-includes/js/dist/block-editor.min.js?ver=868d782fcb169133c92b:26:557337)
at wt (example.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:47637)
at vr (example.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:56452)

This happens when trying to using the block builder in a new post or page, have tried with Chrome, Edge, Opera and tried switching PHP to 8.1 (was 8.2) and 8.3. Same issue.

To isolate the issue, I cleared cache everywhere, deactivated all plugins etc, followed all steps, even reinstalled WP. I found the issue to be with the kadence blocks or blocks pro – I was not able to find the root cause – appears to be a react issue. But when deactivated, the issue no longer occurs. Obviously inconvenient not to be able to use blocks pro so please advise fix.

Video:

Kadence Blocks – PRO Extension: Version 2.3.11
Kadence Blocks – Version 3.2.46
WordPress – 6.5.5
Kadence Theme – 1.2.6

Chrome Dev Console:

Error: Minified React error #311; visit for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
at zt (react-dom.min.js?ver=18.2.0:10:48516)
at Object.useState (react-dom.min.js?ver=18.2.0:10:116562)
at e.useState (react.min.js?ver=18.2.0:10:10043)
at zp (components.js?ver=761379c942a778958fa1:28:77066)
at B (element.min.js?ver=cb762d190aebbec25b27:9:6435)
at Z (element.min.js?ver=cb762d190aebbec25b27:9:7430)
at Y (element.min.js?ver=cb762d190aebbec25b27:9:6890)
at B (element.min.js?ver=cb762d190aebbec25b27:9:6189)
at Z (element.min.js?ver=cb762d190aebbec25b27:9:7430)
at Y (element.min.js?ver=cb762d190aebbec25b27:9:6890)
ar @ react-dom.min.js?ver=18.2.0:10

  • The forum ‘Kadence Blocks’ is closed to new topics and replies.