Critical error with PHP 8
-
Hello, when I try to switch our server to PHP 8, I am getting the following error message from WordPress. Any help with that?
WordPress Version 6.0.1
Active Theme: Deli (Version 2.0.15)
Current Plugin: WooCommerce (Version 6.7.0)
PHP Version 8.1.8Error Details
=============
An error of type E_ERROR was caused in line 234 of the file /usr/www/users/web1/wp-content/plugins/woocommerce/includes/class-wc-post-types.php. Error message: Uncaught ValueError: Missing format specifier at end of string in /usr/www/users/web1/wp-content/plugins/woocommerce/includes/class-wc-post-types.php:234
Stack trace:
#0 /usr/www/users/web1/wp-content/plugins/woocommerce/includes/class-wc-post-types.php(234): sprintf()
#1 /usr/www/users/web1/wp-includes/class-wp-hook.php(307): WC_Post_Types::register_taxonomies()
#2 /usr/www/users/web1/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
#3 /usr/www/users/web1/wp-includes/plugin.php(476): WP_Hook->do_action()
#4 /usr/www/users/web1/wp-settings.php(598): do_action()
#5 /usr/www/users/web1/wp-config.php(96): require_once(‘/usr/www/users/…’)
#6 /usr/www/users/web1/wp-load.php(50): require_once(‘/usr/www/users/…’)
#7 /usr/www/users/web1/wp-admin/admin.php(34): require_once(‘/usr/www/users/…’)
#8 /usr/www/users/web1/wp-admin/index.php(10): require_once(‘/usr/www/users/…’)
#9 {main}
thrown
- The topic ‘Critical error with PHP 8’ is closed to new replies.