• Resolved wizzzzard

    (@wizzzzard)


    We have a very bizarre issue at the moment and I am hoping that someone can point me in the right direction to pinpoint the problem:

    Every day or two, some of our products will go into a large negative stock, ranging from -40 to -300. All the items do it at the same time, yet the time is different each time it happens.

    No orders are being processed at the time it happens, and no members of staff are making any adjustments to stock levels when is occurs.

    At first I thought it was a caching issue, so I disabled all caches and it still happens.

    I then set up a staging site to troubleshoot, yet the problem doesn’t happen or I am unable to create the required sequence of events to make it happen.

    I have a few plugins that I suspect might be causing it, but as it is on the live site, I am unable to turn off these plugins to try to eliminate them.

    These are:
    Advanced Dynamic Pricing for WooCommerce (Pro): by AlgolPlus – 3.1.5
    Oliver POS – A WooCommerce Point of Sale (POS): by Oliver POS – 2.4.0.3
    WooCommerce Product Bundles: by WooCommerce – 6.15.2
    Stock Manager for WooCommerce: by StoreApps – 2.8.3

    And Woocommerce itself

    Because this error is happening at specific times, I have checked the website error logs and activity logs for anything happening at this time, and there is nothing

    I am at a loss and I am hoping that someone can suggest a few things I can try to identify what is causing the problem?

    Many thanks in advance, please see below the status report:

    
    ### WordPress Environment ###
    
    WordPress address (URL): https://www.primalraw.co.uk
    Site address (URL): https://www.primalraw.co.uk
    WC Version: 6.4.1
    REST API Version: ? 6.4.1
    WC Blocks Version: ? 7.2.2
    Action Scheduler Version: ? 3.4.0
    WC Admin Version: ? 3.3.2
    Log Directory Writable: ?
    WP Version: 5.9.3
    WP Multisite: –
    WP Memory Limit: 768 MB
    WP Debug Mode: –
    WP Cron: ?
    Language: en_GB
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 7.4.29
    PHP Post Max Size: 256 MB
    PHP Time Limit: 120
    PHP Max Input Vars: 3000
    cURL Version: 7.66.0
    OpenSSL/1.1.1n-fips
    
    SUHOSIN Installed: –
    MySQL Version: 5.7.32-35-log
    Max Upload Size: 256 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?
    
    ### Database ###
    
    WC Database Version: 6.4.1
    WC Database Prefix: wp_
    Total Database Size: 1980.46MB
    Database Data Size: 1422.97MB
    Database Index Size: 557.49MB
    wp_woocommerce_sessions: Data: 13.02MB + Index: 0.16MB + Engine InnoDB
    wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_woocommerce_order_items: Data: 29.55MB + Index: 8.52MB + Engine InnoDB
    wp_woocommerce_order_itemmeta: Data: 300.84MB + Index: 204.38MB + Engine InnoDB
    wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_shipping_zone_locations: Data: 0.05MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_payment_tokens: Data: 0.52MB + Index: 0.16MB + Engine InnoDB
    wp_woocommerce_payment_tokenmeta: Data: 2.52MB + Index: 3.03MB + Engine InnoDB
    wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    smackuci_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_actionscheduler_actions: Data: 6.02MB + Index: 7.33MB + Engine InnoDB
    wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_logs: Data: 5.03MB + Index: 5.03MB + Engine InnoDB
    wp_atum_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_atum_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_atum_product_data: Data: 0.06MB + Index: 0.05MB + Engine InnoDB
    wp_cli_cookie_scan: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_cli_cookie_scan_categories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_cli_cookie_scan_cookies: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_cli_cookie_scan_url: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_cli_scripts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_commentmeta: Data: 1.11MB + Index: 0.79MB + Engine MyISAM
    wp_comments: Data: 86.21MB + Index: 30.25MB + Engine MyISAM
    wp_es_pluginconfig: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_EWD_OTP_Customers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_EWD_OTP_Custom_Fields: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_EWD_OTP_Fields_Meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_EWD_OTP_Orders: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_EWD_OTP_Order_Statuses: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_EWD_OTP_Sales_Reps: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_gla_budget_recommendations: Data: 0.20MB + Index: 0.11MB + Engine InnoDB
    wp_gla_merchant_issues: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_gla_shipping_rates: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_gla_shipping_times: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_import_postID: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mailchimp_carts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_mailchimp_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_nf3_actions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_nf3_action_meta: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    wp_nf3_chunks: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_nf3_fields: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_nf3_field_meta: Data: 0.13MB + Index: 0.00MB + Engine InnoDB
    wp_nf3_forms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_nf3_form_meta: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    wp_nf3_objects: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_nf3_object_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_nf3_relationships: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_nf3_upgrades: Data: 0.09MB + Index: 0.00MB + Engine InnoDB
    wp_options: Data: 37.45MB + Index: 2.33MB + Engine InnoDB
    wp_postmeta: Data: 424.94MB + Index: 211.55MB + Engine InnoDB
    wp_posts: Data: 22.50MB + Index: 11.44MB + Engine InnoDB
    wp_pos_warehouse: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_pum_subscribers: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_pv_commission: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_revslider_css: Data: 0.13MB + Index: 0.00MB + Engine InnoDB
    wp_revslider_layer_animations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_revslider_navigations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_revslider_sliders: Data: 0.03MB + Index: 0.00MB + Engine InnoDB
    wp_revslider_slides: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_revslider_static_slides: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_sgpb_subscribers: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_sgpb_subscription_error_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_stock_log: Data: 16.55MB + Index: 0.00MB + Engine InnoDB
    wp_termmeta: Data: 0.05MB + Index: 0.05MB + Engine MyISAM
    wp_terms: Data: 0.06MB + Index: 0.03MB + Engine InnoDB
    wp_term_relationships: Data: 1.50MB + Index: 0.47MB + Engine InnoDB
    wp_term_taxonomy: Data: 0.08MB + Index: 0.06MB + Engine InnoDB
    wp_tm_taskmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_tm_tasks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_usermeta: Data: 16.85MB + Index: 8.14MB + Engine MyISAM
    wp_users: Data: 0.78MB + Index: 0.71MB + Engine MyISAM
    wp_wcpdf_invoice_number: Data: 1.52MB + Index: 0.00MB + Engine InnoDB
    wp_wcpdf_packing_slip_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB
    wp_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_customer_lookup: Data: 1.52MB + Index: 0.75MB + Engine InnoDB
    wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_order_bundle_lookup: Data: 8.52MB + Index: 12.00MB + Engine InnoDB
    wp_wc_order_coupon_lookup: Data: 0.09MB + Index: 0.13MB + Engine InnoDB
    wp_wc_order_product_lookup: Data: 35.56MB + Index: 25.06MB + Engine InnoDB
    wp_wc_order_stats: Data: 7.52MB + Index: 6.53MB + Engine InnoDB
    wp_wc_order_tax_lookup: Data: 6.52MB + Index: 5.03MB + Engine InnoDB
    wp_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_product_meta_lookup: Data: 0.23MB + Index: 0.47MB + Engine InnoDB
    wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wdp_orders: Data: 3.52MB + Index: 0.92MB + Engine InnoDB
    wp_wdp_order_items: Data: 5.52MB + Index: 6.06MB + Engine InnoDB
    wp_wdp_product_collections: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wdp_rules: Data: 0.08MB + Index: 0.03MB + Engine InnoDB
    wp_wmfo_fraud_attempts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wmfo_logs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wml_entries: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_bundled_itemmeta: Data: 0.25MB + Index: 0.25MB + Engine InnoDB
    wp_woocommerce_bundled_items: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wpmailsmtp_debug_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wpmailsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wpml_mails: Data: 373.58MB + Index: 0.00MB + Engine InnoDB
    wp_wt_iew_action_history: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wt_iew_mapping_template: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_yith_wcwl: Data: 1.52MB + Index: 0.19MB + Engine InnoDB
    wp_yith_wcwl_lists: Data: 1.52MB + Index: 1.03MB + Engine InnoDB
    wp_yoast_indexable: Data: 5.52MB + Index: 3.11MB + Engine InnoDB
    wp_yoast_indexable_hierarchy: Data: 0.20MB + Index: 0.28MB + Engine InnoDB
    wp_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_yoast_primary_term: Data: 0.09MB + Index: 0.09MB + Engine InnoDB
    wp_yoast_seo_links: Data: 0.39MB + Index: 0.20MB + Engine InnoDB
    wp_yoast_seo_meta: Data: 1.52MB + Index: 0.00MB + Engine InnoDB
    
    ### Post Type Counts ###
    
    attachment: 1530
    calendar: 1
    custom_css: 2
    custom_order_status: 12
    es_template: 4
    iksm: 1
    nav_menu_item: 99
    nf_sub: 670
    ngg_gallery: 2
    ngg_pictures: 314
    o-list: 1
    oembed_cache: 9
    page: 54
    popup: 2
    popupbuilder: 2
    popup_theme: 9
    pos-station: 2
    post: 11
    product: 1211
    product_variation: 30
    revision: 1
    rpt_pricing_table: 1
    shop_coupon: 36
    shop_order: 54678
    shop_order_refund: 1272
    slide: 3
    soliloquy: 1
    sp_wcslider: 1
    sp_wps_shortcodes: 2
    user_request: 1
    vendor_store: 8
    vtprd-rule: 9
    wcps: 1
    wcps_layout: 1
    wc_afrsm: 1
    wc_product_table: 1
    woo_discount_cart: 1
    wpt_product_table: 1
    wysijap: 1
    yith_wcps_type: 1
    
    ### Security ###
    
    Secure connection (HTTPS): ?
    Hide errors from visitors: ?
    
    ### Active Plugins (40) ###
    
    Advanced Dynamic Pricing for WooCommerce (Pro): by AlgolPlus – 3.1.5
    FiboSearch - AJAX Search for WooCommerce: by FiboSearch Team – 1.17.0
    Blackhole for Bad Bots: by Jeff Starr – 3.3.2
    PublishPress Capabilities: by PublishPress – 2.3.7
    Classic Editor: by WordPress Contributors – 1.6.2
    GDPR Cookie Consent: by WebToffee – 2.1.1
    Custom Order Status for WooCommerce Pro: by Tyche Softwares – 2.1.0
    Social Reviews & Recommendations: by Trust.reviews  – 1.7.7
    Flexible Shipping: by WP Desk – 4.11.6
    Kadence WooCommerce Email Designer: by Kadence WP – 1.5.0
    Max Mega Menu: by megamenu.com – 2.9.6
    Ninja Forms: by Saturday Drive – 3.6.9
    Oliver POS - A WooCommerce Point of Sale (POS): by Oliver POS – 2.4.0.3
    Popup Builder: by Sygnoos – 4.1.6
    Product CSV Import Export (BASIC): by WebToffee – 2.1.9
    Repeat Order for Woocommerce: by polyres – 1.2.0
    SiteGround Optimizer: by SiteGround – 7.0.9
    Page Builder by SiteOrigin: by SiteOrigin – 2.16.11
    SiteOrigin Widgets Bundle: by SiteOrigin – 1.32.3
    Under Construction: by WebFactory Ltd – 3.93
    User Switching: by John Blackbourn & contributors – 1.5.8
    WooCommerce Weight Based Shipping: by weightbasedshipping.com – 5.3.20
    WooCommerce Cart Weight: by WP Desk – 1.4.7
    Order Weight for WooCommerce: by Andreas Karman – 0.5.5
    WooCommerce Extended Coupon Features PRO: by Soft79 – 3.2.9
    Table Rate Shipping for WooCommerce: by JEM Plugins – 2.25
    WooCommerce Stripe Gateway: by WooCommerce – 6.3.0
    WooCommerce Google Analytics Integration: by WooCommerce – 1.5.8
    WooCommerce PDF Invoices & Packing Slips: by WP Overnight – 2.14.4
    WooCommerce PDF Invoices & Packing Slips Premium Templates: by Ewout Fernhout – 2.9.5
    WooCommerce Product Archive Customiser: by jameskoster – 1.0.5
    WooCommerce Product Bundles: by WooCommerce – 6.15.2
    WooCommerce Shipment Tracking: by WooCommerce – 1.7.0
    WooCommerce Shortcodes: by WooThemes
    Claudio Sanches – 1.0.0
    
    Stock Manager for WooCommerce: by StoreApps – 2.8.3
    WooCommerce Xero Integration: by WooCommerce – 1.7.41
    WooCommerce: by Automattic – 6.4.1
    Yoast SEO: by Team Yoast – 18.6
    WP Mail Logging: by Wysija – 1.10.4
    WP Mail SMTP: by WPForms – 3.3.0
    
    ### Inactive Plugins (0) ###
    
    ### Settings ###
    
    API Enabled: ?
    Force SSL: –
    Currency: GBP (£)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    Taxonomies: Product Types: bundle (bundle)
    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: ?
    
    ### WC Pages ###
    
    Shop base: #4 - /shop/
    Basket: #5 - /cart/
    Checkout: #6 - /checkout/
    My account: #7 - /my-account/
    Terms and conditions: #3281 - /terms-and-conditions/
    
    ### Theme ###
    
    Name: GeneratePress Child
    Version: 0.1
    Author URL: https://tomusborne.com
    Child Theme: ?
    Parent Theme Name: GeneratePress
    Parent Theme Version: 3.1.3
    Parent Theme Author URL: https://tomusborne.com
    WooCommerce Support: ?
    
    ### Templates ###
    
    Overrides: –
    
    ### Product Bundles ###
    
    Database Version: 6.15.2
    Loopback Test: ?
    Template Overrides: –
    
    ### Action Scheduler ###
    
    Complete: 16,704
    Oldest: 2022-03-22 12:10:55 +0000
    Newest: 2022-04-22 08:38:10 +0000
    
    Failed: 21
    Oldest: 2019-12-31 21:06:52 +0000
    Newest: 2020-09-18 12:08:23 +0000
    
    Pending: 2
    Oldest: 2022-04-22 11:39:23 +0000
    Newest: 2022-04-23 03:00:00 +0000
    
    ### Status report information ###
    
    Generated at: 2022-04-22 09:39:50 +01:00
    

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Sérgio L. a11n

    (@csnlima)

    Hi @wizzzzard,

    I agree with you that it’s probably a conflict with another plugin since you can’t replicate the same on the staging site.

    If you can’t perform a conflict test, can you please try to install WP Crontrol Plugin?

    If a plugin is performing any task then you will be able to identify it with this plugin.

    Let me know how it goes.

    Best,

    Thread Starter wizzzzard

    (@wizzzzard)

    Thank you for that info, I have activated WP control and let you know once I pinpoint the conflict in case anyone else has a similar issue

    Plugin Support Paulo P – a11n

    (@paulostp)

    Sounds great! We’ll be here if you need additional help.

    Thanks

    Thread Starter wizzzzard

    (@wizzzzard)

    I have spent a few days sifting through the cron jobs and I can see anything that could be causing this issue.

    I have reached out to some of my plugin developers to see if they can help, so far we still can determine what is causing it.

    As an example one of our products keeps reverting to -280

    April 12, 2022 @ 12:42 PM -280
    April 13, 2022 @ 08:23 AM -280
    April 14, 2022 @ 12:10 PM -280
    April 14, 2022 @ 03:19 PM -280
    April 15, 2022 @ 11:29 AM -280
    April 15, 2022 @ 02:20 PM -280
    April 15, 2022 @ 04:44 PM -280
    April 18, 2022 @ 06:43 AM -280
    April 18, 2022 @ 11:35 AM -280
    April 19, 2022 @ 04:43 PM -280
    April 26, 2022 @ 04:22 PM -280`

    Hi @wizzzzard

    Thanks for the update.

    As an example one of our products keeps reverting to -280

    Can you please reach out to your host about this unusual behavior? You may probably want to have this particular job disabled and observe the difference. Your host can also investigate into any possible error logs and find out the fault.

    Let us know how it goes.

    We haven’t heard back from you in a while, so I’m marking this thread closed for now – we’ll be here if and/or when you are ready to continue.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Random Negative stock’ is closed to new replies.