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?
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.