Recently I went to update a WooCommerce email design for (using the Kadence WooCommerce Email Designer via WP Admin > WooCommerce > Email Customiser) but got the critical error below. When I deactivate Toolset Blocks, it works fine. I haven't had any issues with this before when Toolset Blocks has been active.
What could be the issue?
Thanks and regards
Simon
Error:
======================
WP Views
Fatal error: Uncaught Error: Call to undefined method Elementor\Utils::is_ajax() in /.../html/dev/wp-content/plugins/cred-frontend-editor/vendor/toolset/toolset-common/inc/autoloaded/interop/handler/elementor/widgets/view/view.php:376 Stack trace: #0 /.../html/dev/wp-includes/class-wp-hook.php(303): OTGS\Toolset\Common\Interop\Handler\Elementor\ViewWidget->maybe_use_view_elementor_widget_instead('') #1 /.../html/dev/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters('', Array) #2 /.../html/dev/wp-includes/plugin.php(470): WP_Hook->do_action(Array) #3 /.../html/dev/wp-content/plugins/toolset-blocks/embedded/inc/wpv-widgets.php(81): do_action('wpv_action_befo...') #4 /.../html/dev/wp-includes/class-wp-widget.php(534): WPV_Widget->form(Array) #5 /.../html/dev/wp-admin/includes/widgets.php(274): WP_Widget->form_callback(Array) #6 /.../html/dev/wp-includes/class-wp-customize-widgets.php(1122): in /.../html/dev/wp-content/plugins/cred-frontend-editor/vendor/toolset/toolset-common/inc/autoloaded/interop/handler/elementor/widgets/view/view.php on line 376
There has been a critical error on this website. Please check your site admin email inbox for instructions.
Please check the following note:
Note that this is a common file included with all Toolset plugins. In the example above the PHP error reports that the particular version of the file is loaded by the Types plugin, and so that is the file we are replacing with the patch. It could be that you need to update the file from a different Toolset plugin (which plugin is loading the file can be determined from the PHP error).
Can you please try to replace the file within all Toolset plugins on the same path and check:
plugins/any-toolset-plugin/vendor/toolset/toolset-common/inc/autoloaded/interop/handler/elementor/widgets/view/view.php on line 376
The file: vendor/toolset/toolset-common/inc/autoloaded/interop/handler/elementor/widgets/view/view.php
- should be available with Toolset Types, Blocks, Forms, Access - Could you please try to replace it within every Toolset plugins.