Cart goes empty for logged out users
-
@mikejolley, @automic
After deactivating all themes, except the WP 2024 default and all plugins, except WooCommerce, I still get that cart empty error for logged out users. I referred the issue to my hosting provider and the reply was:
”I have then checked the issue by disabling the plugins other than Woocommerce plugin but the issue is not resolved. I have tried changing the theme but the cart is not working as excepted. I have reverted the changes made after troubleshooting the issue. The issue appears to be with woocommerce plugin itself. It is best to contact Woocommerce plugin vendors regarding this issue and get it fixed. If they ask to make any changes from our end, then please let us know the exact changes so that we can check further.”
Can you guys please look into this issue, squash this bug and push out an update?
-
Hi there @dono12,
Thanks for reaching out.
Please send us the system status report. You can find this under WooCommerce > Status > Get system report > Copy for support. It would help us to understand your site setup properly.
Once we have all this information, we’ll be in a better position to diagnose the issue further.
I removed theme information because: “I have then checked the issue by disabling the plugins other than Woocommerce plugin but the issue is not resolved. I have tried changing the theme but the cart is not working as excepted”
` ### WordPress Environment ### WordPress address (URL): Site address (URL): ****************** WC Version: 8.8.2 REST API Version: ? 8.8.2 Action Scheduler Version: ? 3.7.4 Log Directory Writable: ? WP Version: 6.5.2 WP Multisite: – WP Memory Limit: 512 MB WP Debug Mode: ? WP Cron: ? Language: en_US External object cache: – ### Server Environment ### Server Info: Apache PHP Version: 7.4.10 PHP Post Max Size: 20 MB PHP Time Limit: 120 PHP Max Input Vars: 1000 cURL Version: 7.47.0 OpenSSL/1.0.2g SUHOSIN Installed: – MySQL Version: 5.6.51-91.0-log Max Upload Size: 20 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 8.8.2 WC Database Prefix: exwv_ Total Database Size: 53.20MB Database Data Size: 43.29MB Database Index Size: 9.91MB exwv_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB exwv_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB exwv_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB exwv_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB exwv_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB exwv_woocommerce_order_itemmeta: Data: 0.08MB + Index: 0.09MB + Engine InnoDB exwv_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB exwv_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB exwv_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB exwv_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.05MB + Engine InnoDB exwv_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB exwv_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB exwv_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB exwv_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB exwv_actionscheduler_actions: Data: 3.52MB + Index: 3.20MB + Engine InnoDB exwv_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB exwv_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB exwv_actionscheduler_logs: Data: 2.52MB + Index: 2.48MB + Engine InnoDB exwv_cm_popfly_history: Data: 0.02MB + Index: 0.00MB + Engine InnoDB exwv_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB exwv_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB exwv_gla_attribute_mapping_rules: Data: 0.02MB + Index: 0.00MB + Engine InnoDB exwv_gla_budget_recommendations: Data: 0.19MB + Index: 0.14MB + Engine InnoDB exwv_gla_merchant_issues: Data: 0.02MB + Index: 0.00MB + Engine InnoDB exwv_gla_shipping_rates: Data: 0.02MB + Index: 0.03MB + Engine InnoDB exwv_gla_shipping_times: Data: 0.02MB + Index: 0.02MB + Engine InnoDB exwv_jetpack_sync_queue: Data: 4.52MB + Index: 0.06MB + Engine InnoDB exwv_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB exwv_mailpoet_automations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB exwv_mailpoet_automation_runs: Data: 0.02MB + Index: 0.08MB + Engine InnoDB exwv_mailpoet_automation_run_logs: Data: 0.02MB + Index: 0.06MB + Engine InnoDB exwv_mailpoet_automation_run_subjects: Data: 0.02MB + Index: 0.03MB + Engine InnoDB exwv_mailpoet_automation_triggers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB exwv_mailpoet_automation_versions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB exwv_mailpoet_custom_fields: Data: 0.02MB + Index: 0.02MB + Engine InnoDB exwv_mailpoet_dynamic_segment_filters: Data: 0.02MB + Index: 0.02MB + Engine InnoDB exwv_mailpoet_feature_flags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB exwv_mailpoet_forms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB exwv_mailpoet_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB exwv_mailpoet_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB exwv_mailpoet_newsletters: Data: 0.05MB + Index: 0.05MB + Engine InnoDB exwv_mailpoet_newsletter_links: Data: 0.02MB + Index: 0.05MB + Engine InnoDB exwv_mailpoet_newsletter_option: Data: 0.02MB + Index: 0.02MB + Engine InnoDB exwv_mailpoet_newsletter_option_fields: Data: 0.02MB + Index: 0.02MB + Engine InnoDB exwv_mailpoet_newsletter_posts: Data: 0.02MB + Index: 0.02MB + Engine InnoDB exwv_mailpoet_newsletter_segment: Data: 0.02MB + Index: 0.02MB + Engine InnoDB exwv_mailpoet_newsletter_templates: Data: 2.52MB + Index: 0.00MB + Engine InnoDB exwv_mailpoet_scheduled_tasks: Data: 0.16MB + Index: 0.13MB + Engine InnoDB exwv_mailpoet_scheduled_task_subscribers: Data: 0.02MB + Index: 0.02MB + Engine InnoDB exwv_mailpoet_segments: Data: 0.02MB + Index: 0.03MB + Engine InnoDB exwv_mailpoet_sending_queues: Data: 0.05MB + Index: 0.03MB + Engine InnoDB exwv_mailpoet_settings: Data: 0.02MB + Index: 0.02MB + Engine InnoDB exwv_mailpoet_statistics_bounces: Data: 0.02MB + Index: 0.00MB + Engine InnoDB exwv_mailpoet_statistics_clicks: Data: 0.02MB + Index: 0.05MB + Engine InnoDB exwv_mailpoet_statistics_forms: Data: 0.02MB + Index: 0.02MB + Engine InnoDB exwv_mailpoet_statistics_newsletters: Data: 0.02MB + Index: 0.03MB + Engine InnoDB exwv_mailpoet_statistics_opens: Data: 0.02MB + Index: 0.08MB + Engine InnoDB exwv_mailpoet_statistics_unsubscribes: Data: 0.02MB + Index: 0.05MB + Engine InnoDB exwv_mailpoet_statistics_woocommerce_purchases: Data: 0.02MB + Index: 0.08MB + Engine InnoDB exwv_mailpoet_stats_notifications: Data: 0.02MB + Index: 0.03MB + Engine InnoDB exwv_mailpoet_subscribers: Data: 0.02MB + Index: 0.23MB + Engine InnoDB exwv_mailpoet_subscriber_custom_field: Data: 0.02MB + Index: 0.02MB + Engine InnoDB exwv_mailpoet_subscriber_ips: Data: 0.02MB + Index: 0.02MB + Engine InnoDB exwv_mailpoet_subscriber_segment: Data: 0.02MB + Index: 0.03MB + Engine InnoDB exwv_mailpoet_subscriber_tag: Data: 0.02MB + Index: 0.03MB + Engine InnoDB exwv_mailpoet_tags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB exwv_mailpoet_user_agents: Data: 0.02MB + Index: 0.02MB + Engine InnoDB exwv_mailpoet_user_flags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB exwv_options: Data: 5.42MB + Index: 0.13MB + Engine InnoDB exwv_postmeta: Data: 1.52MB + Index: 0.27MB + Engine InnoDB exwv_posts: Data: 0.48MB + Index: 0.06MB + Engine InnoDB exwv_smush_dir_images: Data: 0.02MB + Index: 0.03MB + Engine InnoDB exwv_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB exwv_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB exwv_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB exwv_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB exwv_tm_taskmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB exwv_tm_tasks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB exwv_usermeta: Data: 0.14MB + Index: 0.03MB + Engine InnoDB exwv_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB exwv_wc_admin_notes: Data: 0.08MB + Index: 0.00MB + Engine InnoDB exwv_wc_admin_note_actions: Data: 0.08MB + Index: 0.02MB + Engine InnoDB exwv_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB exwv_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB exwv_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB exwv_wc_orders: Data: 0.02MB + Index: 0.11MB + Engine InnoDB exwv_wc_orders_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB exwv_wc_order_addresses: Data: 0.02MB + Index: 0.06MB + Engine InnoDB exwv_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB exwv_wc_order_operational_data: Data: 0.02MB + Index: 0.03MB + Engine InnoDB exwv_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB exwv_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB exwv_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB exwv_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB exwv_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB exwv_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB exwv_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB exwv_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB exwv_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB exwv_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB exwv_wfblockediplog: Data: 0.02MB + Index: 0.00MB + Engine InnoDB exwv_wfblocks7: Data: 0.02MB + Index: 0.05MB + Engine InnoDB exwv_wfconfig: Data: 1.28MB + Index: 0.00MB + Engine InnoDB exwv_wfcrawlers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB exwv_wffilechanges: Data: 0.02MB + Index: 0.00MB + Engine InnoDB exwv_wffilemods: Data: 6.52MB + Index: 0.00MB + Engine InnoDB exwv_wfhits: Data: 0.14MB + Index: 0.05MB + Engine InnoDB exwv_wfhoover: Data: 0.02MB + Index: 0.02MB + Engine InnoDB exwv_wfissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB exwv_wfknownfilelist: Data: 11.52MB + Index: 0.00MB + Engine InnoDB exwv_wflivetraffichuman: Data: 0.02MB + Index: 0.02MB + Engine InnoDB exwv_wflocs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB exwv_wflogins: Data: 0.22MB + Index: 0.06MB + Engine InnoDB exwv_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB exwv_wfls_role_counts: Data: 0.00MB + Index: 0.00MB + Engine MEMORY exwv_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB exwv_wfnotifications: Data: 0.05MB + Index: 0.00MB + Engine InnoDB exwv_wfpendingissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB exwv_wfreversecache: Data: 0.02MB + Index: 0.00MB + Engine InnoDB exwv_wfsecurityevents: Data: 0.02MB + Index: 0.00MB + Engine InnoDB exwv_wfsnipcache: Data: 0.02MB + Index: 0.05MB + Engine InnoDB exwv_wfstatus: Data: 0.13MB + Index: 0.11MB + Engine InnoDB exwv_wftrafficrates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB exwv_wfu_dbxqueue: Data: 0.02MB + Index: 0.00MB + Engine InnoDB exwv_wfu_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB exwv_wfu_userdata: Data: 0.02MB + Index: 0.02MB + Engine InnoDB exwv_wfwaffailures: Data: 0.02MB + Index: 0.00MB + Engine InnoDB exwv_wpmm_subscribers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ### Post Type Counts ### attachment: 125 buddyforms: 1 cm-ad-item: 2 custom_css: 3 customize_changeset: 22 kaliforms_forms: 1 mailpoet_page: 1 modula-gallery: 1 nav_menu_item: 13 oembed_cache: 3 page: 34 post: 37 product: 11 product_variation: 9 revision: 2 shop_coupon: 1 shop_order: 1 wp_global_styles: 3 wp_navigation: 1 wpcf7_contact_form: 2 wps_subscriptions: 18 ywsbs_subscription: 1 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (11) ### BuddyForms: by ThemeKraft – 2.8.9 Contact Form 7: by Takayuki Miyoshi – 5.9.3 EAN for WooCommerce: by WPFactory – 4.9.3 XML Sitemap Generator for Google: by Auctollo – 4.1.19 WooCommerce PayPal Payments: by WooCommerce – 2.6.1 WooCommerce: by Automattic – 8.8.2 Wordfence Security: by Wordfence – 7.11.5 WP-Optimize - Clean, Compress, Cache: by David Anderson Ruhani Rabin Team Updraft – 3.3.2 Smush: by WPMU DEV – 3.16.2 WP Super Cache: by Automattic – 1.12.0 YITH WooCommerce Subscription: by YITH – 3.4.0 ### Inactive Plugins (9) ### CM Pop-Up banners for WordPress: by CreativeMindsSolutions – 1.6.2 Facebook for WooCommerce: by Facebook – 3.1.15 Google Listings and Ads: by WooCommerce – 2.6.8 Jetpack: by Automattic – 13.3.1 Jetpack Boost: by Automattic - Jetpack Site Speed team – 3.2.2 LightStart - Maintenance Mode, Coming Soon and Landing Page Builder: by Themeisle – 2.6.11 MailPoet: by MailPoet – 4.49.0 Payment Plugins for PayPal WooCommerce: by Payment Plugins [email protected] – 1.0.46 WooCommerce Shipping & Tax: by WooCommerce – 2.5.4 ### Dropin Plugins () ### advanced-cache.php: advanced-cache.php ### 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: – ### Logging ### Enabled: ? Handler: Automattic\WooCommerce\Internal\Admin\Logging\LogHandlerFileV2 Retention period: 30 days Level threshold: – Log directory size: 65 KB ### WC Pages ### Shop base: #1599 - /products/ Cart: #1600 - /cart/ Checkout: #1601 - /checkout/ My account: #1602 - /my-account/ Terms and conditions: #387 - /terms-and-conditions/ ### Theme ### Name: ****************** Version: 1.0.0 Author URL: ****************** Child Theme: ? Parent Theme Name: ****************** Parent Theme Version: 1.2.6 Parent Theme Author URL: ****************** WooCommerce Support: ? ### Templates ### Archive Template: Your theme has a woocommerce.php file you will not be able to override the woocommerce/archive-product.php custom template since woocommerce.php has priority over archive-product.php. This is intended to prevent display issues. Overrides: ******************/woocommerce/checkout/form-billing.php ******************/woocommerce/checkout/form-coupon.php ******************/woocommerce/checkout/thankyou.php ******************/woocommerce/emails/email-footer.php ******************/woocommerce/emails/email-header.php ******************/woocommerce/emails/email-styles.php ******************/woocommerce/emails/plain/admin-cancelled-order.php ******************/woocommerce/emails/plain/admin-failed-order.php ******************/woocommerce/emails/plain/admin-new-order.php ******************/woocommerce/emails/plain/customer-completed-order.php ******************/woocommerce/emails/plain/customer-invoice.php ******************/woocommerce/emails/plain/customer-new-account.php ******************/woocommerce/emails/plain/customer-note.php ******************/woocommerce/emails/plain/customer-on-hold-order.php ******************/woocommerce/emails/plain/customer-processing-order.php ******************/woocommerce/emails/plain/customer-refunded-order.php ******************/woocommerce/emails/plain/customer-reset-password.php ******************/woocommerce/emails/plain/email-addresses.php ******************/woocommerce/emails/plain/email-customer-details.php ******************/woocommerce/emails/plain/email-downloads.php ******************/woocommerce/emails/plain/email-order-details.php ******************/woocommerce/emails/plain/email-order-items.php ******************/woocommerce/myaccount/dashboard.php ******************/woocommerce/myaccount/my-account.php ******************/woocommerce/myaccount/my-address.php ******************/woocommerce/myaccount/my-downloads.php ******************/woocommerce/myaccount/my-orders.php ******************/woocommerce/myaccount/navigation.php ******************/woocommerce/myaccount/orders.php ******************/woocommerce/myaccount/view-order.php ******************/woocommerce/single-product/title.php ### WooCommerce PayPal Payments ### Onboarded: ? Shop country code: US WooCommerce currency supported: ? Advanced Card Processing available in country: ? Pay Later messaging available in country: ? Webhook status: – PayPal Vault enabled: – ACDC Vault enabled: – Logging enabled: ? Reference Transactions: – Used PayPal Checkout plugin: – Subscriptions Mode: Disabled ### Admin ### Enabled Features: activity-panels analytics product-block-editor coupons core-profiler customize-store 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 product-variation-management product-virtual-downloadable product-external-affiliate product-grouped product-linked product-pre-publish-modal 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: minified-js new-product-management-experience product-custom-fields settings async-product-editor-category-field launch-your-store Daily Cron: ? Next scheduled: 2024-04-27 13:14:29 +00:00 Options: ? Notes: 168 Onboarding: completed ### Action Scheduler ### Complete: 75 Oldest: 2024-04-12 04:27:19 +0000 Newest: 2024-04-26 12:56:48 +0000 Failed: 3,592 Oldest: 2023-02-25 23:46:27 +0000 Newest: 2024-04-26 03:35:53 +0000 Pending: 3 Oldest: 2024-04-26 20:18:36 +0000 Newest: 2024-04-27 12:56:48 +0000 ### Status report information ### Generated at: 2024-04-26 15:20:32 +00:00 `
Hello @dono12,
Looking at your system status report, I’m able to notice that you have a caching plugin that is provided by your host.
I recommend that you configure the plugin to have it work correctly with your WooCommerce setup. You can learn more on how to configure a caching plugin for WooCommerce.
Let us know if this helps.
Hi there ?? 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.
Hey @ckadenge,
Thanks for getting back to me. I wasn’t able to find the root cause of the issue but the problem was resolved. Can’t actually say what caused it or what resolved it. Browser cookies, website caching, hosting server cache, plus all the aforementioned. The solution might’ve been permissions. In any case it started working again, thanks.
Hey, @dono12!
We’re glad it is working again!
If the issue comes back or you need help with anything else, please let us know so we can assist you further.
Have a wonderful day!
- The topic ‘Cart goes empty for logged out users’ is closed to new replies.