• Resolved Rami

    (@rami4625)


    Database tables missing
    One or more tables required for WooCommerce to function are missing, some features may not work as expected. Missing tables: wpg0_woocommerce_sessions.

    
    ### WordPress Environment ###
    
    WordPress address (URL): https://importtr.com
    Site address (URL): https://importtr.com
    WC Version: 6.9.4
    REST API Version: ✔ 6.9.4
    WC Blocks Version: ✔ 8.3.3
    Action Scheduler Version: ✔ 3.4.0
    Log Directory Writable: ✔
    WP Version: 6.0.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: 7.4.30
    PHP Post Max Size: 64 MB
    PHP Time Limit: 500
    PHP Max Input Vars: 2000
    cURL Version: 7.61.1
    OpenSSL/1.1.1k
    
    SUHOSIN Installed: –
    MySQL Version: 5.5.5-10.3.28-MariaDB
    Max Upload Size: 64 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔
    
    ### Database ###
    
    WC Database Version: 6.9.4
    WC Database Prefix: wpg0_
    Total Database Size: 126.34MB
    Database Data Size: 87.28MB
    Database Index Size: 39.06MB
    wpg0_woocommerce_sessions: Data: 0.00MB + Index: 0.00MB + Engine
    wpg0_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpg0_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpg0_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wpg0_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpg0_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpg0_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wpg0_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpg0_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpg0_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpg0_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpg0_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpg0_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpg0_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpg0_actionscheduler_actions: Data: 0.16MB + Index: 0.17MB + Engine InnoDB
    wpg0_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpg0_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpg0_actionscheduler_logs: Data: 0.13MB + Index: 0.13MB + Engine InnoDB
    wpg0_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpg0_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wpg0_csp3_subscribers: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpg0_gla_budget_recommendations: Data: 0.22MB + Index: 0.14MB + Engine InnoDB
    wpg0_gla_merchant_issues: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpg0_gla_shipping_rates: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wpg0_gla_shipping_times: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpg0_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpg0_options: Data: 7.23MB + Index: 1.08MB + Engine InnoDB
    wpg0_postmeta: Data: 47.58MB + Index: 19.06MB + Engine InnoDB
    wpg0_posts: Data: 12.52MB + Index: 6.06MB + Engine InnoDB
    wpg0_revslider_css: Data: 0.13MB + Index: 0.03MB + Engine InnoDB
    wpg0_revslider_css_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpg0_revslider_layer_animations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpg0_revslider_layer_animations_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpg0_revslider_navigations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpg0_revslider_navigations_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpg0_revslider_sliders: Data: 0.30MB + Index: 0.03MB + Engine InnoDB
    wpg0_revslider_sliders_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpg0_revslider_slides: Data: 2.52MB + Index: 0.03MB + Engine InnoDB
    wpg0_revslider_slides_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpg0_revslider_static_slides: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpg0_revslider_static_slides_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpg0_sp_domain_mapping: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpg0_termmeta: Data: 0.14MB + Index: 0.17MB + Engine InnoDB
    wpg0_terms: Data: 0.08MB + Index: 0.09MB + Engine InnoDB
    wpg0_term_relationships: Data: 0.45MB + Index: 0.39MB + Engine InnoDB
    wpg0_term_taxonomy: Data: 0.09MB + Index: 0.06MB + Engine InnoDB
    wpg0_usermeta: Data: 0.22MB + Index: 0.06MB + Engine InnoDB
    wpg0_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wpg0_wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB
    wpg0_wc_admin_note_actions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB
    wpg0_wc_category_lookup: Data: 0.09MB + Index: 0.00MB + Engine InnoDB
    wpg0_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpg0_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpg0_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpg0_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wpg0_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wpg0_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpg0_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpg0_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpg0_wc_product_meta_lookup: Data: 0.34MB + Index: 0.56MB + Engine InnoDB
    wpg0_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpg0_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpg0_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpg0_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpg0_wfblockediplog: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    wpg0_wfblocks7: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wpg0_wfconfig: Data: 0.09MB + Index: 0.00MB + Engine InnoDB
    wpg0_wfcrawlers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpg0_wffilechanges: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpg0_wffilemods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpg0_wfhits: Data: 1.02MB + Index: 0.08MB + Engine InnoDB
    wpg0_wfhoover: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpg0_wfissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wpg0_wfknownfilelist: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpg0_wflivetraffichuman: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpg0_wflocs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpg0_wflogins: Data: 0.38MB + Index: 0.13MB + Engine InnoDB
    wpg0_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpg0_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpg0_wfnotifications: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpg0_wfpendingissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wpg0_wfreversecache: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpg0_wfsnipcache: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wpg0_wfstatus: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpg0_wftrafficrates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpg0_wpforms_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpg0_wpr_rucss_resources: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wpg0_wpr_rucss_used_css: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
    wpg0_yith_wcwl: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpg0_yith_wcwl_lists: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpg0_yoast_indexable: Data: 11.52MB + Index: 8.50MB + Engine InnoDB
    wpg0_yoast_indexable_hierarchy: Data: 0.20MB + Index: 0.31MB + Engine InnoDB
    wpg0_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpg0_yoast_primary_term: Data: 0.22MB + Index: 0.23MB + Engine InnoDB
    wpg0_yoast_prominent_words: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wpg0_yoast_seo_links: Data: 0.11MB + Index: 0.09MB + Engine InnoDB
    
    ### Post Type Counts ###
    
    addify_quote: 15
    addify_rfq: 2
    addify_rfq_fields: 8
    attachment: 18880
    custom_css: 3
    elementor_library: 1
    mas_static_content: 25
    nav_menu_item: 118
    page: 15
    post: 10
    product: 3007
    revision: 355
    seedprod: 1
    shop_coupon: 1
    shop_order: 2
    wpforms: 9
    wp_global_styles: 1
    
    ### Security ###
    
    Secure connection (HTTPS): ✔
    Hide errors from visitors: ✔
    
    ### Active Plugins (2) ###
    
    WooCommerce: by Automattic – 6.9.4
    WP Crontrol: by John Blackbourn & crontributors – 1.14.0
    
    ### Inactive Plugins (23) ###
    
    Advanced Custom Fields: by WP Engine – 6.0.2
    Electro Extensions: by MadrasThemes – 3.3.1
    Envato Market: by Envato – 2.0.7
    Google Listings and Ads: by WooCommerce – 2.1.3
    Jetpack: by Automattic – 11.3.2
    Loco Translate: by Tim Whitlock – 2.6.2
    MAS Brands for WooCommerce: by MadrasThemes – 1.0.5
    MAS Static Content: by MadrasThemes – 1.0.4
    One Click Demo Import: by OCDI – 3.1.2
    Search By SKU - for Woocommerce: by Unroll Digital – 0.8.0
    SeedProd Pro: by SeedProd – 6.4.3
    Slider Revolution: by ThemePunch – 6.5.31
    SVG Support: by Benbodhi – 2.5.1
    Template Library and Redux Framework: by Extendify – 4.3.18
    WooCommerce Shipping & Tax: by WooCommerce – 1.26.3
    Wordfence Security: by Wordfence – 7.6.2
    WPBakery Page Builder: by Michael M - WPBakery.com – 6.9.0
    WPForms Lite: by WPForms – 1.7.7
    WP Rocket: by WP Media – 3.11.4.2
    YITH WooCommerce Compare: by YITH – 2.18.0
    YITH WooCommerce Wishlist: by YITH – 3.13.0
    Yoast SEO: by Team Yoast – 19.7.1
    Yoast SEO Premium: by Team Yoast – 18.1
    
    ### Dropin Plugins (2) ###
    
    advanced-cache.php: advanced-cache.php
    maintenance.php: maintenance.php
    
    ### Settings ###
    
    API Enabled: –
    Force SSL: –
    Currency: USD ($)
    Currency Position: left_space
    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: ✔
    
    ### WC Pages ###
    
    Shop base: ❌ Page not set
    Cart: ❌ Page ID is set
    but the page does not exist
    
    Checkout: #3135 - /checkout-2/
    My account: #3854 - /my-account-2/
    Terms and conditions: #2183 - /terms-and-conditions/
    
    ### Theme ###
    
    Name: Twenty Twenty-Two
    Version: 1.2
    Author URL: https://ww.wp.xz.cn/
    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: –
    
    ### Admin ###
    
    Enabled Features: activity-panels
    analytics
    coupons
    customer-effort-score-tracks
    experimental-products-task
    experimental-import-products-task
    experimental-fashion-sample-products
    experimental-product-tour
    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
    wc-pay-promotion
    wc-pay-welcome-page
    
    Disabled Features: minified-js
    new-product-management-experience
    settings
    
    Daily Cron: ✔ Next scheduled: 2022-10-01 10:58:36 +00:00
    Options: ✔
    Notes: 89
    Onboarding: completed
    
    ### Action Scheduler ###
    
    Complete: 416
    Oldest: 2022-09-20 03:36:58 +0000
    Newest: 2022-09-30 10:39:18 +0000
    
    Pending: 1
    Oldest: 2022-09-30 11:10:13 +0000
    Newest: 2022-09-30 11:10:13 +0000
    
    ### Status report information ###
    
    Generated at: 2022-09-30 11:10:22 +00:00
    

    I tried to Update the database in Status>Tools, And deactivated all plugins and used the default theme, But the problem has persisted.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Saif

    (@babylon1999)

    Hello @rami4625,

    Could you go to WooCommerce > Status > Tools, and click Verify base database tables?

    If that didn’t take care of it, please share a copy of any fatal error log found under WooCommerce > System Status > Logs (if there are any).

    Thread Starter Rami

    (@rami4625)

    I did that and i got this message :
    Verifying database… One or more tables are still missing: wpg0_woocommerce_sessions

    And for the logs there is this message :

    google-listings-and-ads-2022-09-30-e7017c426384f60b394bbd2b4199f9f8.log
    2022-09-30T10:59:56+00:00 ERROR Automattic\WooCommerce\GoogleListingsAndAds\Notes\NoteInitializer::deactivate No action matching wc_gla_cron_daily_notes was found.

    I noticed that the (wpg0_woocommerce_sessions) table has (Engine) value as you can see here : https://ibb.co/q0cGhfw
    But in other websites i manage the value appear as (Engine InnoDB) So that may be related to the issue?

    Hi @rami4625

    Thanks for trying Saif’s suggestion.

    Can you please try to deactivate and re-activate the WooCommerce plugin and see if this resolves the issue? When WooCommerce is deactivated and activated again, it runs a check for WooCommerces database tables, and with that, it should create any missing tables.

    Thread Starter Rami

    (@rami4625)

    Hi @xue28
    I tried that & tried to reinstall the plugin but i got the same result.

    Hello,

    Sorry to hear abot that.

    I recommend you to contact your web host to confirm if there is something missing related to the table wpg0_woocommerce_sessions. Feel free to let us know if you have questions after that.

    Thank you.

    Thread Starter Rami

    (@rami4625)

    Hi @ihereira

    It’s a dedicated server managed by us, other websites don’t have any issues with woocommerce, The problem appears only in 1 website.

    Hi @rami4625

    Can you please open a support request for us to investigate further about your issue.

    Please include a link to this forum thread for us to check what has been done so far.

    Thanks!

    Thread Starter Rami

    (@rami4625)

    The support team helped me to fix the problem by the following instructions (Make a backup for your website before doing anything) :

    1- access to the database then search about (wpg0_woocommerce_sessions) table then click on (Structure) button to access to that table.
    2- Click on (Operations): https://d.pr/i/GiP4nc
    3- Delete the table: https://d.pr/i/O8IU1v
    4- Ok: https://d.pr/i/zuncM5
    5- Deactivate WooCommerce Plugin.
    6- Reactivate it.

    Thanks for helping.

    Plugin Support Darcie

    (@darciemg)

    Hi Rami,

    Thanks for coming back to share the solution here! Glad to see that you were able to resolve this and help others by posting what worked for you.

    Cheers!

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘wpg0_woocommerce_sessions Issue’ is closed to new replies.