• Resolved RedRiteUK

    (@redriteuk)


    Hey,

    I am working on a client site that uses woocommerce and divi. In the last 48hrs the add to cart button no longer works and no matter how many times you click to add it. If you then go visit the cart part it says its empty.
    We deactivated all themes but Twenty Twenty 3 and deactivated all plugins apart from woocommerce but the problem still persists.

    Status:

    WordPress Environment
    
    WordPress address (URL): https://herhairmyhead.co.uk
    Site address (URL): https://herhairmyhead.co.uk
    WC Version: 7.6.1
    REST API Version: ? 7.6.1
    WC Blocks Version: ? 9.8.5
    Action Scheduler Version: ? 3.5.4
    Log Directory Writable: ?
    WP Version: 6.2
    WP Multisite: –
    WP Memory Limit: 1 GB
    WP Debug Mode: –
    WP Cron: ?
    Language: en_GB
    External object cache: – Server Environment Server Info: Apache
    PHP Version: 8.1.18
    PHP Post Max Size: 512 MB
    PHP Time Limit: 300
    PHP Max Input Vars: 3000
    cURL Version: 7.64.0
    OpenSSL/1.1.1n SUHOSIN Installed: –
    MySQL Version: 5.7.41-log
    Max Upload Size: 512 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ? Database WC Database Version: 7.6.1
    WC Database Prefix: VQHcKyNt
    Total Database Size: 67.94MB
    Database Data Size: 48.66MB
    Database Index Size: 19.28MB
    VQHcKyNtwoocommerce_sessions: Data: 1.02MB + Index: 0.05MB + Engine InnoDB
    VQHcKyNtwoocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    VQHcKyNtwoocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    VQHcKyNtwoocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    VQHcKyNtwoocommerce_order_items: Data: 0.06MB + Index: 0.02MB + Engine InnoDB
    VQHcKyNtwoocommerce_order_itemmeta: Data: 0.31MB + Index: 0.28MB + Engine InnoDB
    VQHcKyNtwoocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    VQHcKyNtwoocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    VQHcKyNtwoocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    VQHcKyNtwoocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    VQHcKyNtwoocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    VQHcKyNtwoocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    VQHcKyNtwoocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    VQHcKyNtwoocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    VQHcKyNtactionscheduler_actions: Data: 2.02MB + Index: 2.73MB + Engine InnoDB
    VQHcKyNtactionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    VQHcKyNtactionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    VQHcKyNtactionscheduler_logs: Data: 3.02MB + Index: 2.73MB + Engine InnoDB
    VQHcKyNtce4wp_abandoned_checkout: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    VQHcKyNtce4wp_contacts: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    VQHcKyNtcommentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    VQHcKyNtcomments: Data: 0.08MB + Index: 0.09MB + Engine InnoDB
    VQHcKyNtgla_attribute_mapping_rules: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    VQHcKyNtgla_budget_recommendations: Data: 0.22MB + Index: 0.14MB + Engine InnoDB
    VQHcKyNtgla_merchant_issues: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    VQHcKyNtgla_shipping_rates: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    VQHcKyNtgla_shipping_times: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    VQHcKyNtlinks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    VQHcKyNtmailchimp_carts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    VQHcKyNtmailchimp_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    VQHcKyNtoptions: Data: 15.17MB + Index: 5.03MB + Engine InnoDB
    VQHcKyNtpodlovesubscribebutton_button: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    VQHcKyNtpodlove_job: Data: 0.25MB + Index: 0.00MB + Engine InnoDB
    VQHcKyNtpodlove_modules_analyticsheartbeat_heartbeat: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    VQHcKyNtpodlove_modules_logging_logtable: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    VQHcKyNtpostmeta: Data: 12.52MB + Index: 4.86MB + Engine InnoDB
    VQHcKyNtposts: Data: 8.45MB + Index: 0.44MB + Engine InnoDB
    VQHcKyNttermmeta: Data: 0.47MB + Index: 0.59MB + Engine InnoDB
    VQHcKyNtterms: Data: 0.06MB + Index: 0.03MB + Engine InnoDB
    VQHcKyNtterm_relationships: Data: 0.09MB + Index: 0.05MB + Engine InnoDB
    VQHcKyNtterm_taxonomy: Data: 0.06MB + Index: 0.03MB + Engine InnoDB
    VQHcKyNtum_metadata: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    VQHcKyNtusermeta: Data: 0.11MB + Index: 0.09MB + Engine InnoDB
    VQHcKyNtusers: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    VQHcKyNtwc_admin_notes: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    VQHcKyNtwc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    VQHcKyNtwc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    VQHcKyNtwc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    VQHcKyNtwc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    VQHcKyNtwc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    VQHcKyNtwc_order_product_lookup: Data: 0.06MB + Index: 0.06MB + Engine InnoDB
    VQHcKyNtwc_order_stats: Data: 0.05MB + Index: 0.05MB + Engine InnoDB
    VQHcKyNtwc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    VQHcKyNtwc_product_attributes_lookup: Data: 0.08MB + Index: 0.06MB + Engine InnoDB
    VQHcKyNtwc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    VQHcKyNtwc_product_meta_lookup: Data: 0.14MB + Index: 0.33MB + Engine InnoDB
    VQHcKyNtwc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    VQHcKyNtwc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    VQHcKyNtwc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    VQHcKyNtwc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    VQHcKyNtwoof_query_cache: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    VQHcKyNtyoast_indexable: Data: 2.03MB + Index: 0.42MB + Engine InnoDB
    VQHcKyNtyoast_indexable_hierarchy: Data: 0.06MB + Index: 0.05MB + Engine InnoDB
    VQHcKyNtyoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    VQHcKyNtyoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    VQHcKyNtyoast_seo_links: Data: 1.42MB + Index: 0.28MB + Engine InnoDB
    VQHcKyNtyoast_seo_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB Post Type Counts attachment: 2606
    custom_css: 1
    et_body_layout: 2
    et_footer_layout: 1
    et_header_layout: 3
    et_pb_layout: 5
    et_template: 4
    et_theme_builder: 1
    fts: 1
    mc4wp-form: 1
    nav_menu_item: 24
    oembed_cache: 7
    page: 49
    post: 32
    product: 233
    product_variation: 974
    revision: 698
    shop_coupon: 16
    shop_order: 196
    shop_order_refund: 34
    um_directory: 1
    um_form: 3
    wp_global_styles: 1
    wp_navigation: 1 Security Secure connection (HTTPS): ?
    Hide errors from visitors: ? Active Plugins (28) Akismet Anti-Spam: by Automattic – 5.1
    Child Theme Generator: by Serafino Corriero – 2.2.7
    Facebook for WooCommerce: by Facebook – 3.0.21
    Feed Them Social - Page, Post, Video and Photo Galleries: by SlickRemix – 4.1.3
    Google Listings and Ads: by WooCommerce – 2.4.4
    Header and Footer Scripts: by Digital Liberation – 2.2.1
    Health Check & Troubleshooting: by The www.remarpro.com community – 1.6.0
    Klarna Order Management for WooCommerce: by klarna
    krokedil – 1.7.1 Klarna Payments for WooCommerce: by krokedil
    klarna
    automattic – 3.0.6 AI Powered Marketing: by Kliken – 1.2.0
    Limit log in attempts reloaded: by Limit log in attempts reloaded – 2.25.16
    Mailchimp for WooCommerce: by Mailchimp – 2.8.3
    MC4WP: Mailchimp for WordPress: by ibericode – 4.9.4
    Simple Banner: by Ryan Petersen – 2.15.1
    Trustpilot-reviews: by Trustpilot – 2.5.914
    Under Construction: by WebFactory Ltd – 3.97
    UpdraftPlus - Backup/Restore: by UpdraftPlus.Com
    DavidAnderson – 1.23.3 W3 Total Cache: by BoldGrid – 2.3.1
    Checkout Field Editor for WooCommerce: by ThemeHigh – 1.8.2
    Additional Variation Images Gallery for WooCommerce: by Emran Ahmed – 1.3.17
    Variation Swatches for WooCommerce: by Emran Ahmed – 2.0.20
    WooCommerce Disability VAT Exemption: by WooCommerce – 1.5
    WooCommerce Stripe Gateway: by WooCommerce – 7.3.0
    Products Filter for WooCommerce: by realmag777 – 2.2.9.4
    WooCommerce Shipping & Tax: by WooCommerce – 2.2.4
    WooCommerce: by Automattic – 7.6.1
    Yoast SEO: by Team Yoast – 20.6
    WP Image Zoom PRO: by SilkyPress – 1.55 Inactive Plugins (2) Antispam Bee: by pluginkollektiv – 2.11.3
    Woocommerce Super Simple Tax Exemption: by Bobbie Wilson – 1.3 Dropin Plugins (1) advanced-cache.php: advanced-cache.php Must Use Plugins (2) 1&1 Product Subdomain: by 1&1 – 1.1.0
    Health Check Troubleshooting Mode: by – 1.9.0 Settings API Enabled: –
    Force SSL: –
    Currency: GBP (£)
    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: –
    Order datastore: WC_Order_Data_Store_CPT WC Pages Shop base: #496 - /shop
    Basket: #497 - /basket
    Checkout: #498 - /checkout
    My account: #499 - /my-account
    Terms and conditions: #686 - /terms-of-service Theme Name: Divi
    Version: 4.21.0
    Author URL: https://www.elegantthemes.com
    Child Theme: ? – If you are modifying WooCommerce on a parent theme that you did not build
    personally we recommend using a child theme. See: How to create a child theme WooCommerce Support: ? Templates Overrides: /homepages/22/d700427909/htdocs/clickandbuilds/HerHairMyHead/wp-content/plugins/woo-variation-gallery/templates/product-images.php
    /homepages/22/d700427909/htdocs/clickandbuilds/HerHairMyHead/wp-content/plugins/woo-variation-gallery/templates/product-thumbnails.php Klarna Payments Request Log 2023-02-19 23:51:14: KP Create Session
    Response code: 401
    Response message: {"headers":[],"body":"401 Authorization Required<\/title><\/head><body><center><h1>401 Authorization Required<\/h1><\/center><\/body><\/html>","response":{"code":401,"message":"Unauthorized"},"cookies":[],"filename":null,"http_response":{"data":null,"headers":null,"status":null}}<br /> Correlation ID:</p> <p>2023-02-15 22:41:21: KP Create Session<br /> Response code: 401<br /> Response message: {"headers":[],"body":"<html><head><title>401 Authorization Required<\/title><\/head><body><center><h1>401 Authorization Required<\/h1><\/center><\/body><\/html>","response":{"code":401,"message":"Unauthorized"},"cookies":[],"filename":null,"http_response":{"data":null,"headers":null,"status":null}}<br /> Correlation ID:</p> <p>2022-12-15 05:21:15: KP Create Session<br /> Response code: 401<br /> Response message: {"headers":[],"body":"<html><head><title>401 Authorization Required<\/title><\/head><body><center><h1>401 Authorization Required<\/h1><\/center><\/body><\/html>","response":{"code":401,"message":"Unauthorized"},"cookies":[],"filename":null,"http_response":{"data":null,"headers":null,"status":null}}<br /> Correlation ID:</p> <p>2022-12-15 05:21:12: KP Create Session<br /> Response code: 401<br /> Response message: {"headers":[],"body":"<html><head><title>401 Authorization Required<\/title><\/head><body><center><h1>401 Authorization Required<\/h1><\/center><\/body><\/html>","response":{"code":401,"message":"Unauthorized"},"cookies":[],"filename":null,"http_response":{"data":null,"headers":null,"status":null}}<br /> Correlation ID:</p> <p>2022-12-15 05:21:11: KP Create Session<br /> Response code: 401<br /> Response message: {"headers":[],"body":"<html><head><title>401 Authorization Required<\/title><\/head><body><center><h1>401 Authorization Required<\/h1><\/center><\/body><\/html>","response":{"code":401,"message":"Unauthorized"},"cookies":[],"filename":null,"http_response":{"data":null,"headers":null,"status":null}}<br /> Correlation ID:</p> <p>2022-12-15 05:21:11: KP Create Session<br /> Response code: 401<br /> Response message: {"headers":[],"body":"<html><head><title>401 Authorization Required<\/title><\/head><body><center><h1>401 Authorization Required<\/h1><\/center><\/body><\/html>","response":{"code":401,"message":"Unauthorized"},"cookies":[],"filename":null,"http_response":{"data":null,"headers":null,"status":null}}<br /> Correlation ID:</p> <p>2022-11-25 13:28:45: KP Create Session<br /> Response code: 401<br /> Response message: {"headers":[],"body":"<html><head><title>401 Authorization Required<\/title><\/head><body><center><h1>401 Authorization Required<\/h1><\/center><\/body><\/html>","response":{"code":401,"message":"Unauthorized"},"cookies":[],"filename":null,"http_response":{"data":null,"headers":null,"status":null}}<br /> Correlation ID:</p> <p>2022-11-25 13:28:31: KP Create Session<br /> Response code: 401<br /> Response message: {"headers":[],"body":"<html><head><title>401 Authorization Required<\/title><\/head><body><center><h1>401 Authorization Required<\/h1><\/center><\/body><\/html>","response":{"code":401,"message":"Unauthorized"},"cookies":[],"filename":null,"http_response":{"data":null,"headers":null,"status":null}}<br /> Correlation ID:</p> <p>2022-11-25 13:28:28: KP Create Session<br /> Response code: 401<br /> Response message: {"headers":[],"body":"<html><head><title>401 Authorization Required<\/title><\/head><body><center><h1>401 Authorization Required<\/h1><\/center><\/body><\/html>","response":{"code":401,"message":"Unauthorized"},"cookies":[],"filename":null,"http_response":{"data":null,"headers":null,"status":null}}<br /> Correlation ID:</p> <p>2022-11-25 13:28:27: KP Create Session<br /> Response code: 401<br /> Response message: {"headers":[],"body":"<html><head><title>401 Authorization Required<\/title><\/head><body><center><h1>401 Authorization Required<\/h1><\/center><\/body><\/html>","response":{"code":401,"message":"Unauthorized"},"cookies":[],"filename":null,"http_response":{"data":null,"headers":null,"status":null}}<br /> Correlation ID:</p> <p>2022-11-25 13:28:27: KP Create Session<br /> Response code: 401<br /> Response message: {"headers":[],"body":"<html><head><title>401 Authorization Required<\/title><\/head><body><center><h1>401 Authorization Required<\/h1><\/center><\/body><\/html>","response":{"code":401,"message":"Unauthorized"},"cookies":[],"filename":null,"http_response":{"data":null,"headers":null,"status":null}}<br /> Correlation ID:</p> <p>2022-11-25 13:25:56: KP Create Session<br /> Response code: 401<br /> Response message: {"headers":[],"body":"<html><head><title>401 Authorization Required<\/title><\/head><body><center><h1>401 Authorization Required<\/h1><\/center><\/body><\/html>","response":{"code":401,"message":"Unauthorized"},"cookies":[],"filename":null,"http_response":{"data":null,"headers":null,"status":null}}<br /> Correlation ID:</p> <p>2022-11-25 13:25:53: KP Create Session<br /> Response code: 401<br /> Response message: {"headers":[],"body":"<html><head><title>401 Authorization Required<\/title><\/head><body><center><h1>401 Authorization Required<\/h1><\/center><\/body><\/html>","response":{"code":401,"message":"Unauthorized"},"cookies":[],"filename":null,"http_response":{"data":null,"headers":null,"status":null}}<br /> Correlation ID:</p> <p>2022-11-25 13:25:52: KP Create Session<br /> Response code: 401<br /> Response message: {"headers":[],"body":"<html><head><title>401 Authorization Required<\/title><\/head><body><center><h1>401 Authorization Required<\/h1><\/center><\/body><\/html>","response":{"code":401,"message":"Unauthorized"},"cookies":[],"filename":null,"http_response":{"data":null,"headers":null,"status":null}}<br /> Correlation ID:</p> <p>2022-11-25 13:25:52: KP Create Session<br /> Response code: 401<br /> Response message: {"headers":[],"body":"<html><head><title>401 Authorization Required<\/title><\/head><body><center><h1>401 Authorization Required<\/h1><\/center><\/body><\/html>","response":{"code":401,"message":"Unauthorized"},"cookies":[],"filename":null,"http_response":{"data":null,"headers":null,"status":null}}<br /> Correlation ID:</p> <h3>Klarna Countries</h3> <p>Production Countries: GB<br /> Test Countries: No countries selected</p> <h3>Admin</h3> <p>Enabled Features: activity-panels<br /> analytics<br /> coupons<br /> customer-effort-score-tracks<br /> import-products-task<br /> experimental-fashion-sample-products<br /> shipping-smart-defaults<br /> shipping-setting-tour<br /> homescreen<br /> marketing<br /> multichannel-marketing<br /> mobile-app-banner<br /> navigation<br /> onboarding<br /> onboarding-tasks<br /> remote-inbox-notifications<br /> remote-free-extensions<br /> payment-gateway-suggestions<br /> shipping-label-banner<br /> subscriptions<br /> store-alerts<br /> transient-notices<br /> woo-mobile-welcome<br /> wc-pay-promotion<br /> wc-pay-welcome-page</p> <p>Disabled Features: block-editor-feature-enabled<br /> minified-js<br /> new-product-management-experience<br /> product-variation-management<br /> settings</p> <p>Daily Cron: ? Next scheduled: 2023-05-02 19:13:24 +00:00<br /> Options: ?<br /> Notes: 56<br /> Onboarding: completed</p> <h3>Action Scheduler</h3> <p>Complete: 3,264<br /> Oldest: 2023-04-01 17:27:18 +0000<br /> Newest: 2023-05-02 16:27:32 +0000</p> <p>Failed: 2<br /> Oldest: 2022-07-03 19:32:53 +0000<br /> Newest: 2022-09-15 09:51:28 +0000</p> <p>Pending: 3<br /> Oldest: 2023-05-03 14:16:03 +0000<br /> Newest: 2023-05-03 15:21:59 +0000</p> <h3>Status report information</h3> <p>Generated at: 2023-05-02 17:24:00 +00:00<br /> `</p>

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi @redriteuk,

    To check it further, can you please share a copy of the fatal error log found under WooCommerce > System Status > Logs (if available)

    Thank you!

    Thread Starter RedRiteUK

    (@redriteuk)

    The most recent error log is a stripe one it won’t let me copy and paste in here or upload an image. The stripe one says it needs an active SSL – however the SSL is active and the site shows a padlock clearly on all pages.

    But its not a fatal error log. There is none that state fatal error at all.

    Thread Starter RedRiteUK

    (@redriteuk)

    To add an update to this, the host Ionos came back and said the issue was the website was not compatible with PHP Version 8.1 – however we disabled all plugins but Woocommerce and twenty twenty three and still experienced the issue. Woocommerce is upto date and WordPress is version 6.2

    Plugin Support Beauty of Code (woo-hc)

    (@beautyofcode)

    Hi @redriteuk ,

    Thanks for reaching out!

    After checking your site, I am unable to reproduce this, as the items are added to the cart without any issues:

    To add an update to this, the host Ionos came back and said the issue was the website was not compatible with PHP Version 8.1

    For clarity:

    • Did you roll back your PHP version which resolved this issue?
    • Did you resolve the issue in a different manner?
    • Are you seeing something different, on your end and it is still not working for you or your client?

    If the issue persists on your end, please try clearing your browser cache and checking your site again.

    Should the issue still persist, please can you clarify if this occurs on a specific browser or various browsers? Also, does it occur with all products or specific products?

    Cheers!

    Plugin Support Beauty of Code (woo-hc)

    (@beautyofcode)

    Hi @redriteuk ,

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – we’ll be here if you need any further help with this.

    Cheers!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Add to cart not working’ is closed to new replies.