• Resolved tmatt345

    (@tmatt345)


    Hi
    I am trying to find out if the latest version of woocommerce is compatible with PHP 8.0
    When I update from php 7.4 to 8.0 I get a critical error that states that the plugin woocommerce is the issue – and my website goes down.

    Is it compatible? If not, will there be a release for this soon? My hosting company automatically upgrades at the end of the month to php 8.0 and this would be very frustrating

    Many Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi @tmatt345

    Thank you for reaching out!

    WooCommerce is fully compatible with PHP 8.0.

    Can you please share the critical error you are receiving?

    I would also suggest checking if there are any fatal-error logs from WooCommerce > Status > Logs?

    If you see any fatal error logs, please copy/paste the content of the error in your reply so that we can have a look. The page would look something like this: https://d.pr/i/cfKUYK

    Also, in order for us to get a better understanding of your site setup, could you please share a copy of your website’s System Status Report?

    You can get it by navigating to the WooCommerce / Status section of your site. Once there, click on the Get system report button and then copy it by clicking on the Copy for support button. Then paste it here in a comment.

    Thread Starter tmatt345

    (@tmatt345)

    Hi @nawaz0705
    Thank you for assisting.

    This error is logged in error log

    2022-09-08T07:10:01+00:00 CRITICAL Unparenthesized a ? b : c ? d : e is not supported. Use either (a ? b : c) ? d : e or a ? b : (c ? d : e) in /usr/www/users/amorghwaxg/wp-content/plugins/js_composer/include/classes/editors/class-vc-frontend-editor.php on line 648

    System Status

    
    ### WordPress Environment ###
    
    WordPress address (URL): https://amorganic.co.za
    Site address (URL): https://amorganic.co.za
    WC Version: 6.8.2
    REST API Version: ? 6.8.2
    WC Blocks Version: ? 8.0.0
    Action Scheduler Version: ? 3.4.0
    Log Directory Writable: ?
    WP Version: 6.0.2
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: –
    WP Cron: ?
    Language: en_US
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 7.4.30
    PHP Post Max Size: 32 MB
    PHP Time Limit: 90
    PHP Max Input Vars: 2500
    cURL Version: 7.64.0
    OpenSSL/1.1.1n
    
    SUHOSIN Installed: –
    MySQL Version: 5.5.5-10.4.26-MariaDB-1:10.4.26+maria~deb10
    Max Upload Size: 32 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?
    
    ### Database ###
    
    WC Database Version: 6.8.2
    WC Database Prefix: am_
    Total Database Size: 21.49MB
    Database Data Size: 13.34MB
    Database Index Size: 8.15MB
    am_woocommerce_sessions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB
    am_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    am_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    am_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    am_woocommerce_order_items: Data: 0.05MB + Index: 0.02MB + Engine InnoDB
    am_woocommerce_order_itemmeta: Data: 0.22MB + Index: 0.20MB + Engine InnoDB
    am_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    am_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    am_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    am_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    am_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    am_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    am_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    am_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    am_actionscheduler_actions: Data: 0.08MB + Index: 0.13MB + Engine InnoDB
    am_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    am_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    am_actionscheduler_logs: Data: 0.06MB + Index: 0.03MB + Engine InnoDB
    am_aiowps_debug_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    am_aiowps_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    am_aiowps_failed_logins: Data: 1.52MB + Index: 0.00MB + Engine InnoDB
    am_aiowps_global_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    am_aiowps_login_activity: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    am_aiowps_login_lockdown: Data: 0.13MB + Index: 0.00MB + Engine InnoDB
    am_aiowps_permanent_block: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    am_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    am_comments: Data: 0.09MB + Index: 0.09MB + Engine InnoDB
    am_e_submissions: Data: 0.02MB + Index: 0.27MB + Engine InnoDB
    am_e_submissions_actions_log: Data: 0.02MB + Index: 0.11MB + Engine InnoDB
    am_e_submissions_values: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    am_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    am_litespeed_url: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    am_litespeed_url_file: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
    am_options: Data: 6.52MB + Index: 5.03MB + Engine InnoDB
    am_postmeta: Data: 1.52MB + Index: 0.50MB + Engine InnoDB
    am_posts: Data: 1.25MB + Index: 0.13MB + Engine InnoDB
    am_rank_math_404_logs: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    am_rank_math_analytics_objects: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    am_rank_math_internal_links: Data: 0.08MB + Index: 0.02MB + Engine InnoDB
    am_rank_math_internal_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    am_rank_math_redirections: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    am_rank_math_redirections_cache: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    am_revslider_css: Data: 0.13MB + Index: 0.02MB + Engine InnoDB
    am_revslider_css_bkp: Data: 0.13MB + Index: 0.02MB + Engine InnoDB
    am_revslider_layer_animations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    am_revslider_layer_animations_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    am_revslider_navigations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    am_revslider_navigations_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    am_revslider_sliders: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    am_revslider_sliders_bkp: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    am_revslider_slides: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    am_revslider_slides_bkp: Data: 0.05MB + Index: 0.02MB + Engine InnoDB
    am_revslider_static_slides: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    am_revslider_static_slides_bkp: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    am_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    am_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    am_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    am_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    am_usermeta: Data: 0.13MB + Index: 0.11MB + Engine InnoDB
    am_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    am_wc_admin_notes: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    am_wc_admin_note_actions: Data: 0.03MB + Index: 0.02MB + Engine InnoDB
    am_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    am_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    am_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    am_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    am_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    am_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    am_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    am_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    am_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    am_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    am_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    am_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    am_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    am_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    am_wpfm_backup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    am_yith_wcwl: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    am_yith_wcwl_lists: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    
    ### Post Type Counts ###
    
    attachment: 201
    nav_menu_item: 25
    page: 36
    portfolio: 10
    post: 9
    product: 50
    product_variation: 32
    shop_coupon: 2
    shop_order: 120
    shop_order_refund: 1
    testimonial: 2
    vc_grid_item: 1
    wpcf7_contact_form: 2
    
    ### Security ###
    
    Secure connection (HTTPS): ?
    Hide errors from visitors: ?
    
    ### Active Plugins (27) ###
    
    All In One WP Security: by All In One WP Security & Firewall Team – 5.0.6
    Colibri Interactive Portfolios: by Colibri Interactive – 1.0
    Colibri Interactive Shortcodes: by Colibri Interactive – 1.0
    Colibri Interactive Testimonials: by Colibri Interactive – 1.0
    Classic Editor: by WordPress Contributors – 1.6.2
    Classic Widgets: by WordPress Contributors – 0.3
    Contact Form 7: by Takayuki Miyoshi – 5.6.3
    Customizer Export/Import: by The Beaver Builder Team – 0.9.4
    Disable New User Notifications: by Thomas Griffin – 2.0.0
    WPBakery Page Builder: by Michael M - WPBakery.com – 6.9.0
    LiteSpeed Cache: by LiteSpeed Technologies – 5.2.1
    Meta Box: by MetaBox.io – 5.6.6
    Regenerate Thumbnails: by Alex Mills (Viper007Bond) – 3.1.5
    Slider Revolution: by ThemePunch – 6.5.31
    Simple Maintenance Mode: by Jeff Bullins – 1.05
    SSL Insecure Content Fixer: by WebAware – 2.7.2
    Widget Importer & Exporter: by ChurchThemes.com – 1.6
    PayGate PaySubs plugin for WooCommerce: by PayGate (Pty) Ltd – 1.0.2
    WooCommerce Virtual Card Services Gateway: by WooThemes – 1.1.6
    WooCommerce Grid / List toggle: by jameskoster – 1.2.1
    WooCommerce Shortcodes: by WooThemes
    Claudio Sanches – 1.0.0
    
    WooCommerce: by Automattic – 6.8.2
    WordPress Importer: by wordpressdotorg – 0.7
    WP File Manager: by mndpsingh287 – 7.1.6
    WP Force SSL: by WebFactory Ltd – 1.65
    WP Rollback: by GiveWP.com – 1.7.1
    YITH WooCommerce Wishlist: by YITH – 3.12.0
    
    ### Inactive Plugins (5) ###
    
    Akismet Anti-Spam: by Automattic – 5.0
    Colibri Interactive Portfolios: by Colibri Interactive – 1.0
    Rank Math SEO: by Rank Math – 1.0.96
    WPBakery Visual Composer: by Michael M - WPBakery.com – 4.12
    WPS Hide Login: by WPServeur
    NicolasKulka
    wpformation – 1.9.6
    
    ### Settings ###
    
    API Enabled: ?
    Force SSL: ?
    Currency: ZAR (R)
    Currency Position: left
    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)
    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 base: #7 - /shop/
    Cart: #249 - /cart/
    Checkout: #9 - /checkout/
    My account: #10 - /my-account/
    Terms and conditions: #357 - /terms-conditions/
    
    ### Theme ###
    
    Name: Organic Web Shop Child
    Version: 1.0
    Author URL: https://colibri-interactive.com
    Child Theme: ?
    Parent Theme Name: OrganicWebShop
    Parent Theme Version: 3.2.3
    Parent Theme Author URL: https://www.colibri-interactive.com/
    WooCommerce Support: ?
    
    ### Templates ###
    
    Overrides: organicwebshop/woocommerce/archive-product.php
    organicwebshop/woocommerce/cart/cross-sells.php
    organicwebshop/woocommerce/cart/mini-cart.php
    organicwebshop/woocommerce/content-product.php
    organicwebshop/woocommerce/content-single-product.php
    organicwebshop/woocommerce/loop/add-to-cart.php
    organicwebshop/woocommerce/loop/sale-flash.php
    organicwebshop/woocommerce/single-product/add-to-cart/simple.php
    organicwebshop/woocommerce/single-product/add-to-cart/variation.php
    organicwebshop/woocommerce/single-product/meta.php
    organicwebshop/woocommerce/single-product/product-image.php
    organicwebshop/woocommerce/single-product/rating.php
    organicwebshop/woocommerce/single-product/review.php
    organicwebshop/woocommerce/single-product/tabs/additional-information.php
    organicwebshop/woocommerce/single-product/tabs/description.php
    organicwebshop/woocommerce/single-product/title.php
    organicwebshop/woocommerce/single-product.php
    organicwebshop/woocommerce/content-product_cat.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
    shipping-smart-defaults
    shipping-setting-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-page
    
    Disabled Features: minified-js
    settings
    
    Daily Cron: ? Next scheduled: 2022-09-08 18:27:00 +02:00
    Options: ?
    Notes: 58
    Onboarding: completed
    
    ### Action Scheduler ###
    
    Complete: 130
    Oldest: 2022-08-11 13:25:30 +0000
    Newest: 2022-09-08 11:43:44 +0000
    
    Pending: 2
    Oldest: 2022-09-09 10:43:09 +0000
    Newest: 2022-09-14 09:48:42 +0000
    
    ### Status report information ###
    
    Generated at: 2022-09-08 16:56:15 +02:00
    

    `

    Plugin Contributor Nadir Seghir

    (@assassinateur)

    Hey @tmatt345

    This seems to be a bug from the Visual Composer plugin, I suggest you reach out to them to ensure compatibility with PHP 8.

    Thread Starter tmatt345

    (@tmatt345)

    Hi @assassinateur

    Thank you will do.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Woocommerce Compatible with Php 8.0 ?’ is closed to new replies.