• Resolved designgr82

    (@designgr82)


    Good day,

    Since Thursday, 26 May 2022, my client has been experiencing constant and strange issues in her website dashboard:

    – Orders are placed, email is received but then either not showing or disappearing from the orders list in the back end.
    – Stock changes done either manually or after orders are placed are being reversed ie; sold out products are being returned back to stock.
    – New products added are showing on the front end, but cannot be found on the back end.

    On the front end, the site seems to be operating fine but on the back end, it is chaos for my client.

    We have updated to the latest versions and rolled back to past versions but nothing is helping. WP, WC, theme and all other plugins are up to date currently. Checked for plugin conflicts as well. Recent errors collected:

    Error Details
    =============
    An error of type E_ERROR was caused in line 104 of the file /home/chikaboutiqueco/domains/chikaboutique.co.za/public_html/wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-data-store-cpt.php. Error message: Uncaught Exception: Invalid order. in /home/chikaboutiqueco/domains/chikaboutique.co.za/public_html/wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-data-store-cpt.php:104
    Stack trace:
    #0 /home/chikaboutiqueco/domains/chikaboutique.co.za/public_html/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(159): Abstract_WC_Order_Data_Store_CPT->read()
    #1 /home/chikaboutiqueco/domains/chikaboutique.co.za/public_html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php(116): WC_Data_Store->read()
    2022-05-30 12:42:42.626587 [NOTICE] [662471] [T0] [197.229.152.161:45254:HTTP2-45#APVH_www.chikaboutique.co.za:443] [STDERR] WordPress database error Illegal mix of collations (utf8mb4_unicode_ci,IMPLICIT) and (utf8mb4_unicode_520_ci,IMPLICIT) for operation '=' for query SELECT chkb_braapf_variable_attributes.post_id as post_id, 
                       chkb_braapf_variable_attributes.post_id as parent_id,
                       chkb_braapf_variable_attributes.attribute as meta_key,
                       chkb_term_taxonomy.term_id as meta_value_id,
                       0 as stock_status
                FROM chkb_braapf_variable_attributes
                JOIN chkb_term_relationships ON chkb_braapf_variable_attributes.post_id = chkb_term_relationships.object_id
                JOIN chkb_term_taxonomy ON chkb_term_relationships.term_taxonomy_id = chkb_term_taxonomy.term_taxonomy_id AND chkb_term_taxonomy.taxonomy = chkb_braapf_variable_attributes.attribute
                LEFT JOIN chkb_braapf_product_variation_attributes ON chkb_braapf_product_variation_attributes.parent_id = chkb_braapf_variable_attributes.post_id AND chkb_braapf_product_variation_attributes.meta_value_id = chkb_term_taxonomy.term_id
                WHERE chkb_braapf_product_variation_attributes.meta_value_id IS NULL 
                      AND chkb_braapf_variable_attributes.post_id = 39307 made by shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, wp_ob_end_flush_all, ob_end_flush, SQ_Models_Frontend->getBuffer, apply_filters('sq_buffer'), WP_Hook->apply_filters, SQ_Models_Frontend->setMetaInBuffer, SQ_Models_Frontend->getHeader, apply_filters('sq_json_ld'), WP_Hook->apply_filters, SQ_Models_Services_JsonLD->generateStructuredData, SQ_Models_Services_JsonLD->getWoocommerceProductMarkup, WC_Product_Variable::sync, WC_Product->save, do_action('woocommerce_after_product_object_save'), WP_Hook->do_action, WP_Hook->apply_filters, BeRocket_aapf_variations_tables->variation_object_save

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter designgr82

    (@designgr82)

    
    ### WordPress Environment ###
    
    WordPress address (URL): https://chikaboutique.co.za
    Site address (URL): https://chikaboutique.co.za
    WC Version: 6.5.1
    REST API Version: ? 6.5.1
    WC Blocks Version: ? 7.4.3
    Action Scheduler Version: ? 3.4.0
    Log Directory Writable: ?
    WP Version: 6.0
    WP Multisite: –
    WP Memory Limit: 1 GB
    WP Debug Mode: –
    WP Cron: –
    Language: en_US
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: LiteSpeed
    PHP Version: 7.4.29
    PHP Post Max Size: 128 MB
    PHP Time Limit: 14400
    PHP Max Input Vars: 9000
    cURL Version: 7.83.1
    OpenSSL/1.0.2k-fips
    
    SUHOSIN Installed: –
    MySQL Version: 5.5.5-10.4.24-MariaDB
    Max Upload Size: 128 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?
    
    ### Database ###
    
    WC Database Version: 6.5.1
    WC Database Prefix: chkb_
    Total Database Size: 443.99MB
    Database Data Size: 364.08MB
    Database Index Size: 79.91MB
    chkb_woocommerce_sessions: Data: 0.60MB + Index: 0.02MB + Engine MyISAM
    chkb_woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    chkb_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    chkb_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    chkb_woocommerce_order_items: Data: 2.88MB + Index: 1.37MB + Engine MyISAM
    chkb_woocommerce_order_itemmeta: Data: 25.12MB + Index: 13.89MB + Engine MyISAM
    chkb_woocommerce_tax_rates: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    chkb_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    chkb_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    chkb_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    chkb_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    chkb_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    chkb_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    chkb_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    chkb_actionscheduler_actions: Data: 0.95MB + Index: 0.43MB + Engine MyISAM
    chkb_actionscheduler_claims: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    chkb_actionscheduler_groups: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    chkb_actionscheduler_logs: Data: 0.69MB + Index: 0.50MB + Engine MyISAM
    chkb_berocket_termmeta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    chkb_braapf_product_stock_status_parent: Data: 0.06MB + Index: 0.02MB + Engine InnoDB
    chkb_braapf_product_variation_attributes: Data: 0.08MB + Index: 0.14MB + Engine InnoDB
    chkb_braapf_term_taxonomy_hierarchical: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    chkb_braapf_variable_attributes: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    chkb_braapf_variation_attributes: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    chkb_commentmeta: Data: 0.28MB + Index: 0.20MB + Engine MyISAM
    chkb_comments: Data: 3.24MB + Index: 1.14MB + Engine MyISAM
    chkb_csp3_subscribers: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    chkb_cspv5_pages: Data: 0.01MB + Index: 0.00MB + Engine MyISAM
    chkb_et_social_stats: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    chkb_failed_jobs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    chkb_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    chkb_mailchimp_carts: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    chkb_offline_giftcard: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    chkb_options: Data: 6.37MB + Index: 1.02MB + Engine MyISAM
    chkb_postmeta: Data: 60.49MB + Index: 32.48MB + Engine MyISAM
    chkb_posts: Data: 10.84MB + Index: 2.81MB + Engine MyISAM
    chkb_qss: Data: 0.16MB + Index: 0.03MB + Engine InnoDB
    chkb_queue: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    chkb_sbi_feeds: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    chkb_sbi_feed_caches: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    chkb_sbi_instagram_feeds_posts: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    chkb_sbi_instagram_feed_locator: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    chkb_sbi_instagram_posts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    chkb_sbi_sources: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    chkb_smush_dir_images: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    chkb_termmeta: Data: 0.01MB + Index: 0.02MB + Engine MyISAM
    chkb_terms: Data: 0.01MB + Index: 0.02MB + Engine MyISAM
    chkb_term_relationships: Data: 0.10MB + Index: 0.21MB + Engine MyISAM
    chkb_term_taxonomy: Data: 0.01MB + Index: 0.01MB + Engine MyISAM
    chkb_tm_taskmeta: Data: 0.05MB + Index: 0.01MB + Engine MyISAM
    chkb_tm_tasks: Data: 0.01MB + Index: 0.00MB + Engine MyISAM
    chkb_usermeta: Data: 13.85MB + Index: 7.86MB + Engine MyISAM
    chkb_users: Data: 0.80MB + Index: 0.59MB + Engine MyISAM
    chkb_wc_admin_notes: Data: 0.03MB + Index: 0.00MB + Engine MyISAM
    chkb_wc_admin_note_actions: Data: 0.01MB + Index: 0.01MB + Engine MyISAM
    chkb_wc_category_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    chkb_wc_customer_lookup: Data: 0.58MB + Index: 0.42MB + Engine MyISAM
    chkb_wc_download_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    chkb_wc_order_coupon_lookup: Data: 0.03MB + Index: 0.07MB + Engine MyISAM
    chkb_wc_order_product_lookup: Data: 2.66MB + Index: 2.02MB + Engine MyISAM
    chkb_wc_order_stats: Data: 0.97MB + Index: 0.64MB + Engine MyISAM
    chkb_wc_order_tax_lookup: Data: 0.02MB + Index: 0.02MB + Engine MyISAM
    chkb_wc_product_attributes_lookup: Data: 0.06MB + Index: 0.05MB + Engine InnoDB
    chkb_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    chkb_wc_product_meta_lookup: Data: 0.20MB + Index: 0.27MB + Engine MyISAM
    chkb_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    chkb_wc_reserved_stock: Data: 0.02MB + Index: 0.02MB + Engine MyISAM
    chkb_wc_tax_rate_classes: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    chkb_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    chkb_wfblockediplog: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    chkb_wfblocks7: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    chkb_wfconfig: Data: 0.42MB + Index: 0.02MB + Engine MyISAM
    chkb_wfcrawlers: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    chkb_wffilechanges: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    chkb_wffilemods: Data: 2.20MB + Index: 0.45MB + Engine MyISAM
    chkb_wfhits: Data: 0.12MB + Index: 0.02MB + Engine MyISAM
    chkb_wfhoover: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    chkb_wfissues: Data: 0.01MB + Index: 0.01MB + Engine MyISAM
    chkb_wfknownfilelist: Data: 1.17MB + Index: 0.14MB + Engine MyISAM
    chkb_wflivetraffichuman: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    chkb_wflocs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    chkb_wflogins: Data: 0.41MB + Index: 0.07MB + Engine MyISAM
    chkb_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    chkb_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    chkb_wfnotifications: Data: 0.02MB + Index: 0.00MB + Engine MyISAM
    chkb_wfpendingissues: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    chkb_wfreversecache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    chkb_wfsnipcache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    chkb_wfstatus: Data: 0.08MB + Index: 0.04MB + Engine MyISAM
    chkb_wftrafficrates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    chkb_wpf_filters: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    chkb_wpml_mails: Data: 220.28MB + Index: 0.33MB + Engine MyISAM
    chkb_wsal_metadata: Data: 1.52MB + Index: 3.03MB + Engine InnoDB
    chkb_wsal_occurrences: Data: 0.09MB + Index: 0.19MB + Engine InnoDB
    chkb_yoast_indexable: Data: 5.52MB + Index: 8.08MB + Engine InnoDB
    chkb_yoast_indexable_hierarchy: Data: 0.38MB + Index: 0.52MB + Engine InnoDB
    chkb_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    chkb_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    chkb_yoast_seo_links: Data: 0.07MB + Index: 0.03MB + Engine MyISAM
    chkb_yoast_seo_meta: Data: 0.26MB + Index: 0.31MB + Engine MyISAM
    
    ### Post Type Counts ###
    
    acoplw_badges: 1
    acoplw_prod_list: 1
    attachment: 1374
    br_product_filter: 1
    custom_css: 3
    et_pb_layout: 9
    flamingo_contact: 7586
    flamingo_inbound: 717
    giftcard: 1
    ibfw_product_label: 2
    jetpack_migration: 2
    mega_cart_rule: 1
    mega_product_rule: 1
    nav_menu_item: 51
    oembed_cache: 1
    page: 20
    post: 88
    product: 217
    product_variation: 915
    revision: 290
    seedprod: 1
    shop_coupon: 83
    shop_order: 15146
    shop_order_refund: 10
    sumo_payment_plans: 1
    sumo_pp_cron_jobs: 846
    sumo_pp_masterlog: 6333
    sumo_pp_payments: 1247
    wafs: 1
    wc_afrsm: 1
    wpcf7_contact_form: 1
    wpcf7r_action: 2
    wpcf7r_leads: 105
    
    ### Security ###
    
    Secure connection (HTTPS): ?
    Hide errors from visitors: ?
    
    ### Active Plugins (17) ###
    
    Acowebs Product Labels For Woocommerce: by Acowebs – 1.2.7
    Classic Widgets: by WordPress Contributors – 0.3
    Contact Form 7: by Takayuki Miyoshi – 5.5.6.1
    Core Rollback: by Andy Fragen – 1.3.2
    Smash Balloon Instagram Feed: by Smash Balloon – 6.0.5
    Payflex Payment Gateway: by Payflex – 2.3.5
    Squirrly SEO (Peaks): by Squirrly – 12.1.04
    SUMO Payment Plans: by Fantastic Plugins – 9.5
    Advanced AJAX Product Filters for WooCommerce: by BeRocket – 1.6.2
    WooCommerce PayFast Gateway: by WooCommerce – 1.4.22
    WooCommerce Ultimate Gift Card: by MakeWebBetter  – 2.7.8
    WooCommerce: by Automattic – 6.5.1
    Yoast SEO: by Team Yoast – 18.9
    WP Mail Logging: by Wysija – 1.10.4
    WP Rollback: by Impress.org – 1.7.1
    Social Chat: by QuadLayers – 5.0.3
    Redirection for Contact Form 7: by Qube One – 2.6.0
    
    ### Inactive Plugins (4) ###
    
    Health Check & Troubleshooting: by The www.ads-software.com community – 1.4.5
    Limit Login Attempts Reloaded: by Limit Login Attempts Reloaded – 2.25.3
    Simple History: by P?r Thernstr?m – 3.3.0
    Wordfence Security: by Wordfence – 7.5.10
    
    ### Must Use Plugins (1) ###
    
    Health Check Troubleshooting Mode: by  – 1.7.2
    
    ### Settings ###
    
    API Enabled: –
    Force SSL: –
    Currency: ZAR (R)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    Taxonomies: Product Types: external (external)
    grouped (grouped)
    simple (simple)
    variable (variable)
    wgm_gift_card (wgm_gift_card)
    
    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: #574 - /shop/
    Cart: #575 - /cart/
    Checkout: #576 - /checkout/
    My account: #577 - /my-account/
    Terms and conditions: #858 - /terms-and-conditions/
    
    ### Theme ###
    
    Name: Divi
    Version: 4.17.4
    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: –
    
    ### Action Scheduler ###
    
    Complete: 3,710
    Oldest: 2022-05-27 08:57:54 +0200
    Newest: 2022-05-30 12:48:35 +0200
    
    Failed: 12
    Oldest: 2019-06-07 11:00:58 +0200
    Newest: 2019-10-14 18:35:52 +0200
    
    Pending: 2
    Oldest: 2022-05-30 12:48:53 +0200
    Newest: 2022-05-30 13:03:36 +0200
    
    ### Status report information ###
    
    Generated at: 2022-05-30 12:48:54 +02:00
    

    Hello @designgr82!

    We have updated to the latest versions and rolled back to past versions but nothing is helping. WP, WC, theme and all other plugins are up to date currently. Checked for plugin conflicts as well.

    I can see that you disabled all plugins except WooCommerce to do a conflict test.

    Can you please do another conflict test by following the steps below?

    • Temporarily switch your theme to Storefront
    • Disable all plugins except for WooCommerce
    • Disable/Remove all custom codes from your site.

    You can find a more detailed explanation of how to do a conflict test here. → https://docs.woocommerce.com/document/how-to-test-for-conflicts/

    Before you start

    First, please make sure you have a good backup in place of your full site and database. Most hosting companies have this included in the subscription, but you could also consider using a service like Jetpack. If something goes wrong, it’s nice to know that you can restore your site.
    Second, I would suggest installing a plugin called Health Check & Troubleshooting. This is a plugin developed by the WordPress community and it allows you to disable plugins without affecting your current site visitors.

    Let us know if that helps.

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Missing orders, stock not updating, products disappearing’ is closed to new replies.