Can't Clear User Sessions – 500,000 Rows Of wc_sessions in wp_options
-
Hello –
Site: removed
I’m currently experiencing a major issue with one of the sites I oversee. The database is showing me well over 500,000 rows of data in wp_options relating to user sessions – and steadily increasing. They all look like this:
1497764 – _wc_session_expires_77d5db54437b75217b1f86c15dfe9b
There are hundreds of thousands of these rows.
I have attempted to clear all user sessions by navigating to the WooCommerce setting WooCommerce > System Status > Tools > Clear All Sessions (Customer Sessions) but apparently this does nothing as I refresh my phpMyAdmin backend and I still see all rows still there, the number (529k at this time) is still the same.
I am not sure if I should go page by page within phpMyAdmin and delete them, or what. I don’t want to delete something that actually is important accidentally.
If anyone has any idea what to do please advise. Thank you.
### WordPress Environment ### Home URL: removed Site URL: removed WC Version: 2.5.5 Log Directory Writable: ? WP Version: 4.5.2 WP Multisite: – WP Memory Limit: 256 MB WP Debug Mode: – Language: en_US ### Server Environment ### Server Info: Apache PHP Version: 5.4.43 PHP Post Max Size: 64 MB PHP Time Limit: 30 PHP Max Input Vars: 1000 SUHOSIN Installed: – MySQL Version: 5.5.42 Max Upload Size: 64 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 2.5.5 : woocommerce_sessions: ? woocommerce_api_keys: ? woocommerce_attribute_taxonomies: ? woocommerce_termmeta: ? woocommerce_downloadable_product_permissions: ? woocommerce_order_items: ? woocommerce_order_itemmeta: ? woocommerce_tax_rates: ? woocommerce_tax_rate_locations: ? ### Settings ### Force SSL: ? Currency: USD ($) Currency Position: left Thousand Separator: , Decimal Separator: . Number of Decimals: 2 ### API ### API Enabled: ? API Version: 3.1.0 ### WC Pages ### Shop Base: #89 - /shop/ Cart: #90 - /cart/ Checkout: #91 - /checkout/ My Account: #92 - /my-account/ ### Taxonomies ### Product Types: external (external) grouped (grouped) simple (simple) variable (variable) ### Theme ### Name: Storefront USS Version: 1.0.0 Author URL: https://bluetowerdesign.com Child Theme: ? Parent Theme Name: Storefront Parent Theme Version: 1.6.1 – 2.0.1 is available Parent Theme Author URL: https://www.woothemes.com WooCommerce Support: ? ### Templates ### Overrides: storefront-uss/woocommerce/checkout/form-checkout.php storefront-uss/woocommerce/single-product/add-to-cart/external.php storefront-uss/woocommerce/single-product/title.php ### Authorize.net AIM ### Environment: Production
- The topic ‘Can't Clear User Sessions – 500,000 Rows Of wc_sessions in wp_options’ is closed to new replies.