Skip Navigation

[Gelöst] PHP Fatal Error with php newer than 7.4

This support ticket is created vor 6 Monaten. 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.

Heute stehen keine Supporter zur Arbeit im Werkzeugsatz-Forum zur Verfügung. Sie können gern Tickets erstellen, die wir bearbeiten werden, sobald wir online sind. Vielen Dank für Ihr Verständnis.

Dieses Thema enthält 1 Antwort, hat 2 Stimmen.

Zuletzt aktualisiert von Christopher Amirian vor 6 Monaten.

Author
Artikel
#2700376

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

#2700460

Christopher Amirian
Supporter

Sprachen: Englisch (English )

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

#2701722

Thanks have solved it by your help