I am trying to: switch from php 7.4 to any newer version (8.0, 8.1, 8.2, 8.3) the page breaks down
when I'm deactivating types, the page works fine. also when I switch back to 7.4
But I must switch to at least 8.2, better 8.3 'cause of my webhoster.
The is the fatal error
[31-May-2024 18:38:08 UTC] PHP Fatal error: Uncaught ValueError: Missing format specifier at end of string in /html/wordpress/wp-content/plugins/types/vendor/toolset/types/embedded/includes/custom-types.php:200
Stack trace:
#0 /html/wordpress/wp-content/plugins/types/vendor/toolset/types/embedded/includes/custom-types.php(200): sprintf('...', '...')
#1 /html/wordpress/wp-content/plugins/types/vendor/toolset/types/embedded/includes/custom-types.php(104): wpcf_custom_types_register('...', Array)
#2 /html/wordpress/wp-content/plugins/types/vendor/toolset/types/embedded/functions.php(117): wpcf_custom_types_init()
#3 /html/wordpress/wp-includes/class-wp-hook.php(324): wpcf_init_custom_types_taxonomies('')
#4 /html/wordpress/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#5 /html/wordpress/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#6 /html/wordpress/wp-settings.php(695): do_action('...')
#7 /html/wordpress/wp-config.php(71): require_once('...')
#8 /html/wordpress/wp-load.php(50): require_once('...')
#9 /html/wordpress/wp-blog-header.php(13): require_once('...')
#10 /html/wordpress/index.php(17): require('...')
#11 {main}
thrown in /html/wordpress/wp-content/plugins/types/vendor/toolset/types/embedded/includes/custom-types.php on line 200
Can you help me to solve this prob?
Thanks and Best Regards
Andi
Hi there,
This might be the same instance like the one mentioned in the ticket below:
https://toolset.com/forums/topic/issue-with-toolset-when-upgrading-from-php-7-4-to-8-0/
So basically please check the post type details and make sure that you do not miss the %s characters that are necessary for PHP to understand the string to work correctly.
Thanks
Thanks have solved it by your help