Skip Navigation

[Resolved] wp vies error when using widgets and the customization link

This support ticket is created 2 years, 12 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 3 replies, has 2 voices.

Last updated by Minesh 2 years, 11 months ago.

Assisted by: Minesh.

Author
Posts
#2267399
Screen Shot 2022-01-15 at 1.53.19 PM.png

I am trying to: use widgets and the customization feature (core wp)

Link to a page where the issue can be seen:

I expected to see:
to edit widgets/customize

Instead, I got:
error... i have about 6 or 7 sites I run, error is happening on every one, no matter what plugins are installed ... if views or blocks is active I get the error

Edit widget: WP Views Add widget: WP Views Edit Add WP Views
WP Views

There has been a critical error on this website. Please check your site admin email inbox for instructions.

Learn more about troubleshooting WordPress.

#2268119

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

There are two issues.

1)
Based on the debug information you shared, I see you are using PHP 8. Currently Toolset is not fully compatible with PHP version 8.x.x. This is known to us and our Devs are already working on it and they will do their best to make it compatible with PHP 8.

We already added note about that on our requirements Doc:
=> https://toolset.com/toolset-requirements/
Important notes:
-- PHP 8 is currently not supported due to some issues. We’re working on fixing this. In the meantime, please use PHP 7 version.
-- While Toolset works with PHP 5.6+ and MySQL 5.6+, they reached the official End Of Life, and are not recommended for security and performance reasons.

I suggest you can downgrade the PHP version and try to resolve your issue.

2)
I see you are using Elementor and there is a known conflict with Elementor that is known to us. As you see with the errata page created:
=> 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.

#2270523

Ok I will try this again. I only patched the views plugin the first time, I did not patch the other toolset plugins, which I will do today or tomorrow.

#2271155

Minesh
Supporter

Languages: English (English )

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

Ok fine.