Skip Navigation

[Closed] Toolset for PHP 8

This support ticket is created 2 years, 11 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.

This topic contains 1 reply, has 2 voices.

Last updated by Nigel 2 years, 11 months ago.

Author
Posts
#2294379
WordPress_›_Error.png

Hello,
I’m having trouble on my website when updating it to PHP 8. I’m using toolset and I’m getting a lot of errors that are giving me a critical error on my front page.
The only way to fix this and to be able to see my site is by commenting the line 29 on types/vendor/toolset/toolset-common/utility/condition/theme/layouts-support/native/available.php. The line is the following:
$search_pattern = ‘{’ . implode( $theme_paths, ‘,’ ) . ‘}/{’ . implode( $files_starting_with, ‘,’ ) . ‘}*.php’;
In addition, I also need to comment line 930 on /types/vendor/toolset/toolset-common/libenlimbo.forms.class.php:
return isset($_REQUEST[$name]) ? sanitize_text_field( $_REQUEST[$name] ) : in_array($element[‘#type’],
array(‘textfield’, ‘textarea’)) ? ‘’ : 0;
Doing this allows me to see my site but now I can’t edit any post or any page as I’m again getting a critical error. When activating debug to true it tells me it’s again more Toolset errors. Do you know how to solve this or are you planning a new update for PHP 8 soon?

Thanks in advance.

#2294407

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi there

The developers are working on PHP 8 compatibility right now, working their way through the plugins.

I can't say when they will finish, but it shouldn't be too long, and we'll likely have an update with all plugins simultaneously that also bundle in some bug fixes that are being worked on, too.

The topic ‘[Closed] Toolset for PHP 8’ is closed to new replies.