Opening Appearance > Widgets produces the following error “The editor has encountered an unexpected error.” Which can be copied and is summarized here. The error only appears on /wp-admin/widgets.php:
TypeError: Cannot destructure property 'getDeviceType' of 'e(…)' as it is undefined.
at /wp-content/plugins/responsive-block-swap/build/index.js?ver=00db415023f0943f2cc6:1:2288
at /wp-includes/js/dist/data.min.js?ver=7c62e39de0308c73d50c:9:2045
at __unstableMarkListeningStores (/wp-includes/js/dist/data.min.js?ver=7c62e39de0308c73d50c:2:22094)
at Object.__unstableMarkListeningStores (/wp-includes/js/dist/data.min.js?ver=7c62e39de0308c73d50c:2:22352)
at p (/wp-includes/js/dist/data.min.js?ver=7c62e39de0308c73d50c:9:2010)
at /wp-includes/js/dist/data.min.js?ver=7c62e39de0308c73d50c:9:2612
at Qe (/wp-includes/js/dist/data.min.js?ver=7c62e39de0308c73d50c:9:2824)
at Ye (/wp-includes/js/dist/data.min.js?ver=7c62e39de0308c73d50c:9:3141)
at /wp-content/plugins/responsive-block-swap/build/index.js?ver=00db415023f0943f2cc6:1:2261
at /wp-content/plugins/responsive-block-swap/build/index.js?ver=00db415023f0943f2cc6:1:2355
Disabling the plugin does allow for content to be edited.
WordPress Version 6.7.1
Responsive Block Swap Version 1.0.3
]]>Installed the plugin and try to hide the sidebar in Twenty Twenty Four theme. In Editor everything looks perfect, the sidebar is greyed out in the mobile view, but on my mobile the sidebar is still there even after clearing the cache.
]]>