Out of stock product was stocked!
-
hello everyone
1-I found a new problem in woocommerce
suddenly last night one of the “Out of stock” products was stocked and the client purchased that, now we don’t have that product anymore in our warehouseI want to find out how is possible to automatically a product change status and “In stock”?
2-the name of the user was updated the product was me, but at that time I was I was sleeping!
-
Hey there, @raha1988ab! Thanks for contacting us. I’m happy to help you.
Just to confirm, the product had the stock updated, correct? It was not that the customer was able to back order it, right?
Do you have any plugins that interfere with the stock?
Furthermore, I’d like to understand your site properly. Please share with us the necessary information below for us to investigate the issue further:
System Status Report which you can find via WooCommerce > Status > Get system report > Copy for support.
Fatal error logs (if any) under WooCommerce > Status > Logs. Then you can use the selector to search for Fatal Errors.
You could copy and paste your reply here or paste it via https://gist.github.com/ and send the link here.Looking forward to your reply.
Have a wonderful day!
the product was out of stock but suddenly one of our customer purchase that, when we cheek, we found that product was stocked few minuets ago before purchasing!
` WordPress Environment WordPress address (URL): https://<br>Site address (URL): https://<br>WC Version: 8.6.1<br>REST API Version: ? 8.6.1<br>WC Blocks Version: ? 11.8.0-dev<br>Action Scheduler Version: ? 3.7.2<br>Log Directory Writable: ?<br>WP Version: 6.4.3<br>WP Multisite: –<br>WP Memory Limit: 16 GB<br>WP Debug Mode: –<br>WP Cron: ?<br>Language: fa_IR<br>External object cache: ? Server Environment Server Info: LiteSpeed<br>PHP Version: 8.1.26<br>PHP Post Max Size: 200 MB<br>PHP Time Limit: 1000<br>PHP Max Input Vars: 25000<br>cURL Version: 7.61.1<br>OpenSSL/1.1.1k SUHOSIN Installed: –<br>MySQL Version: 8.0.34<br>Max Upload Size: 200 MB<br>Default Timezone is UTC: ?<br>fsockopen/cURL: ?<br>SoapClient: ?<br>DOMDocument: ?<br>GZip: ?<br>Multibyte String: ?<br>Remote Post: ? wp_remote_post() 403<br>Remote Get: ? Database WC Database Version: 8.6.1<br>WC Database Prefix: wp_<br>: 948.35MB<br>: 641.74MB<br>: 306.61MB<br>wp_woocommerce_sessions: : 2.02: 0.05 InnoDB<br>wp_woocommerce_api_keys: : 0.02: 0.03 InnoDB<br>wp_woocommerce_attribute_taxonomies: : 0.08: 0.05 InnoDB<br>wp_woocommerce_downloadable_product_permissions: : 0.02: 0.06 InnoDB<br>wp_woocommerce_order_items: : 4.52: 1.52 InnoDB<br>wp_woocommerce_order_itemmeta: : 18.55: 19.03 InnoDB<br>wp_woocommerce_tax_rates: : 0.02: 0.06 InnoDB<br>wp_woocommerce_tax_rate_locations: : 0.02: 0.03 InnoDB<br>wp_woocommerce_shipping_zones: : 0.02: 0.00 InnoDB<br>wp_woocommerce_shipping_zone_locations: : 0.02: 0.03 InnoDB<br>wp_woocommerce_shipping_zone_methods: : 0.02: 0.00 InnoDB<br>wp_woocommerce_payment_tokens: : 0.02: 0.02 InnoDB<br>wp_woocommerce_payment_tokenmeta: : 0.02: 0.03 InnoDB<br>wp_woocommerce_log: : 0.02: 0.02 InnoDB<br>wp_actionscheduler_actions: : 4.02: 5.97 InnoDB<br>wp_actionscheduler_claims: : 0.02: 0.02 InnoDB<br>wp_actionscheduler_groups: : 0.02: 0.02 InnoDB<br>wp_actionscheduler_logs: : 16.53: 9.00 InnoDB<br>wp_aiowps_audit_log: : 10.52: 0.42 InnoDB<br>wp_aiowps_debug_log: : 0.02: 0.00 InnoDB<br>wp_aiowps_events: : 19.05: 0.00 InnoDB<br>wp_aiowps_global_meta: : 0.02: 0.00 InnoDB<br>wp_aiowps_logged_in_users: : 0.02: 0.08 InnoDB<br>wp_aiowps_login_lockdown: : 4.52: 0.05 InnoDB<br>wp_aiowps_message_store: : 0.02: 0.00 InnoDB<br>wp_aiowps_permanent_block: : 0.02: 0.02 InnoDB<br>wp_atitracker_options: : 0.02: 0.00 InnoDB<br>wp_atitracker_shipping: : 0.02: 0.00 InnoDB<br>wp_atitracker_sms: : 0.02: 0.00 InnoDB<br>wp_commentmeta: : 1.52: 0.78 InnoDB<br>wp_comments: : 19.55: 16.09 InnoDB<br>wp_cron_sms: : 0.02: 0.00 InnoDB<br>wp_e_events: : 0.02: 0.02 InnoDB<br>wp_e_submissions: : 0.02: 0.27 InnoDB<br>wp_e_submissions_actions_log: : 0.02: 0.11 InnoDB<br>wp_e_submissions_values: : 0.02: 0.03 InnoDB<br>wp_farazsms_gravity_forms: : 0.02: 0.00 InnoDB<br>wp_farazsms_newsletter: : 0.02: 0.00 InnoDB<br>wp_farazsms_tracking_codes: : 0.02: 0.00 InnoDB<br>wp_farazsms_vcode: : 0.02: 0.00 InnoDB<br>wp_links: : 0.02: 0.02 InnoDB<br>wp_litespeed_crawler: : 1.52: 1.63 InnoDB<br>wp_litespeed_crawler_blacklist: : 0.02: 0.03 InnoDB<br>wp_litespeed_url: : 1.52: 2.70 InnoDB<br>wp_litespeed_url_file: : 0.45: 1.28 InnoDB<br>wp_nabik_review_reminder: : 0.06: 0.05 InnoDB<br>wp_nirweb_sms_log: : 0.17: 0.00 InnoDB<br>wp_nirweb_ticket: : 0.02: 0.00 InnoDB<br>wp_nirweb_ticket_answer: : 0.02: 0.00 InnoDB<br>wp_nirweb_ticket_check: : 0.02: 0.00 InnoDB<br>wp_nirweb_ticket_department: : 0.02: 0.00 InnoDB<br>wp_nirweb_ticket_extra: : 0.02: 0.02 InnoDB<br>wp_nirweb_ticket_faq: : 0.02: 0.00 InnoDB<br>wp_nirweb_ticket_files: : 0.02: 0.00 InnoDB<br>wp_nirweb_ticket_note: : 0.02: 0.00 InnoDB<br>wp_nirweb_ticket_payment_link: : 0.02: 0.00 InnoDB<br>wp_nirweb_ticket_pre_answer: : 0.02: 0.00 InnoDB<br>wp_nirweb_ticket_status: : 0.02: 0.00 InnoDB<br>wp_nirweb_ticket_supporter_pre_answer: : 0.02: 0.00 InnoDB<br>wp_nirweb_ticket_ticket: : 0.02: 0.00 InnoDB<br>wp_nirweb_ticket_ticket_answered: : 0.02: 0.00 InnoDB<br>wp_nirweb_ticket_ticket_department: : 0.02: 0.00 InnoDB<br>wp_nirweb_ticket_ticket_faq: : 0.02: 0.00 InnoDB<br>wp_nirweb_ticket_ticket_priority: : 0.02: 0.00 InnoDB<br>wp_nirweb_ticket_ticket_status: : 0.02: 0.00 InnoDB<br>wp_nirweb_ticket_ticket_user_upload: : 0.02: 0.00 InnoDB<br>wp_options: : 15.41: 3.56 InnoDB<br>wp_pmxe_exports: : 0.02: 0.00 InnoDB<br>wp_pmxe_google_cats: : 0.39: 0.00 InnoDB<br>wp_pmxe_posts: : 0.36: 0.00 InnoDB<br>wp_pmxe_templates: : 0.02: 0.00 InnoDB<br>wp_postmeta: : 347.98: 159.36 InnoDB<br>wp_posts: : 82.42: 16.05 InnoDB<br>wp_rank_math_404_logs: : 0.02: 0.02 InnoDB<br>wp_rank_math_internal_links: : 2.50: 1.39 InnoDB<br>wp_rank_math_internal_meta: : 0.23: 0.00 InnoDB<br>wp_rank_math_redirections: : 0.05: 0.02 InnoDB<br>wp_rank_math_redirections_cache: : 0.02: 0.02 InnoDB<br>wp_rsssl_csp_log: : 0.02: 0.00 InnoDB<br>wp_rsssl_xmlrpc: : 0.02: 0.00 InnoDB<br>wp_rtl_logs: : 0.02: 0.00 InnoDB<br>wp_snippets: : 0.02: 0.03 InnoDB<br>wp_subscribers: : 0.02: 0.00 InnoDB<br>wp_term_relationships: : 4.52: 4.52 InnoDB<br>wp_term_taxonomy: : 1.52: 0.75 InnoDB<br>wp_termmeta: : 2.52: 3.02 InnoDB<br>wp_terms: : 1.52: 1.94 InnoDB<br>wp_tm_taskmeta: : 0.02: 0.03 InnoDB<br>wp_tm_tasks: : 0.02: 0.02 InnoDB<br>wp_ualp_user_activity: : 14.52: 0.00 InnoDB<br>wp_usermeta: : 28.56: 32.09 InnoDB<br>wp_useronline: : 0.02: 0.00 InnoDB<br>wp_users: : 1.52: 2.27 InnoDB<br>wp_userscopy: : 1.52: 1.17 InnoDB<br>wp_wc_admin_note_actions: : 0.02: 0.02 InnoDB<br>wp_wc_admin_notes: : 0.05: 0.00 InnoDB<br>wp_wc_category_lookup: : 0.02: 0.00 InnoDB<br>wp_wc_customer_lookup: : 2.52: 1.98 InnoDB<br>wp_wc_download_log: : 0.02: 0.03 InnoDB<br>wp_wc_order_addresses: : 0.02: 0.06 InnoDB<br>wp_wc_order_coupon_lookup: : 0.02: 0.03 InnoDB<br>wp_wc_order_operational_data: : 0.02: 0.03 InnoDB<br>wp_wc_order_product_lookup: : 1.52: 2.55 InnoDB<br>wp_wc_order_stats: : 2.52: 3.44 InnoDB<br>wp_wc_order_tax_lookup: : 0.02: 0.03 InnoDB<br>wp_wc_orders: : 0.02: 0.11 InnoDB<br>wp_wc_orders_meta: : 0.02: 0.03 InnoDB<br>wp_wc_product_attributes_lookup: : 9.52: 9.52 InnoDB<br>wp_wc_product_download_directories: : 0.02: 0.02 InnoDB<br>wp_wc_product_meta_lookup: : 1.52: 2.61 InnoDB<br>wp_wc_rate_limits: : 0.02: 0.02 InnoDB<br>wp_wc_reserved_stock: : 0.02: 0.00 InnoDB<br>wp_wc_tax_rate_classes: : 0.02: 0.02 InnoDB<br>wp_wc_webhooks: : 0.02: 0.02 InnoDB<br>wp_wdr_order_discounts: : 0.02: 0.00 InnoDB<br>wp_wdr_order_item_discounts: : 0.02: 0.00 InnoDB<br>wp_wdr_rules: : 0.02: 0.00 InnoDB<br>wp_woo_wallet_transaction_meta: : 0.02: 0.03 InnoDB<br>wp_woo_wallet_transactions: : 0.02: 0.02 InnoDB<br>wp_woocommerce_ir: : 0.02: 0.00 InnoDB<br>wp_woocommerce_ir_sms_archive: : 5.52: 0.00 InnoDB<br>wp_woocommerce_ir_sms_contacts: : 0.02: 0.00 InnoDB<br>wp_woodmart_wishlist_products: : 0.02: 0.02 InnoDB<br>wp_woodmart_wishlists: : 0.22: 0.00 InnoDB<br>wp_wp_yar_private_message: : 0.02: 0.00 InnoDB<br>wp_wp_yar_ticket_user_notice: : 0.13: 0.00 InnoDB<br>wp_wpie_template: : 4.52: 0.00 InnoDB<br>wp_wpmelon_advbedit_temp: : 1.52: 0.00 InnoDB<br>wp_wpyarud_verify_code: : 0.06: 0.00 InnoDB<br>wp_wsal_metadata: : 0.13: 0.19 InnoDB<br>wp_wsal_occurrences: : 0.09: 0.03 InnoDB<br>wp_wsal_sessions: : 0.02: 0.00 InnoDB<br>wp_wt_iew_action_history: : 0.02: 0.00 InnoDB<br>wp_wt_iew_mapping_template: : 0.02: 0.00 InnoDB Post Type Counts attachment: 26903<br>attribute_group: 1<br>cms_block: 27<br>custom_css: 3<br>e-landing-page: 1<br>elementor_library: 9<br>ibfw_product_label: 1<br>nav_menu_item: 219<br>notic_wpyticket: 2<br>o-discount: 4<br>o-list: 4<br>oembed_cache: 9<br>page: 24<br>portfolio: 7<br>post: 61<br>product: 8194<br>product_variation: 2210<br>rank_math_locations: 2<br>revision: 6<br>shop_order: 17743<br>shop_order_refund: 6<br>wafs: 1<br>wc_order_status: 16<br>web-story: 1<br>woodmart_layout: 6<br>woodmart_sidebar: 32<br>woodmart_slide: 22<br>woodmart_woo_lv: 1<br>wooi: 9<br>wp_global_styles: 4<br>wp_navigation: 1<br>wp_template: 2<br>wpcf7_contact_form: 1<br>yith_wcan_preset: 4<br>ywtm_tab: 1 Security Secure connection (HTTPS): ?<br>Hide errors from visitors: ? Active Plugins (22) Disable Bloat for WordPress & WooCommerce: Disable Bloat – 3.4.5<br>All-In-One Security (AIOS) – Security and Firewall – 5.2.9<br>Classic Widgets: WordPress Contributors – 0.3<br>Contact Form 7: Takayuki Miyoshi – 5.9<br>Elementor: Elementor.com – 3.19.4<br>LiteSpeed Cache: LiteSpeed Technologies – 6.1<br>Permalink Manager Pro: Maciej Bis – 2.4.2<br>Persian woocommerce – 7.1.3<br>Torob – 1.3.0<br>Rank Math SEO: Rank Math – 1.0.214<br>User Role Editor Pro: Vladimir Garagulia – 4.64.1<br>woocommerce – 8.6.1<br>Woodmart Core: – 1.0.42<br>WP Activity Log: Melapress – 4.6.4 Inactive Plugins (1) Query Monitor: John Blackbourn – 3.15.0 Dropin Plugins (2) advanced-cache.php: advanced-cache.php<br>object-cache.php: object-cache.php Settings API Enabled: –<br>Force SSL: –<br>Currency: IRT (Toman)<br>Currency Position: right_space<br>Thousand Separator: .<br>Decimal Separator: ,<br>Number of Decimals: 0<br>Taxonomies: Product Types: external (external)<br>grouped (grouped)<br>simple (simple)<br>variable (variable)<br>yith_bundle (yith_bundle) Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)<br>exclude-from-search (exclude-from-search)<br>featured (featured)<br>outofstock (outofstock)<br>rated-1 (rated-1)<br>rated-2 (rated-2)<br>rated-3 (rated-3)<br>rated-4 (rated-4)<br>rated-5 (rated-5) Connected to Woo.com: –<br>Enforce Approved Product Download Directories: ?<br>HPOS feature screen enabled: –<br>HPOS feature enabled: –<br>Order datastore: WC_Order_Data_Store_CPT<br>HPOS data sync enabled: – WC Pages 75268 - /shop/ 67594 - /cart/ 8 - /checkout/ 105643 - /account/ 4292 - /terms-and-conditions/ Theme Name: Woodmart Child<br>Version: 1.0.0<br>Author URL: https://themeforest.net/user/xtemos<br>Child Theme: ?<br>Parent Theme Name: Woodmart<br>Parent Theme Version: 7.4.3<br>Parent Theme Author URL: https://themeforest.net/user/xtemos<br>WooCommerce Support: ? Templates Overrides: woodmart/woocommerce/archive-product.php<br>woodmart/woocommerce/cart/cart-item-data.php<br>woodmart/woocommerce/cart/cart.php<br>woodmart/woocommerce/cart/cross-sells.php<br>woodmart/woocommerce/cart/mini-cart.php<br>woodmart/woocommerce/checkout/form-checkout.php<br>woodmart/woocommerce/checkout/thankyou.php<br>woodmart/woocommerce/content-product-cat.php<br>woodmart/woocommerce/content-product.php<br>woodmart/woocommerce/content-single-product.php<br>woodmart/woocommerce/content-widget-product.php<br>woodmart/woocommerce/global/breadcrumb.php<br>woodmart/woocommerce/global/form-login.php<br>woodmart/woocommerce/global/quantity-input.php<br>woodmart/woocommerce/loop/add-to-cart.php<br>woodmart/woocommerce/loop/loop-end.php<br>woodmart/woocommerce/loop/loop-start.php<br>woodmart/woocommerce/loop/no-products-found.php<br>woodmart/woocommerce/loop/orderby.php<br>woodmart/woocommerce/loop/pagination.php<br>woodmart/woocommerce/loop/sale-flash.php<br>woodmart/woocommerce/myaccount/form-login.php<br>woodmart/woocommerce/product-searchform.php<br>woodmart/woocommerce/single-product/add-to-cart/grouped.php<br>woodmart/woocommerce/single-product/add-to-cart/variable.php<br>woodmart/woocommerce/single-product/meta.php<br>woodmart/woocommerce/single-product/product-attributes.php<br>woodmart/woocommerce/single-product/product-image.php<br>woodmart/woocommerce/single-product/product-thumbnails.php<br>woodmart/woocommerce/single-product/rating.php<br>woodmart/woocommerce/single-product/related.php<br>woodmart/woocommerce/single-product/sale-flash.php<br>woodmart/woocommerce/single-product/tabs/description.php<br>woodmart/woocommerce/single-product/tabs/tabs.php<br>woodmart/woocommerce/single-product/title.php<br>woodmart/woocommerce/single-product/up-sells.php<br>woodmart/woocommerce/single-product-reviews.php<br>woodmart/woocommerce/single-product.php Admin Enabled Features: activity-panels<br>analytics<br>product-block-editor<br>coupons<br>core-profiler<br>customer-effort-score-tracks<br>import-products-task<br>experimental-fashion-sample-products<br>shipping-smart-defaults<br>shipping-setting-tour<br>homescreen<br>marketing<br>mobile-app-banner<br>navigation<br>onboarding<br>onboarding-tasks<br>product-variation-management<br>product-virtual-downloadable<br>product-external-affiliate<br>product-grouped<br>product-linked<br>remote-inbox-notifications<br>remote-free-extensions<br>payment-gateway-suggestions<br>shipping-label-banner<br>subscriptions<br>store-alerts<br>transient-notices<br>woo-mobile-welcome<br>wc-pay-promotion<br>wc-pay-welcome-page Disabled Features: customize-store<br>minified-js<br>new-product-management-experience<br>product-pre-publish-modal<br>settings<br>async-product-editor-category-field Daily Cron: ? Next scheduled: 1402-12-21 11:21:01 +03:30<br>Options: ?<br>Notes: 34<br>Onboarding: completed Action Scheduler Complete: 12,473<br>Oldest: 2024-02-09 17:01:44 +0330<br>Newest: 2024-03-11 10:02:22 +0330 Failed: 13<br>Oldest: 2023-12-27 21:45:37 +0330<br>Newest: 2024-03-10 17:57:42 +0330 Pending: 1<br>Oldest: 2024-03-11 17:12:53 +0330<br>Newest: 2024-03-11 17:12:53 +0330 Status report information Generated at: 2024-03-11 11:34:58 +03:30<br>`
Hi @raha1988ab,
Thanks for sharing additional information.
I checked your system status reports and noticed you use the WP Activity Log plugin. Did you install it before or after the incidents occurred? Also, does it show any activity related to the stock update?
Additionally, do you have any third-party services or plugins managing your stock and sales, perhaps through an API?
Has there been any cancellation or return of orders involving this product? The stock might automatically increase if a product is returned, cancelled, or failed.
Furthermore, does anyone else have access to your account? It could be that someone else with access to your site has made the changes using your account.
I hope this provides some clarity. Please let us know if you have any other questions!
Hi @shameemreza
I add that plugin after this problem, in last 3days nothing changed and I’m monitoring everything
for the other question let me cheek and I will be back
Thanks
?? hey @raha1988ab
for the other question let me cheek and I will be back
How did it go with this one? Any update yet, perhaps?
Moving forward, please contact us at Woo.com > My Account > Support. You may need to create an account before you can access that page.
Please include a link to this forum thread, so that we can keep track of what’s already been done.
We will be able to help you further there.
Hi @anastas10s
Thanks for reaching out
I still monitoring everything and found many php fatal errors in error.log file
I will share that in new post
Hi @raha1988ab,
Thanks for the update on this.
I will share that in new post
I believe you mean, you’ll be sharing the error logs via our internal ticketing system as my colleague had requested to contact us directly at?Woo.com > My Account > Support, and please include the link to this forum.
For easier sharing of the logs, please copy and paste them via https://gist.github.com/ and send the link there.
Cheers.
Hi @ckadenge
No, no no,
I shared the log collected with C-Panel with the name of error_log file
I shared here
https://www.ads-software.com/support/topic/php-fatal-error-uncaught-typeerror-illegal-offset-type-2/
Hi again @raha1988ab,
I understand how frustrating this may be.
We’d like to take a closer look at the issue from our internal ticketing system, could you please contact us at?Woo.com > My Account > Support, and please include the link to this forum and the PHP errors so we can be able to proceed further.
Thanks for your understanding.
Hello @raha1988ab,
Thanks for confirming this and reaching out in our internal ticketing system.
Our Happiness Engineers will be in touch with further steps to troubleshoot the issue. I suggest you keep an eye out for any new emails.
Cheers and happy weekend!
Hello @raha1988ab,
I’m marking this topic as “resolved” due to recent inactivity. If more assistance is needed, feel free to post back here or open a new topic.
Thanks!
- The topic ‘Out of stock product was stocked!’ is closed to new replies.