Skip Navigation

[Resolved] Bug in views

This support ticket is created 2 years, 2 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 1 reply, has 2 voices.

Last updated by Minesh 2 years, 2 months ago.

Assisted by: Minesh.

Author
Posts
#2263503
Schermata 2022-01-11 alle 11.20.39.png

While opening customize theme i receive the following error

Se cerchi aiuto per questo problema, ti potrebbero essere chieste alcune delle seguenti informazioni:
Versione di WordPress 5.8.3
Tema corrente: Hello Elementor (versione 2.4.2)
Plugin corrente: Toolset Types (versione 3.4.15)
Versione PHP 7.4.27

Dettagli dell'errore
====================
Un errore di E_ERROR è stato causato nella linea 376 del file /home3/guidaroma/public_html/wp-content/plugins/types/vendor/toolset/toolset-common/inc/autoloaded/interop/handler/elementor/widgets/view/view.php. Messaggio di errore: Uncaught Error: Call to undefined method Elementor\Utils::is_ajax() in /home3/guidaroma/public_html/wp-content/plugins/types/vendor/toolset/toolset-common/inc/autoloaded/interop/handler/elementor/widgets/view/view.php:376
Stack trace:
#0 /home3/guidaroma/public_html/wp-includes/class-wp-hook.php(303): OTGS\Toolset\Common\Interop\Handler\Elementor\ViewWidget->maybe_use_view_elementor_widget_instead('')
#1 /home3/guidaroma/public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters('', Array)
#2 /home3/guidaroma/public_html/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
#3 /home3/guidaroma/public_html/wp-content/plugins/wp-views/embedded/inc/wpv-widgets.php(81): do_action('wpv_action_befo...')
#4 /home3/guidaroma/public_html/wp-includes/class-wp-widget.php(534): WPV_Widget->form(Array)
#5 /home3/guidaroma/public_html/wp-admin/includes/widgets.php(274): WP_Widget->form_callback(Array)
#6 /home3/guidaroma/public_html/wp-includes/class-wp-customize-widgets.php(1122): wp_widget_control(Array, Arr

#2263561

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

I see you are using the Elementor plugin and there is a known issue related to Elementor and this could be the side effect of that.
=> https://toolset.com/errata/fatal-error-on-customizer-page-after-updating-to-elementor-3-5/

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.

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.