Critical error after upgrading to PHP 8 and 8.1
-
Hello
I am getting this error / can’t update the php version to 8 and 8.1.
Php 7.4 works well.WordPress-Version 6.0.1 Aktuelles Plugin: WooCommerce (Version 6.7.0) PHP-Version 8.1.7 Fehler-Details ============== Ein Fehler vom Typ E_ERROR wurde in der Zeile 234 der Datei /home/XXXXXX/www/XXXXXX/wp-content/plugins/woocommerce/includes/class-wc-post-types.php verursacht. Fehlermeldung: Uncaught ValueError: Missing format specifier at end of string in /home/XXXXXX/www/XXXXXX/wp-content/plugins/woocommerce/includes/class-wc-post-types.php:234 Stack trace: #0 /home/XXXXXX/www/XXXXXX/wp-content/plugins/woocommerce/includes/class-wc-post-types.php(234): sprintf('Alle %', 'Erh\xC3\xA4ltliche Fo...') #1 /home/XXXXXX/www/XXXXXX/wp-includes/class-wp-hook.php(307): WC_Post_Types::register_taxonomies('') #2 /home/XXXXXX/www/XXXXXX/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array) #3 /home/XXXXXX/www/XXXXXX/wp-includes/plugin.php(476): WP_Hook->do_action(Array) #4 /home/XXXXXX/www/XXXXXX/wp-settings.php(598): do_action('init') #5 /home/XXXXXX/www/XXXXXX/wp-config.php(25): require_once('/home/XXXXXX/...') #6 /home/XXXXXX/www/XXXXXX/wp-load.php(50): require_once('/home/XXXXXX/...') #7 /home/XXXXXX/www/XXXXXX/wp-login.php(12): require('/home/XXXXXX/...') #8 {main} thrown in /home/XXXXXX/www/XXXXXX/wp-content/plugins/woocommerce/includes/class-wc-post-types.php in Zeile 232 Website’s System Status Report is:
### WordPress Environment ###
WordPress address (URL): XXXXXX
Site address (URL): XXXXXX
WC Version: 6.7.0
REST API Version: ? 6.7.0
WC Blocks Version: ? 7.8.3
Action Scheduler Version: ? 3.4.0
Log Directory Writable: ?
WP Version: 6.0.1
WP Multisite: –
WP Memory Limit: 512 MB
WP Debug Mode: –
WP Cron: ?
Language: de_CH
External object cache: –### Server Environment ###
Server Info: Apache
PHP Version: 7.4.30
PHP Post Max Size: 128 MB
PHP Time Limit: 300
PHP Max Input Vars: 10000
cURL Version: 7.83.1
OpenSSL/1.1.1oSUHOSIN Installed: –
MySQL Version: 5.5.5-10.3.35-MariaDB-log
Max Upload Size: 128 MB
Default Timezone is UTC: ?
fsockopen/cURL: ?
SoapClient: ?
DOMDocument: ?
GZip: ?
Multibyte String: ?
Remote Post: ?
Remote Get: ?### Database ###
WC Database Version: 6.7.0
WC Database Prefix: wp_
Datenbank-Gesamtgr?sse: 39.83MB
Datenbank-Datengr?sse: 33.90MB
Datenbank-Indexgr?sse: 5.93MB
wp_woocommerce_sessions: Daten: 1.02MB + Index: 0.02MB + Engine InnoDB
wp_woocommerce_api_keys: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_woocommerce_attribute_taxonomies: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_woocommerce_downloadable_product_permissions: Daten: 0.02MB + Index: 0.06MB + Engine InnoDB
wp_woocommerce_order_items: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_woocommerce_order_itemmeta: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_woocommerce_tax_rates: Daten: 0.02MB + Index: 0.06MB + Engine InnoDB
wp_woocommerce_tax_rate_locations: Daten: 0.02MB + Index: 0.05MB + Engine InnoDB
wp_woocommerce_shipping_zones: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_woocommerce_shipping_zone_locations: Daten: 0.02MB + Index: 0.05MB + Engine InnoDB
wp_woocommerce_shipping_zone_methods: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_woocommerce_payment_tokens: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_woocommerce_payment_tokenmeta: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_woocommerce_log: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_actionscheduler_actions: Daten: 0.02MB + Index: 0.13MB + Engine InnoDB
wp_actionscheduler_claims: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_actionscheduler_groups: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_actionscheduler_logs: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_commentmeta: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_comments: Daten: 0.02MB + Index: 0.09MB + Engine InnoDB
wp_contactformmaker: Daten: 0.27MB + Index: 0.00MB + Engine InnoDB
wp_contactformmaker_blocked: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_contactformmaker_submits: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_contactformmaker_themes: Daten: 1.52MB + Index: 0.00MB + Engine InnoDB
wp_contactformmaker_views: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_ff_scheduled_actions: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_fluentform_entry_details: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_fluentform_forms: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_fluentform_form_analytics: Daten: 0.28MB + Index: 0.00MB + Engine InnoDB
wp_fluentform_form_meta: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_fluentform_logs: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_fluentform_submissions: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_fluentform_submission_meta: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_icwp_wpsf_at_logs: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_icwp_wpsf_at_meta: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_icwp_wpsf_botsignal: Daten: 0.06MB + Index: 0.02MB + Engine InnoDB
wp_icwp_wpsf_events: Daten: 0.05MB + Index: 0.00MB + Engine InnoDB
wp_icwp_wpsf_ips: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_icwp_wpsf_ip_lists: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_icwp_wpsf_notes: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_icwp_wpsf_reports: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_icwp_wpsf_req_logs: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_icwp_wpsf_resultitems: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_icwp_wpsf_resultitem_meta: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_icwp_wpsf_scanitems: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_icwp_wpsf_scanner: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_icwp_wpsf_scanq: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_icwp_wpsf_scanresults: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_icwp_wpsf_scans: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_icwp_wpsf_sessions: Daten: 0.30MB + Index: 0.00MB + Engine InnoDB
wp_icwp_wpsf_user_meta: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_imagify_files: Daten: 0.09MB + Index: 0.13MB + Engine InnoDB
wp_imagify_folders: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_links: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_ms_snippets: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_newsletter: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_newsletter_sent: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_newsletter_stats: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_newsletter_user_logs: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_nextend2_image_storage: Daten: 0.09MB + Index: 0.02MB + Engine InnoDB
wp_nextend2_section_storage: Daten: 0.02MB + Index: 0.06MB + Engine InnoDB
wp_nf_objectmeta: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_nf_objects: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_nf_relationships: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_options: Daten: 4.41MB + Index: 0.20MB + Engine InnoDB
wp_pmxi_files: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_pmxi_history: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_pmxi_imports: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_pmxi_posts: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_pmxi_templates: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_postmeta: Daten: 20.08MB + Index: 1.95MB + Engine InnoDB
wp_posts: Daten: 1.52MB + Index: 0.38MB + Engine InnoDB
wp_snippets: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_statistics_exclusions: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_statistics_historical: Daten: 0.02MB + Index: 0.05MB + Engine InnoDB
wp_statistics_pages: Daten: 0.02MB + Index: 0.05MB + Engine InnoDB
wp_statistics_search: Daten: 0.02MB + Index: 0.05MB + Engine InnoDB
wp_statistics_useronline: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_statistics_visit: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_statistics_visitor: Daten: 0.02MB + Index: 0.08MB + Engine InnoDB
wp_termmeta: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_terms: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_term_relationships: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_term_taxonomy: Daten: 0.05MB + Index: 0.03MB + Engine InnoDB
wp_usermeta: Daten: 0.05MB + Index: 0.03MB + Engine InnoDB
wp_users: Daten: 0.02MB + Index: 0.05MB + Engine InnoDB
wp_wc_admin_notes: Daten: 0.06MB + Index: 0.00MB + Engine InnoDB
wp_wc_admin_note_actions: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_wc_category_lookup: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_wc_customer_lookup: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_wc_download_log: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_wc_order_coupon_lookup: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_wc_order_product_lookup: Daten: 0.02MB + Index: 0.06MB + Engine InnoDB
wp_wc_order_stats: Daten: 0.02MB + Index: 0.05MB + Engine InnoDB
wp_wc_order_tax_lookup: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_wc_product_attributes_lookup: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_wc_product_download_directories: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_wc_product_meta_lookup: Daten: 0.02MB + Index: 0.09MB + Engine InnoDB
wp_wc_rate_limits: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_wc_reserved_stock: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_wc_tax_rate_classes: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_wc_webhooks: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_wfBadLeechers: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_wfBlockedIPLog: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_wfBlocks: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_wfBlocksAdv: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_wfConfig: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_wfCrawlers: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_wfFileMods: Daten: 1.52MB + Index: 0.00MB + Engine InnoDB
wp_wfHits: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_wfHoover: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_wfIssues: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_wfLeechers: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_wfLockedOut: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_wfLocs: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_wfLogins: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_wfNet404s: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_wfReverseCache: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_wfScanners: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_wfStatus: Daten: 0.05MB + Index: 0.03MB + Engine InnoDB
wp_wfThrottleLog: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_wfVulnScanners: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_wpgmza: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_wpgmza_categories: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_wpgmza_category_maps: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_wpgmza_circles: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_wpgmza_maps: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_wpgmza_polygon: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_wpgmza_polylines: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_wpgmza_rectangles: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_wplnst_scans: Daten: 0.02MB + Index: 0.08MB + Engine InnoDB
wp_wplnst_scans_objects: Daten: 0.02MB + Index: 0.05MB + Engine InnoDB
wp_wplnst_urls: Daten: 0.06MB + Index: 0.19MB + Engine InnoDB
wp_wplnst_urls_locations: Daten: 0.02MB + Index: 0.28MB + Engine InnoDB
wp_wplnst_urls_locations_att: Daten: 0.02MB + Index: 0.06MB + Engine InnoDB
wp_wplnst_urls_status: Daten: 0.02MB + Index: 0.23MB + Engine InnoDB
wp_wpr_rucss_resources: Daten: 0.02MB + Index: 0.06MB + Engine InnoDB
wp_wpr_rucss_used_css: Daten: 0.02MB + Index: 0.08MB + Engine InnoDB
wp_xsg_sitemap_meta: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB### Post Type Counts ###
advgb_profiles: 1
attachment: 1068
custom_css: 1
kaliforms_forms: 1
mailpoet_page: 1
nav_menu_item: 37
page: 42
post: 15
product: 166
product_variation: 2
shop_order: 13
wp_block: 4
wp_global_styles: 1
wysijap: 1### Security ###
Secure connection (HTTPS): ?
Hide errors from visitors: ?### Active Plugins (8) ###
Fluent Forms: von Contact Form – WPManageNinja LLC – 4.3.9
Imagify: von WP Media – 1.10
Checkout Field Editor for WooCommerce: von ThemeHigh – 1.6.1
WooCommerce: von Automattic – 6.7.0
StoreCustomizer: von Kaira – 2.4.2
WP Rocket: von WP Media – 3.11.4.2
Shield Security: von Shield Security – 15.1.5
WP Sitemaps Config: von Kybernetik Services – 2.1.0### Inactive Plugins (0) ###
### Dropin Plugins (1) ###
advanced-cache.php: advanced-cache.php
### Settings ###
API Enabled: ?
Force SSL: –
Currency: CHF (CHF)
Currency Position: right_space
Thousand Separator: ‘
Decimal Separator: .
Number of Decimals: 2
Taxonomies: Product Types: external (external)
grouped (grouped)
simple (simple)
variable (variable)Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
exclude-from-search (exclude-from-search)
featured (featured)
featured (featured-2)
outofstock (outofstock)
rated-1 (rated-1)
rated-2 (rated-2)
rated-3 (rated-3)
rated-4 (rated-4)
rated-5 (rated-5)Connected to WooCommerce.com: –
Enforce Approved Product Download Directories: –### WC Pages ###
Shop-Basis: #576 – /shop/
Warenkorb: #74 – /warenkorb/
Kasse: #45 – /kasse/
Mein Konto: #39 – /login/
Allgemeine Gesch?ftsbedingungen: #28 – /agb/### Theme ###
Name: XXXXXX
Version: XXXXXX
Author URL: XXXXXX
Child Theme: ? – Wenn Sie WooCommerce mit einem Theme
das Sie nicht selbst entwickelt haben
an eigene Bedürfnisse anpassen
dann empfehlen wir die Verwendung eines Child-Themes. Siehe Wie Sie ein Child-Theme erstellen (engl.)WooCommerce Support: ?
### Templates ###
Archive Template: Ihr Theme hat eine woocommerce.php-Datei
was dazu führt
dass Sie das Template woocommerce/archive-product.php nicht überschreiben k?nnen
da woocommerce.php h?her gewichtet wird als archive-product.php. Das ist beabsichtigt
um Darstellungsprobleme zu verhindern.Overrides: XXXXXX/woocommerce/archive-product.php
XXXXXX/woocommerce/cart/cart-totals.php
XXXXXX/woocommerce/cart/cart.php
XXXXXX/woocommerce/cart/cross-sells.php
XXXXXX/woocommerce/cart/mini-cart.php
XXXXXX/woocommerce/checkout/form-checkout.php
XXXXXX/woocommerce/content-product.php
XXXXXX/woocommerce/content-single-product.php
XXXXXX/woocommerce/loop/loop-end.php
XXXXXX/woocommerce/loop/loop-start.php
XXXXXX/woocommerce/loop/no-products-found.php
XXXXXX/woocommerce/loop/pagination.php
XXXXXX/woocommerce/myaccount/downloads.php
XXXXXX/woocommerce/notices/error.php
XXXXXX/woocommerce/notices/success.php
XXXXXX/woocommerce/single-product/add-to-cart/external.php
XXXXXX/woocommerce/single-product/meta.php
XXXXXX/woocommerce/single-product/product-image.php
XXXXXX/woocommerce/single-product/product-thumbnails.php
XXXXXX/woocommerce/single-product/related.php
XXXXXX/woocommerce/single-product/sale-flash.php
XXXXXX/woocommerce/single-product/tabs/description.php
XXXXXX/woocommerce/single-product/tabs/tabs.php
XXXXXX/woocommerce/single-product/title.php
XXXXXX/woocommerce/single-product/up-sells.php
XXXXXX/woocommerce/single-product-reviews.php### Admin ###
Enabled Features: activity-panels
analytics
coupons
customer-effort-score-tracks
experimental-products-task
experimental-import-products-task
experimental-fashion-sample-products
experimental-product-tour
homescreen
marketing
mobile-app-banner
navigation
onboarding
onboarding-tasks
remote-inbox-notifications
remote-free-extensions
payment-gateway-suggestions
shipping-label-banner
subscriptions
store-alerts
transient-notices
wc-pay-promotion
wc-pay-welcome-page
wc-pay-subscriptions-pageDisabled Features: minified-js
settingsDaily Cron: ? Next scheduled: 2022-07-18 09:16:20 +02:00
Options: ?
Notes: 8
Onboarding: completed### Action Scheduler ###
Abgeschlossen: 40
Oldest: 2022-06-21 20:35:49 +0200
Newest: 2022-07-17 01:37:29 +0200Ausstehend: 1
Oldest: 2022-07-17 22:46:02 +0200
Newest: 2022-07-17 22:46:02 +0200### Status report information ###
Generated at: 2022-07-17 13:26:27 +02:00
`
- The topic ‘Critical error after upgrading to PHP 8 and 8.1’ is closed to new replies.