• Resolved johnlopu

    (@johnlopu)


    When I switch to PHP 8.0.2 (WooCommerce 5.1.0 WordPress 5.7) I get this Fatal error:

    Fatal error: Uncaught ValueError: Missing format specifier at end of string in /var/www/clients/client309/web3882/web/mysite.com/wp-content/plugins/woocommerce/includes/class-wc-post-types.php:226 Stack trace: #0 /var/www/clients/client309/web3882/web/mysite.com/wp-content/plugins/woocommerce/includes/class-wc-post-types.php(226): sprintf() #1 /var/www/clients/client309/web3882/web/mysite.com/wp-includes/class-wp-hook.php(292): WC_Post_Types::register_taxonomies() #2 /var/www/clients/client309/web3882/web/mysite.com/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters() #3 /var/www/clients/client309/web3882/web/mysite.com/wp-includes/plugin.php(484): WP_Hook->do_action() #4 /var/www/clients/client309/web3882/web/mysite.com/wp-settings.php(560): do_action() #5 /var/www/clients/client309/web3882/web/mysite.com/wp-config.php(61): require_once(‘…’) #6 /var/www/clients/client309/web3882/web/mysite.com/wp-load.php(37): require_once(‘…’) #7 /var/www/clients/client309/web3882/web/mysite.com/wp-blog-header.php(13): require_once(‘…’) #8 /var/www/clients/client309/web3882/web/mysite.com/index.php(17): require(‘…’) #9 {main} thrown in /var/www/clients/client309/web3882/web/mysite.com/wp-content/plugins/woocommerce/includes/class-wc-post-types.php on line 226
    Es gab einen kritischen Fehler auf deiner Website.

    When I switch back to PHP 7.4 the error is gone. Is there an incompatibility with PHP 8 in WooCommerce? Any ideas how to resolve this?

    Thanks!

    -Jolopu

    • This topic was modified 3 years, 11 months ago by johnlopu.
    • This topic was modified 3 years, 11 months ago by johnlopu.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WooCommerce 5.1 PHP 8 Fatal Error’ is closed to new replies.