• Resolved mmonin

    (@mmonin)


    When adding a product to the cart, the display layout of the mini cart sidebar widget (it has no additional plugin or extensions for it, it’s just the core WooCommerce). Does not show the buttons that say “Complete purchase” and “View Cart”, instead it shows error messages:
    “Unexpected error in: woocommerce/mini-cart-cart-button-block

    Error: Cannot read properties of undefined (reading ‘__experimentalUseColorProps’)

    Here’s a screenshot: https://marykateillustrates.com/wp-content/uploads/2023/05/Screen-Shot-2023-05-24-at-10.36.08-PM.png

    Please feel free to add a product to the cart to see the issue.

    It was working properly until about two or three days ago – I don’t know what triggered the issue. Any help would be appreciated.

    `
    ### WordPress Environment ###
    
    WordPress address (URL): https://marykateillustrates.com
    Site address (URL): https://marykateillustrates.com
    WC Version: 7.7.0
    REST API Version: ? 7.7.0
    WC Blocks Version: ? 10.0.4
    Action Scheduler Version: ? 3.5.4
    Log Directory Writable: ?
    WP Version: 6.2.2
    WP Multisite: –
    WP Memory Limit: 512 MB
    WP Debug Mode: –
    WP Cron: ?
    Language: en_US
    External object cache: ?
    
    ### Server Environment ###
    
    Server Info: nginx
    PHP Version: 8.0.28
    PHP Post Max Size: 2 GB
    PHP Time Limit: 1200
    PHP Max Input Vars: 6144
    cURL Version: 7.86.0
    OpenSSL/1.1.1n
    
    SUHOSIN Installed: –
    MySQL Version: 10.4.26-MariaDB-log
    Max Upload Size: 2 GB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?
    
    ### Database ###
    
    WC Database Version: 7.7.0
    WC Database Prefix: wp_
    Total Database Size: 10.84MB
    Database Data Size: 9.01MB
    Database Index Size: 1.83MB
    wp_woocommerce_sessions: Data: 1.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_order_itemmeta: Data: 0.05MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_actions: Data: 0.16MB + Index: 0.14MB + Engine InnoDB
    wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_logs: Data: 0.13MB + Index: 0.11MB + Engine InnoDB
    wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mailchimp_carts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_mailchimp_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_options: Data: 1.09MB + Index: 0.08MB + Engine InnoDB
    wp_postmeta: Data: 1.52MB + Index: 0.20MB + Engine InnoDB
    wp_posts: Data: 4.09MB + Index: 0.09MB + Engine InnoDB
    wp_snippets: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_usermeta: Data: 0.06MB + Index: 0.03MB + Engine InnoDB
    wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB
    wp_wc_admin_note_actions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB
    wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    
    ### Post Type Counts ###
    
    attachment: 118
    customize_changeset: 6
    custom_css: 1
    feedback: 9
    jb_store_css: 11
    jetpack-portfolio: 1
    jetpack_migration: 2
    jp_img_sitemap: 4
    jp_sitemap: 4
    jp_sitemap_master: 4
    nav_menu_item: 7
    page: 14
    post: 2
    product: 13
    product_variation: 18
    revision: 233
    shop_coupon: 6
    shop_order: 11
    wp_global_styles: 2
    wp_navigation: 1
    wp_template: 7
    wp_template_part: 5
    
    ### Security ###
    
    Secure connection (HTTPS): ?
    Hide errors from visitors: ?
    
    ### Active Plugins (17) ###
    
    CAPTCHA 4WP: by WP White Security – 7.2.1
    Akismet Anti-Spam: by Automattic – 5.1
    Code Snippets: by Code Snippets Pro – 3.4.0
    Crowdsignal Forms: by Automattic – 1.7.0
    WordPress.com Editing Toolkit: by Automattic – 3.66446
    GA Google Analytics: by Jeff Starr – 20230306
    Gutenberg: by Gutenberg Team – 15.8.1
    Jetpack Boost: by Automattic - Jetpack Site Speed team – 1.8.0
    Jetpack: by Automattic – 12.2-a.13
    Layout Grid: by Automattic – 1.8.3
    Mailchimp for WooCommerce: by Mailchimp – 2.8.3
    Page Optimize: by Automattic – 0.5.3
    Crowdsignal Polls & Ratings: by Automattic
    Inc. – 3.0.10
    
    WooCommerce Payments: by Automattic – 5.9.0
    WooCommerce Shipping & Tax: by WooCommerce – 2.2.5
    WooCommerce Shipment Tracking: by WooCommerce – 2.3.1
    WooCommerce: by Automattic – 7.7.0
    
    ### Inactive Plugins (1) ###
    
    Classic Editor: by WordPress Contributors – 1.6.3
    
    ### Dropin Plugins (2) ###
    
    advanced-cache.php: advanced-cache.php
    object-cache.php: Memcached
    
    ### Must Use Plugins (1) ###
    
    WP.com Site Helper: by  –
    
    ### Settings ###
    
    API Enabled: –
    Force SSL: –
    Currency: USD ($)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    Taxonomies: Product Types: external (external)
    grouped (grouped)
    simple (simple)
    subscription (subscription)
    variable (variable)
    variable subscription (variable-subscription)
    
    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: ?
    HPOS feature screen enabled: –
    HPOS feature enabled: –
    Order datastore: WC_Order_Data_Store_CPT
    HPOS data sync enabled: –
    
    ### WC Pages ###
    
    Shop base: #364 - /shop/
    Cart: #365 - /cart/
    Checkout: #366 - /checkout/
    My account: #367 - /my-account/
    Terms and conditions: #704 - /terms-conditions/
    
    ### Theme ###
    
    Name: Dorna
    Version: 1.0.3
    Author URL: https://automattic.com/
    Child Theme: ?
    Parent Theme Name: Blockbase
    Parent Theme Version: 3.1.10
    Parent Theme Author URL: https://automattic.com/
    WooCommerce Support: ? Not declared
    
    ### Templates ###
    
    Overrides: –
    
    ### Subscriptions ###
    
    WCS_DEBUG: ? No
    Subscriptions Mode: ? Staging
    Subscriptions Live URL: https://cuccaricrafted.wpcomstaging.com
    Subscriptions-core Library Version: 5.7.1
    Subscription Statuses: –
    WooCommerce Account Connected: ? Yes
    Active Product Key: ? No
    
    ### Store Setup ###
    
    Country / State: United States (US) — Pennsylvania
    
    ### Subscriptions by Payment Gateway ###
    
    
    ### Payment Gateway Support ###
    
    WooCommerce Payments: products
    refunds
    multiple_subscriptions
    subscription_cancellation
    subscription_payment_method_change_admin
    subscription_payment_method_change_customer
    subscription_payment_method_change
    subscription_reactivation
    subscription_suspension
    subscriptions
    gateway_scheduled_payments
    tokenization
    add_payment_method
    
    
    ### Admin ###
    
    Enabled Features: activity-panels
    analytics
    coupons
    customer-effort-score-tracks
    import-products-task
    experimental-fashion-sample-products
    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
    woo-mobile-welcome
    wc-pay-promotion
    wc-pay-welcome-page
    
    Disabled Features: product-block-editor
    minified-js
    new-product-management-experience
    product-variation-management
    settings
    
    Daily Cron: ? Next scheduled: 2023-05-26 01:59:57 -04:00
    Options: ?
    Notes: 62
    Onboarding: completed
    
    ### WooCommerce Payments ###
    
    Version: 5.9.0
    Connected to WPCOM: Yes
    Blog ID: 199639636
    Account ID: acct_1N6lilFtVog5NZWi
    
    ### Action Scheduler ###
    
    Complete: 407
    Oldest: 2023-05-11 22:01:15 -0400
    Newest: 2023-05-24 22:14:05 -0400
    
    Failed: 4
    Oldest: 2023-05-11 22:02:16 -0400
    Newest: 2023-05-13 11:15:56 -0400
    
    Pending: 1
    Oldest: 2023-05-25 11:32:07 -0400
    Newest: 2023-05-25 11:32:07 -0400
    
    
    ### Status report information ###
    
    Generated at: 2023-05-24 22:44:57 -04:00
    `
    • This topic was modified 1 year, 6 months ago by mmonin.
    • This topic was modified 1 year, 6 months ago by mmonin.
    • This topic was modified 1 year, 6 months ago by mmonin.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @mmonin

    Thanks for reaching out!

    I understand that you are not seeing the usual buttons Complete purchase and View Cart on your Mini Cart Widget and instead produces an error message.

    I checked your site, added a product to my cart and I can see the issue here. However, I did not receive the error message above:

    Can you please share if there were any changes made on your site prior to this issue happening? Like, plugin, theme, or template update, etc?

    It looks like a third-party plugin or your theme might be causing the conflict here.

    For us to investigate this further, can you please try to switch to the default Storefront theme and only WooCommerce plugin is enabled and see if this works?

    If so, then this kind of problem is usually caused by your theme or a third-party plugin present on your site. We can run a conflict test to verify this. I’d recommend cloning your site to a staging environment and performing the tests described on this guide without modifying your live site or impacting customers. Many hosts provide staging facilities, so it’s worth checking in with them. It’s also possible to do it using the free WP Staging plugin.

    If this was caused by a third-party plugin present on your site, it would be best to reach out to the developers for further assistance here.

    If this did not resolve the issue, please provide the fatal error logs (if any) under WooCommerce > Status > Logs.

    You could copy and paste your reply here or paste it via https://gist.github.com/ and send the link here.

    Let us know how it goes!

    Hi,

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – we’ll be here if and/or when you are ready to continue.

    Best.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Mini cart widget buttons are not showing’ is closed to new replies.