• Resolved ceomybunny

    (@ceomybunny)


    Hello I have received a notification regarding an error caused by WooCommerce plugin. Could you please help me fixing this problem?

    The message is:

    When seeking help with this issue, you may be asked for some of the following information:
    WordPress version 5.8.2
    Current theme: ChildTheme (version 3.7.3)
    Current plugin: WooCommerce (version 6.0.0)
    PHP version 7.4.25
    Error Details
    =============
    An error of type E_ERROR was caused in line 333 of the file /home/SITE/public_html/wp-content/plugins/woocommerce/includes/class-woocommerce.php. Error message: Uncaught Error: Call to undefined function rest_get_url_prefix() in /home/SITE/public_html/wp-content/plugins/woocommerce/includes/class-woocommerce.php:333
    Stack trace:
    #0 /home/SITE/public_html/wp-content/plugins/woocommerce/includes/class-woocommerce.php(361): WooCommerce->is_rest_api_request()
    #1 /home/SITE/public_html/wp-content/plugins/woocommerce/includes/class-woocommerce.php(519): WooCommerce->is_request('frontend')
    #2 /home/SITE/public_html/wp-content/plugins/woocommerce/includes/class-woocommerce.php(172): WooCommerce->includes()
    #3 /home/SITE/public_html/wp-content/plugins/woocommerce/includes/class-woocommerce.php(131): WooCommerce->__construct()
    #4 /home/SITE/public_html/wp-content/plugins/woocommerce/woocommerce.php(47): WooCommerce::instance()
    #5 /home/SITE/public_html/wp-content/plugins/woocommerce/woocommerce.php(62): WC()
    #6 /home/SITE/public_html/wp-settings.php(409): include_once('/home/SITE/...')
    #7 /home/SITE/public_html/wp-config.php(83): require

    Many thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello there,

    Sorry to hear that.

    Could you please share a copy of your site’s System Status? You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”.? Please let us know.

    Thread Starter ceomybunny

    (@ceomybunny)

    Hi Igor,

    Thank you for following up. Here is the status:

    
    ### WordPress Environment ###
    
    WordPress address (URL): anonymous
    Site address (URL): anonymous
    WC Version: 6.0.0
    REST API Version: ? 6.0.0
    WC Blocks Version: ? 6.3.3
    Action Scheduler Version: ? 3.3.0
    WC Admin Version: ? 2.9.4
    Log Directory Writable: ?
    WP Version: 5.8.2
    WP Multisite: –
    WP Memory Limit: 384 MB
    WP Debug Mode: –
    WP Cron: ?
    Language: en_US
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 8.0.14
    PHP Post Max Size: 512 MB
    PHP Time Limit: 30
    PHP Max Input Vars: 1000
    cURL Version: 7.79.1
    OpenSSL/1.1.1m
    
    SUHOSIN Installed: –
    MySQL Version: 5.5.5-10.0.38-MariaDB-cll-lve
    Max Upload Size: 512 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?
    
    ### Database ###
    
    WC Database Version: 6.0.0
    WC Database Prefix: MrM90HE_
    Total Database Size: 4.76MB
    Database Data Size: 4.37MB
    Database Index Size: 0.39MB
    MrM90HE_woocommerce_sessions: Data: 0.03MB + Index: 0.00MB + Engine MyISAM
    MrM90HE_woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    MrM90HE_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    MrM90HE_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    MrM90HE_woocommerce_order_items: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    MrM90HE_woocommerce_order_itemmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    MrM90HE_woocommerce_tax_rates: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    MrM90HE_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    MrM90HE_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    MrM90HE_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    MrM90HE_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    MrM90HE_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    MrM90HE_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    MrM90HE_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    MrM90HE_actionscheduler_actions: Data: 0.03MB + Index: 0.03MB + Engine MyISAM
    MrM90HE_actionscheduler_claims: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    MrM90HE_actionscheduler_groups: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    MrM90HE_actionscheduler_logs: Data: 0.02MB + Index: 0.02MB + Engine MyISAM
    MrM90HE_cmplz_cookiebanners: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    MrM90HE_cmplz_cookies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    MrM90HE_cmplz_services: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    MrM90HE_commentmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    MrM90HE_comments: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    MrM90HE_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    MrM90HE_options: Data: 2.14MB + Index: 0.08MB + Engine MyISAM
    MrM90HE_postmeta: Data: 0.13MB + Index: 0.07MB + Engine MyISAM
    MrM90HE_posts: Data: 1.95MB + Index: 0.04MB + Engine MyISAM
    MrM90HE_termmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    MrM90HE_terms: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    MrM90HE_term_relationships: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    MrM90HE_term_taxonomy: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    MrM90HE_um_metadata: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    MrM90HE_usermeta: Data: 0.04MB + Index: 0.02MB + Engine MyISAM
    MrM90HE_users: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    MrM90HE_wcfm_daily_analysis: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    MrM90HE_wcfm_detailed_analysis: Data: 0.01MB + Index: 0.00MB + Engine MyISAM
    MrM90HE_wcfm_enquiries: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    MrM90HE_wcfm_enquiries_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    MrM90HE_wcfm_enquiries_response: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    MrM90HE_wcfm_enquiries_response_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    MrM90HE_wcfm_fbc_chat_rows: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    MrM90HE_wcfm_fbc_chat_sessions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    MrM90HE_wcfm_fbc_chat_visitors: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    MrM90HE_wcfm_fbc_offline_messages: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    MrM90HE_wcfm_following_followers: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    MrM90HE_wcfm_marketplace_orders: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    MrM90HE_wcfm_marketplace_orders_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    MrM90HE_wcfm_marketplace_product_multivendor: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    MrM90HE_wcfm_marketplace_refund_request: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    MrM90HE_wcfm_marketplace_refund_request_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    MrM90HE_wcfm_marketplace_reverse_withdrawal: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    MrM90HE_wcfm_marketplace_reverse_withdrawal_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    MrM90HE_wcfm_marketplace_reviews: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    MrM90HE_wcfm_marketplace_reviews_response: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    MrM90HE_wcfm_marketplace_reviews_response_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    MrM90HE_wcfm_marketplace_review_rating_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    MrM90HE_wcfm_marketplace_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    MrM90HE_wcfm_marketplace_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    MrM90HE_wcfm_marketplace_store_taxonomies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    MrM90HE_wcfm_marketplace_vendor_ledger: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    MrM90HE_wcfm_marketplace_withdraw_request: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    MrM90HE_wcfm_marketplace_withdraw_request_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    MrM90HE_wcfm_messages: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    MrM90HE_wcfm_messages_modifier: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    MrM90HE_wcfm_messages_stat: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    MrM90HE_wcfm_support: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    MrM90HE_wcfm_support_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    MrM90HE_wcfm_support_response: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    MrM90HE_wcfm_support_response_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    MrM90HE_wcpdf_invoice_number: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    MrM90HE_wcpdf_invoice_number_2021: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    MrM90HE_wc_admin_notes: Data: 0.01MB + Index: 0.00MB + Engine MyISAM
    MrM90HE_wc_admin_note_actions: Data: 0.01MB + Index: 0.00MB + Engine MyISAM
    MrM90HE_wc_appointments_availability: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    MrM90HE_wc_appointment_relationships: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    MrM90HE_wc_category_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    MrM90HE_wc_customer_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    MrM90HE_wc_download_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    MrM90HE_wc_order_coupon_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    MrM90HE_wc_order_product_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    MrM90HE_wc_order_stats: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    MrM90HE_wc_order_tax_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    MrM90HE_wc_product_meta_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    MrM90HE_wc_rate_limits: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    MrM90HE_wc_reserved_stock: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    MrM90HE_wc_tax_rate_classes: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    MrM90HE_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    
    ### Post Type Counts ###
    
    attachment: 1
    custom_css: 2
    customize_changeset: 97
    nav_menu_item: 6
    page: 16
    post: 1
    product: 2
    revision: 120
    shop_order: 3
    um_directory: 1
    um_form: 5
    wc_appointment: 8
    
    ### Security ###
    
    Secure connection (HTTPS): ?
    Hide errors from visitors: ?
    
    ### Active Plugins (16) ###
    
    Complianz | GDPR/CCPA Cookie Consent: by Really Simple Plugins – 5.5.3
    Complianz - Terms and Conditions: by Really Simple Plugins – 1.0.12
    Customize My Account for WooCommerce: by SysBasics – 1.1.3
    Members: by MemberPress – 3.1.7
    Ultimate Member: by Ultimate Member – 2.3.0
    Ultimate Member - reCAPTCHA: by Ultimate Member – 2.2.1
    UpdraftPlus - Backup/Restore: by UpdraftPlus.Com
    DavidAnderson – 1.16.69
    
    WCFM - WooCommerce Frontend Manager - Ultimate: by WC Lovers – 6.5.9
    WCFM - WooCommerce Frontend Manager: by WC Lovers – 6.6.1
    WCFM - WooCommerce Multivendor Marketplace: by WC Lovers – 3.5.0
    Payment Plugins for Stripe WooCommerce: by Payment Plugins
    [email protected] – 3.3.14
    
    WooCommerce Appointments: by BookingWP – 4.14.3
    WooCommerce PDF Invoices & Packing Slips: by Ewout Fernhout – 2.11.1
    WooCommerce Price Based on Country (Basic): by Oscar Gare – 2.1.0
    WooCommerce: by Automattic – 6.0.0
    StoreCustomizer: by Kaira – 2.3.6
    
    ### Inactive Plugins (0) ###
    
    ### Settings ###
    
    API Enabled: –
    Force SSL: –
    Currency: EUR (€)
    Currency Position: right_space
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    Taxonomies: Product Types: appointment (appointment)
    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: –
    
    ### WC Pages ###
    
    Shop base: ? Page not set
    Cart: #18 - /cart/
    Checkout: #19 - /checkout/
    My account: #20 - /my-account/
    Terms and conditions: ? Page not set
    
    ### Theme ###
    
    Name: ChildTheme
    Version: 3.7.3
    Author URL: anonymous
    Child Theme: ?
    Parent Theme Name: Astra
    Parent Theme Version: 3.7.6
    Parent Theme Author URL: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme
    WooCommerce Support: ?
    
    ### Templates ###
    
    Overrides: –
    
    ### Geolocation debug info ###
    
    Default customer location: geolocation
    MaxMind GeoIP database: ?
    MaxMind GeoIP license: ?
    MM_COUNTRY_CODE: ?
    GEOIP_COUNTRY_CODE: ?
    HTTP_CF_IPCOUNTRY: ?
    HTTP_X_COUNTRY_CODE: ?
    HTTP_X_REAL_IP: ?
    HTTP_X_FORWARDED_FOR: ?
    REMOTE_ADDR: anonymous
    Real external IP: anonymous
    WCPBC_USE_REMOTE_ADDR: –
    Geolocation Test: ?
    
    ### PBC Settings ###
    
    Version: 2.1.0
    Base location: US:CA
    Base currency: EUR
    Price Based On: billing
    Shipping: –
    Test mode: –
    Test country: –
    Load products price in background: –
    Prices entered with tax: –
    Calculate tax based on: billing
    Display prices in the shop: excl
    
    ### Zone Pricing Switzerland ###
    
    zone_id: switzerland
    name: Switzerland
    countries: LI | CH
    currency: CHF
    exchange_rate: 1.04
    auto_exchange_rate: no
    disable_tax_adjustment: no
    
    ### Zone Pricing Denmark ###
    
    zone_id: denmark
    name: Denmark
    countries: DK
    currency: DKK
    exchange_rate: 7.44
    auto_exchange_rate: no
    disable_tax_adjustment: no
    
    ### Action Scheduler ###
    
    Complete: 113
    Oldest: 2021-12-10 10:26:11 +0000
    Newest: 2022-01-02 09:50:37 +0000
    
    Pending: 1
    Oldest: 2022-01-02 11:22:11 +0000
    Newest: 2022-01-02 11:22:11 +0000
    
    ### Status report information ###
    
    Generated at: 2022-01-02 09:50:59 +00:00
    
    Mirko P.

    (@rainfallnixfig)

    Hi @ceomybunny,

    At first glance, this error seems to be caused by a theme or plugin conflict.

    Could you please perform a conflict test by following the steps below?

    • Temporarily switch your theme to Storefront
    • Disable all plugins except for WooCommerce
    • Repeat the action that is causing the problem

    If you’re not seeing the same problem after completing the conflict test, then you know the problem was with the plugins and/or theme you deactivated.

    To figure out which plugin is causing the problem, reactivate your theme first and check again. Then, your other plugins one by one, testing after each, until you find the one causing conflict.

    You can find a more detailed explanation on how to do a conflict test here https://docs.woocommerce.com/document/how-to-test-for-conflicts.

    Thanks.

    Mirko P.

    (@rainfallnixfig)

    Hi there,

    We haven’t heard from you in a while, so I’m going to mark this as resolved. Feel free to start a new thread if you have any more questions.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Critical error with Woocommerce 6.0.0’ is closed to new replies.