Widget Updation Error
-
Hi @cteduard,
While trying to update widgets, i get the following error:
Error: Block type ‘woocommerce/product-price’ is not registered.
at Ye (https://www.utopglobal.com/wp-includes/js/dist/blocks.min.js?ver=8474af4b6260126fa879:12:99320)
at Tr (https://www.utopglobal.com/wp-includes/js/dist/blocks.min.js?ver=8474af4b6260126fa879:19:4516)
at https://www.utopglobal.com/wp-includes/js/dist/blocks.min.js?ver=8474af4b6260126fa879:19:4710
at Array.map ()
at Cr (https://www.utopglobal.com/wp-includes/js/dist/blocks.min.js?ver=8474af4b6260126fa879:19:4618)
at https://www.utopglobal.com/wp-includes/js/dist/blocks.min.js?ver=8474af4b6260126fa879:19:4717
at Array.map ()
at Cr (https://www.utopglobal.com/wp-includes/js/dist/blocks.min.js?ver=8474af4b6260126fa879:19:4618)
at https://www.utopglobal.com/wp-includes/js/dist/block-editor.min.js?ver=f231d517e98fd9d2c4e5:21:513607
at Object.useMemo (https://www.utopglobal.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.3.1.1:10:114610)Below is the list of plugins I am using:
The SEO Framework
Beaver Builder Plugin (Lite Version)
Cache Enabler
Click to Chat
Code Snippets
CookieYes | GDPR Cookie Consent
EmbedPress
Everest Forms
Flexible Shipping
Google Analytics for WordPress by MonsterInsights
Google for WooCommerce
Hunk Companion
Ninja Forms
Pinterest for WooCommerce
Social Media and Share Icons (Ultimate Social Media)
1 Razorpay: Signup for FREE PG
WooCommerce
WP Mail SMTP
WP Menu Icons
WP Meteor
Shield SecurityPlease suggest what needs to be done.
Thanks/Manish
-
Hello @mb299
Could you please let me know, do you have the Blocksy Companion plugin installed?
Thanks.
No, I haven’t
Hello @mb299
Let’s try installing it, please. For some very specific cases, it contains a fix, which should also apply to your setup. Plus, you’re missing out on some critical Blocksy features, such as the sticky header. 😀
Thanks.
Ha, all right Eduard. Let me do this and i shall come back
Hi @cteduard,
I installed Blocksy companion as suggested. However, i still got an error while adding the widget.
Here’s the error i copied just now
Error: Block type ‘woocommerce/product-price’ is not registered.
at Ye (https://www.utopglobal.com/wp-includes/js/dist/blocks.min.js?ver=8474af4b6260126fa879:12:99320)
at Tr (https://www.utopglobal.com/wp-includes/js/dist/blocks.min.js?ver=8474af4b6260126fa879:19:4516)
at https://www.utopglobal.com/wp-includes/js/dist/blocks.min.js?ver=8474af4b6260126fa879:19:4710
at Array.map ()
at Cr (https://www.utopglobal.com/wp-includes/js/dist/blocks.min.js?ver=8474af4b6260126fa879:19:4618)
at https://www.utopglobal.com/wp-includes/js/dist/blocks.min.js?ver=8474af4b6260126fa879:19:4717
at Array.map ()
at Cr (https://www.utopglobal.com/wp-includes/js/dist/blocks.min.js?ver=8474af4b6260126fa879:19:4618)
at https://www.utopglobal.com/wp-includes/js/dist/block-editor.min.js?ver=f231d517e98fd9d2c4e5:21:513607
at Object.useMemo (https://www.utopglobal.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.3.1.1:10:114610)Please suggest.
Thanks/Manish
Hello @mb299
In this case, I’m afraid that you will have to go through your plugins one by one, deactivating them until you see which one affects this workflow. Once the plugin has been identified, let us know and we’ll try to whip up a fix snippet for you.
Thanks!
Ok, let me try this
Thanks/Manish
Its Everest forms plugin that’s creating an issue.
Hello @mb299
Hm, are you sure that it is this plugin? Could you please link me to it? The one that I found (https://wordpress.org/plugins/everest-forms/) does not seem to reproduce the problem for me.
Perhaps there might be something in its configuration that could trigger this error?
Can you also try one more thing, with the plugin active? Try implementing this snippet of code to see if it fixes the issue.
add_action('enqueue_block_editor_assets', function () {
global $wp_customize;
if (! $wp_customize) {
return;
}
wp_deregister_script('everest-forms-shortcode-embed-form');
}, 50);Thanks.
@cteduard , You are right!
It didn’t reproduce for me after a through checking thrice. Seems Everst plugin is good.
Its the EmbedPRess plugin that is a culprit. Checked multiple times and each time it reproduced.
Apologies for a irrelevant statement on Everset.
Thanks/Manish
Hello @mb299
Ah, I see. In this case, the snippet would be like this:
add_action('enqueue_block_editor_assets', function () {
global $wp_customize;
if (! $wp_customize) {
return;
}
wp_deregister_script('embedpress_documents_viewer_script');
}, 50);This should fix the widget error automatically.
Thanks.
Hi @cteduard ,
The widget error is back and I am unable to update them. Tried with disabling all the Plugins but the error still exists.
Here is the error copy:
Error: Block type ‘woocommerce/product-template’ is not registered.
at Ye (https://www.utopglobal.com/wp-includes/js/dist/blocks.min.js?ver=8474af4b6260126fa879:12:99320)
at Tr (https://www.utopglobal.com/wp-includes/js/dist/blocks.min.js?ver=8474af4b6260126fa879:19:4516)
at https://www.utopglobal.com/wp-includes/js/dist/blocks.min.js?ver=8474af4b6260126fa879:19:4710
at Array.map ()
at Cr (https://www.utopglobal.com/wp-includes/js/dist/blocks.min.js?ver=8474af4b6260126fa879:19:4618)
at https://www.utopglobal.com/wp-includes/js/dist/block-editor.min.js?ver=f231d517e98fd9d2c4e5:21:513607
at Object.useMemo (https://www.utopglobal.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.3.1.1:10:114610)
at e.useMemo (https://www.utopglobal.com/wp-includes/js/dist/vendor/react.min.js?ver=18.3.1.1:10:9894)
at https://www.utopglobal.com/wp-includes/js/dist/block-editor.min.js?ver=f231d517e98fd9d2c4e5:21:513514
at ht (https://www.utopglobal.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.3.1.1:10:45730)Need help please
Thanks/Manish
Hello @mb299
Yes, we are aware of this new error. This is more or less a WooCommerce 9.7 issue, rather than a theme one. Nevertheless, our developers have been able to work around this error as well, and the fix will be present in the next Blocksy update. 🙂
Thanks for the report!
- You must be logged in to reply to this topic.