Skip Navigation

[Closed] PHP 8 issue

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 Christopher Amirian 1 year, 2 months ago.

Assisted by: Christopher Amirian.

Author
Posts
#2665999

Hi!

We're developing a new site with toolset. We wanted to change the PHP-Version from 7.4. to 8.0 (or higher). But after changing to 8.x WordPress is showing this error:

Fatal error: Uncaught ValueError: Unknown format specifier "p" in /home/users/entwurf_easy/www/wp-content/plugins/types/vendor/toolset/types/embedded/includes/custom-types.php:209 Stack trace: #0 /home/users/entwurf_easy/www/wp-content/plugins/types/vendor/toolset/types/embedded/includes/custom-types.php(209): sprintf() #1 /home/users/entwurf_easy/www/wp-content/plugins/types/vendor/toolset/types/embedded/includes/custom-types.php(104): wpcf_custom_types_register() #2 /home/users/entwurf_easy/www/wp-content/plugins/types/vendor/toolset/types/embedded/functions.php(117): wpcf_custom_types_init() #3 /home/users/entwurf_easy/www/wp-includes/class-wp-hook.php(324): wpcf_init_custom_types_taxonomies() #4 /home/users/entwurf_easy/www/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #5 /home/users/entwurf_easy/www/wp-includes/plugin.php(517): WP_Hook->do_action() #6 /home/users/entwurf_easy/www/wp-settings.php(643): do_action() #7 /home/users/entwurf_easy/www/wp-config.php(90): require_once('...') #8 /home/users/entwurf_easy/www/wp-load.php(50): require_once('...') #9 /home/users/entwurf_easy/www/wp-admin/admin.php(34): require_once('...') #10 /home/users/entwurf_easy/www/wp-admin/index.php(10): require_once('...') #11 {main} thrown in /home/users/entwurf_easy/www/wp-content/plugins/types/vendor/toolset/types/embedded/includes/custom-types.php on line 209

What can we do?

Best,
Roland

#2666257

Christopher Amirian
Supporter

Languages: English (English )

Hi Roland,

The error you shared is usually indicative of missing s in a PHP %s statement. If you used something like that in your view or somewhere else please double check that.

For more information:
https://wordpress.org/support/topic/php8-fatal-error-uncaught-valueerror-unknown-format-specifier/

Thanks.

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