• Resolved marelise

    (@marelise)


    All plugins, theme etc are up to date.
    The low stock threshold is set to 3, and we are receiving mails to notify site admin when the low stock threshold is reached. Only problem is that the mail says “there are 0 in stock”, when actually there’s 3 or 2 in stock.

    Stock levels as seen on the site’s frontend, and on the Products on the backend are correct.

    Therefore, the email is triggering correctly, but the number quoted in the mail shows 0 instead of the actual stock number.

    This has happened on a couple of products; these are all simple products.

    Any guidance would be appreciated.

    • This topic was modified 11 months, 3 weeks ago by marelise.

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hey there! Thanks for contacting Woo Support. I’m happy to help you.

    For us to be able to assist you with this, 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.
    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.

    Thank you!

    Have a wonderful day!

    Thread Starter marelise

    (@marelise)

    Hey @carolm29

    Thank you, system info and error logs uploaded here:
    Github Gist

    Mirko P.

    (@rainfallnixfig)

    Hi there

    Thank you for reaching out to WooCommerce support.

    Could you try again as the URL you posted does not appear to be clickable? Alternatively, click?Get System Report?and then Copy for support?to copy/paste it here.

    Looking forward to hearing from you.

    Thread Starter marelise

    (@marelise)

    Hi Mirko

    Apologies, I'll just copy the report and logs here:

     WordPress Environment
    
    WordPress address (URL): https://caughtonline.co.za<br>Site address (URL): https://caughtonline.co.za<br>WC Version: 8.3.1<br>REST API Version: ? 8.3.1<br>WC Blocks Version: ? 11.4.9<br>Action Scheduler Version: ? 3.6.4<br>Log Directory Writable: ?<br>WP Version: 6.4.2<br>WP Multisite: –<br>WP Memory Limit: 8 GB<br>WP Debug Mode: –<br>WP Cron: ?<br>Language: en_ZA<br>External object cache: – Server Environment
    
    Server Info: Apache<br>PHP Version: 8.0.30<br>PHP Post Max Size: 128 MB<br>PHP Time Limit: 2400<br>PHP Max Input Vars: 6000<br>cURL Version: 7.87.0<br>OpenSSL/1.1.1w
    
    SUHOSIN Installed: –<br>MySQL Version: 5.7.44-cll-lve<br>Max Upload Size: 128 MB<br>Default Timezone is UTC: ?<br>fsockopen/cURL: ?<br>SoapClient: ?<br>DOMDocument: ?<br>GZip: ?<br>Multibyte String: ?<br>Remote Post: ?<br>Remote Get: ? Database
    
    WC Database Version: 8.3.1<br>WC Database Prefix: L4OPwT_<br>Total Database Size: 2104.48MB<br>Database Data Size: 1423.24MB<br>Database Index Size: 681.24MB<br>L4OPwT_woocommerce_sessions: Data: 2.02MB + Index: 0.05MB + Engine InnoDB<br>L4OPwT_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>L4OPwT_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>L4OPwT_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>L4OPwT_woocommerce_order_items: Data: 17.55MB + Index: 7.52MB + Engine InnoDB<br>L4OPwT_woocommerce_order_itemmeta: Data: 250.73MB + Index: 123.28MB + Engine InnoDB<br>L4OPwT_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>L4OPwT_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>L4OPwT_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>L4OPwT_woocommerce_shipping_zone_locations: Data: 0.08MB + Index: 0.09MB + Engine InnoDB<br>L4OPwT_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>L4OPwT_woocommerce_payment_tokens: Data: 0.06MB + Index: 0.02MB + Engine InnoDB<br>L4OPwT_woocommerce_payment_tokenmeta: Data: 0.11MB + Index: 0.14MB + Engine InnoDB<br>L4OPwT_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>L4OPwT_acfw_store_credits: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>L4OPwT_acfw_virtual_coupons: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>L4OPwT_actionscheduler_actions: Data: 42.58MB + Index: 36.03MB + Engine InnoDB<br>L4OPwT_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>L4OPwT_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>L4OPwT_actionscheduler_logs: Data: 25.56MB + Index: 20.06MB + Engine InnoDB<br>L4OPwT_atum_export_templates: Data: 0.14MB + Index: 0.03MB + Engine InnoDB<br>L4OPwT_atum_inventories: Data: 0.11MB + Index: 0.08MB + Engine InnoDB<br>L4OPwT_atum_inventory_files: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>L4OPwT_atum_inventory_locations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>L4OPwT_atum_inventory_meta: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>L4OPwT_atum_inventory_orders: Data: 27.56MB + Index: 4.03MB + Engine InnoDB<br>L4OPwT_atum_inventory_regions: Data: 0.11MB + Index: 0.08MB + Engine InnoDB<br>L4OPwT_atum_inventory_reserved_stock: Data: 0.16MB + Index: 0.00MB + Engine InnoDB<br>L4OPwT_atum_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>L4OPwT_atum_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>L4OPwT_atum_product_data: Data: 0.06MB + Index: 0.06MB + Engine InnoDB<br>L4OPwT_commentmeta: Data: 0.38MB + Index: 0.14MB + Engine InnoDB<br>L4OPwT_comments: Data: 0.50MB + Index: 0.41MB + Engine InnoDB<br>L4OPwT_e_events: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>L4OPwT_e_notes: Data: 0.02MB + Index: 0.17MB + Engine InnoDB<br>L4OPwT_e_notes_users_relations: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>L4OPwT_e_submissions: Data: 0.02MB + Index: 0.27MB + Engine InnoDB<br>L4OPwT_e_submissions_actions_log: Data: 0.02MB + Index: 0.11MB + Engine InnoDB<br>L4OPwT_e_submissions_values: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>L4OPwT_gla_attribute_mapping_rules: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>L4OPwT_gla_budget_recommendations: Data: 0.22MB + Index: 0.14MB + Engine InnoDB<br>L4OPwT_gla_merchant_issues: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>L4OPwT_gla_shipping_rates: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>L4OPwT_gla_shipping_times: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>L4OPwT_ig_actions: Data: 0.02MB + Index: 0.08MB + Engine InnoDB<br>L4OPwT_ig_blocked_emails: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>L4OPwT_ig_campaigns: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>L4OPwT_ig_contactmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>L4OPwT_ig_contacts: Data: 0.06MB + Index: 0.06MB + Engine InnoDB<br>L4OPwT_ig_contacts_ips: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>L4OPwT_ig_contact_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>L4OPwT_ig_custom_fields: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>L4OPwT_ig_forms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>L4OPwT_ig_links: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>L4OPwT_ig_lists: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>L4OPwT_ig_lists_contacts: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>L4OPwT_ig_mailing_queue: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>L4OPwT_ig_queue: Data: 0.02MB + Index: 0.13MB + Engine InnoDB<br>L4OPwT_ig_sending_queue: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>L4OPwT_ig_temp_import: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>L4OPwT_ig_unsubscribe_feedback: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>L4OPwT_ig_wc_cart: Data: 0.02MB + Index: 0.08MB + Engine InnoDB<br>L4OPwT_ig_wc_guests: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>L4OPwT_ig_workflows: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>L4OPwT_ig_workflows_queue: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>L4OPwT_imagify_files: Data: 0.02MB + Index: 0.08MB + Engine InnoDB<br>L4OPwT_imagify_folders: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>L4OPwT_jetpack_sync_queue: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>L4OPwT_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>L4OPwT_options: Data: 18.42MB + Index: 5.16MB + Engine InnoDB<br>L4OPwT_postmeta: Data: 890.92MB + Index: 383.00MB + Engine InnoDB<br>L4OPwT_posts: Data: 16.52MB + Index: 9.06MB + Engine InnoDB<br>L4OPwT_pys_stat_landing: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>L4OPwT_pys_stat_order: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>L4OPwT_pys_stat_product_order: Data: 0.11MB + Index: 0.00MB + Engine InnoDB<br>L4OPwT_pys_stat_traffic: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>L4OPwT_pys_stat_utm_campaing: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>L4OPwT_pys_stat_utm_content: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>L4OPwT_pys_stat_utm_medium: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>L4OPwT_pys_stat_utm_source: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>L4OPwT_pys_stat_utm_term: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>L4OPwT_termmeta: Data: 0.08MB + Index: 0.06MB + Engine InnoDB<br>L4OPwT_terms: Data: 0.05MB + Index: 0.03MB + Engine InnoDB<br>L4OPwT_term_relationships: Data: 0.11MB + Index: 0.09MB + Engine InnoDB<br>L4OPwT_term_taxonomy: Data: 0.06MB + Index: 0.03MB + Engine InnoDB<br>L4OPwT_usermeta: Data: 60.59MB + Index: 54.16MB + Engine InnoDB<br>L4OPwT_users: Data: 3.52MB + Index: 4.55MB + Engine InnoDB<br>L4OPwT_wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB<br>L4OPwT_wc_admin_note_actions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB<br>L4OPwT_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>L4OPwT_wc_customer_lookup: Data: 2.52MB + Index: 3.02MB + Engine InnoDB<br>L4OPwT_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>L4OPwT_wc_orders: Data: 0.02MB + Index: 0.11MB + Engine InnoDB<br>L4OPwT_wc_orders_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>L4OPwT_wc_order_addresses: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>L4OPwT_wc_order_coupon_lookup: Data: 1.02MB + Index: 2.03MB + Engine InnoDB<br>L4OPwT_wc_order_operational_data: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>L4OPwT_wc_order_product_lookup: Data: 18.05MB + Index: 16.06MB + Engine InnoDB<br>L4OPwT_wc_order_stats: Data: 5.02MB + Index: 4.06MB + Engine InnoDB<br>L4OPwT_wc_order_tax_lookup: Data: 3.02MB + Index: 3.03MB + Engine InnoDB<br>L4OPwT_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>L4OPwT_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>L4OPwT_wc_product_meta_lookup: Data: 0.08MB + Index: 0.13MB + Engine InnoDB<br>L4OPwT_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>L4OPwT_wc_reserved_stock: Data: 0.14MB + Index: 0.00MB + Engine InnoDB<br>L4OPwT_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>L4OPwT_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>L4OPwT_wfblockediplog: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>L4OPwT_wfblocks7: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>L4OPwT_wfconfig: Data: 3.45MB + Index: 0.00MB + Engine InnoDB<br>L4OPwT_wfcrawlers: Data: 1.42MB + Index: 0.00MB + Engine InnoDB<br>L4OPwT_wffilechanges: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>L4OPwT_wffilemods: Data: 16.55MB + Index: 0.00MB + Engine InnoDB<br>L4OPwT_wfhits: Data: 1.02MB + Index: 1.14MB + Engine InnoDB<br>L4OPwT_wfhoover: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>L4OPwT_wfissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>L4OPwT_wfknownfilelist: Data: 8.52MB + Index: 0.00MB + Engine InnoDB<br>L4OPwT_wflivetraffichuman: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>L4OPwT_wflocs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>L4OPwT_wflogins: Data: 1.52MB + Index: 0.31MB + Engine InnoDB<br>L4OPwT_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>L4OPwT_wfls_role_counts: Data: 0.00MB + Index: 0.00MB + Engine MEMORY<br>L4OPwT_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>L4OPwT_wfnotifications: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>L4OPwT_wfpendingissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>L4OPwT_wfreversecache: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>L4OPwT_wfsecurityevents: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>L4OPwT_wfsnipcache: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>L4OPwT_wfstatus: Data: 0.13MB + Index: 0.09MB + Engine InnoDB<br>L4OPwT_wftrafficrates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>L4OPwT_wfwaffailures: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>L4OPwT_wpmailsmtp_debug_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>L4OPwT_wpmailsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>L4OPwT_wpr_rocket_cache: Data: 0.05MB + Index: 0.08MB + Engine InnoDB<br>L4OPwT_wpr_rucss_used_css: Data: 0.14MB + Index: 0.17MB + Engine InnoDB<br>L4OPwT_yoast_indexable: Data: 0.20MB + Index: 0.13MB + Engine InnoDB<br>L4OPwT_yoast_indexable_hierarchy: Data: 0.05MB + Index: 0.05MB + Engine InnoDB<br>L4OPwT_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>L4OPwT_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>L4OPwT_yoast_seo_links: Data: 0.06MB + Index: 0.03MB + Engine InnoDB Post Type Counts
    
    attachment: 345<br>atum_supplier: 35<br>custom_css: 2<br>customize_changeset: 4<br>elementor_library: 12<br>elementor_snippet: 5<br>nav_menu_item: 66<br>oembed_cache: 1<br>page: 15<br>post: 54<br>product: 96<br>product_variation: 20<br>revision: 280<br>shop_coupon: 1319<br>shop_order: 39413<br>shop_order_refund: 19<br>wp_navigation: 1<br>wp_template: 2 Security
    
    Secure connection (HTTPS): ?<br>Hide errors from visitors: ? Active Plugins (34)
    
    Advanced Coupons for WooCommerce Free: by Rymera Web Co – 4.5.8.3<br>Advanced Coupons for WooCommerce Premium: by Rymera Web Co – 3.5.7<br>All-in-One WP Migration Unlimited Extension: by ServMask – 2.54<br>All-in-One WP Migration: by ServMask – 7.79<br>ATUM Export PRO: by Stock Management Labs? – 1.5.9<br>ATUM Multi-Inventory: by Stock Management Labs? – 1.8.5<br>ATUM Inventory Management for WooCommerce: by Stock Management Labs? – 1.9.35<br>GTM4WP: by Thomas Geiger – 1.18.1<br>Elementor Pro: by Elementor.com – 3.17.1<br>Elementor: by Elementor.com – 3.17.3<br>Icegram Express - Email Subscribers, Newsletters and Marketing Automation Plugin: by Icegram – 5.7.3<br>XStore Core: by 8theme – 5.2.5<br>Google Listings and Ads: by WooCommerce – 2.5.12<br>Imagify: by Imagify – Optimize Images & Convert WebP – 2.1.3<br>Jetpack: by Automattic – 12.8.1<br>Klaviyo: by Klaviyo<br>Inc. – 3.3.3
    
    Order Delivery Date Pro for WooCommerce: by Tyche Softwares – 10.6.0<br>Payflex Payment Gateway: by Payflex – 2.4.9<br>PixelYourSite PRO: by PixelYourSite – 9.10.8<br>Really Simple SSL: by Really Simple Plugins – 7.2.0<br>SnapScan Online Payments: by – 1.5.15<br>Stamped.io Reviews & UGC for WooCommerce: by Stamped.io – 2.4.1<br>WooCommerce Peach Payments Gateway: by Peach Payments – 3.1.9<br>Walletdoc Payment Gateway for WooCommerce: by Walletdoc – 1.5.1<br>WooCommerce Address Book: by CrossPeak – 2.6.2<br>Advanced Order Export For WooCommerce: by AlgolPlus – 3.4.4<br>WooCommerce Payfast Gateway: by WooCommerce – 1.6.0<br>WooCommerce: by Automattic – 8.3.1<br>Wordfence Security: by Wordfence – 7.11.0<br>WordPress Importer: by wordpressdotorg – 0.8.1<br>Yoast SEO: by Team Yoast – 21.6<br>WP Mail SMTP: by WP Mail SMTP – 3.10.0<br>Custom Product Tabs for WooCommerce: by Code Parrots – 1.8.5<br>Zapper Payments for WooCommerce: by Zapper Development – 2.1.8 Inactive Plugins (1)
    
    WP Rocket: by WP Media – 3.15.5 Dropin Plugins (2)
    
    advanced-cache.php: advanced-cache.php<br>maintenance.php: maintenance.php Settings
    
    API Enabled: –<br>Force SSL: –<br>Currency: ZAR (R)<br>Currency Position: left<br>Thousand Separator:<br>Decimal Separator: ,<br>Number of Decimals: 2<br>Taxonomies: Product Types: external (external)<br>grouped (grouped)<br>simple (simple)<br>subscription (subscription)<br>variable (variable)<br>variable subscription (variable-subscription)
    
    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 WooCommerce.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
    
    Shop base: #8 - /shop/<br>Basket: #9 - /cart/<br>Checkout: #10 - /checkout/<br>My account: #11 - /my-account/<br>Terms and conditions: ? Page not set Theme
    
    Name: XStore Child<br>Version: 0.0.1<br>Author URL: https://8theme.com<br>Child Theme: ?<br>Parent Theme Name: XStore<br>Parent Theme Version: 9.2.5<br>Parent Theme Author URL: https://www.8theme.com<br>WooCommerce Support: ? Templates
    
    Overrides: xstore/woocommerce/archive-product.php<br>xstore/woocommerce/cart/cart-empty.php<br>xstore/woocommerce/cart/cart-shipping.php<br>xstore/woocommerce/cart/cart.php<br>xstore/woocommerce/cart/cross-sells.php<br>xstore/woocommerce/cart/mini-cart.php<br>xstore/woocommerce/cart/proceed-to-checkout-button.php<br>xstore/woocommerce/checkout/form-billing.php<br>xstore/woocommerce/checkout/form-checkout.php<br>xstore/woocommerce/checkout/form-shipping.php<br>xstore/woocommerce/checkout/review-order.php<br>xstore/woocommerce/checkout/thankyou.php<br>xstore/woocommerce/content-product-cat.php<br>xstore/woocommerce/content-product.php<br>xstore/woocommerce/content-single-product.php<br>xstore/woocommerce/content-widget-product.php<br>xstore/woocommerce/content-widget-reviews.php<br>/home/o984wj52ss54/public_html/wp-content/plugins/atum-multi-inventory/views/email-templates/email-mi-order-items.php<br>xstore/woocommerce/global/breadcrumb.php<br>xstore/woocommerce/global/form-login.php<br>xstore/woocommerce/global/wrapper-end.php<br>xstore/woocommerce/global/wrapper-start.php<br>xstore/woocommerce/loop/loop-end.php<br>xstore/woocommerce/loop/loop-start.php<br>xstore/woocommerce/loop/no-products-found.php<br>xstore/woocommerce/loop/result-count.php<br>xstore/woocommerce/myaccount/dashboard.php<br>xstore/woocommerce/myaccount/form-login.php<br>xstore/woocommerce/myaccount/navigation.php<br>xstore/woocommerce/product-searchform.php<br>xstore/woocommerce/single-product/add-to-cart/simple.php<br>xstore/woocommerce/single-product/meta.php<br>xstore/woocommerce/single-product/product-image.php<br>xstore/woocommerce/single-product/related.php<br>xstore/woocommerce/single-product/tabs/tabs.php<br>xstore/woocommerce/single-product/title.php<br>xstore/woocommerce/single-product/up-sells.php<br>xstore/woocommerce/single-product-reviews.php<br>xstore/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>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-virtual-downloadable<br>product-external-affiliate<br>settings<br>async-product-editor-category-field
    
    Daily Cron: ? Next scheduled: 2023-12-11 16:57:20 +02:00<br>Options: ?<br>Notes: 71<br>Onboarding: completed Action Scheduler
    
    Complete: 118,065<br>Oldest: 2023-12-02 18:57:30 +0200<br>Newest: 2023-12-11 18:28:30 +0200
    
    Failed: 151<br>Oldest: 2023-12-03 12:41:29 +0200<br>Newest: 2023-12-11 01:59:17 +0200
    
    Pending: 12<br>Oldest: 2023-12-12 01:00:00 +0200<br>Newest: 2023-12-18 16:01:17 +0200 Status report information
    
    Generated at: 2023-12-11 18:41:45 +02:00<br>

    Fatal error log:

    2023-12-07T11:35:13+00:00 CRITICAL Uncaught Error: Call to a member function format() on null in /home/o984wj52ss54/public_html/wp-content/plugins/woocommerce/templates/emails/email-order-details.php:34
    Stack trace:
    #0 /home/o984wj52ss54/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include()
    #1 /home/o984wj52ss54/public_html/wp-content/plugins/woocommerce/includes/class-wc-emails.php(421): wc_get_template()
    #2 /home/o984wj52ss54/public_html/wp-includes/class-wp-hook.php(324): WC_Emails->order_details()
    #3 /home/o984wj52ss54/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
    #4 /home/o984wj52ss54/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
    #5 /home/o984wj52ss54/public_html/wp-content/plugins/order-delivery-date/templates/emails/admin-update-date.php(35): do_action()
    #6 /home/o984wj52ss54/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include('/home/o984wj52s...')
    #7 /home/o984wj52ss54/public_html/wp-content/plugins/order-delivery-date/includes/emails/class-orddd-email-update-date.php(113): wc_get_template()
    #8 /home/o984wj52ss54/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php(588): ORDDD_Email_Update_Date->get_content_html()
    #9 /home/o984wj52ss54/public_html/wp-content/plugins/order-delivery-date/includes/emails/class-orddd-email-update-date.php(88): WC_Email->get_content()
    #10 /home/o984wj52ss54/public_html/wp-includes/class-wp-hook.php(324): ORDDD_Email_Update_Date->trigger()
    #11 /home/o984wj52ss54/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
    #12 /home/o984wj52ss54/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
    #13 /home/o984wj52ss54/public_html/wp-content/plugins/order-delivery-date/includes/class-orddd-email-manager.php(101): do_action()
    #14 /home/o984wj52ss54/public_html/wp-content/plugins/order-delivery-date/includes/admin/orddd-admin-delivery.php(812): ORDDD_Email_Manager::orddd_send_email_on_update()
    #15 /home/o984wj52ss54/public_html/wp-includes/class-wp-hook.php(324): orddd_admin_delivery_class::save_delivery_dates()
    #16 /home/o984wj52ss54/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
    #17 /home/o984wj52ss54/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
    #18 /home/o984wj52ss54/public_html/wp-admin/admin-ajax.php(188): do_action()
    #19 {main}
      thrown in /home/o984wj52ss54/public_html/wp-content/plugins/woocommerce/templates/emails/email-order-details.php on line 34
    Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @marelise

    This seems to be an unusual behavior, and it might be related to a conflict with another plugin or your theme.

    From the error log you provided, it appears that there’s an issue with the format() function being called on a null object. This is happening within the email-order-details.php file of your WooCommerce plugin.

    Here’s how to troubleshoot:

    1. Disable all plugins except WooCommerce. If the issue is resolved, then one of the plugins was causing the conflict. You can find out which one by reactivating them one by one.
    2. Switch your theme to a default WordPress theme like Storefront. If the issue is resolved, then the problem lies with your theme.
    3. Deactivate WooCommerce and reactivate WooCommerce.
    4. WooCommerce recommends using PHP 7.4 to 8.1.26. If your version is outdated, please update it.

    I recommend that you carry out this process on a staging site since your website is already live and making sales. You can find all the necessary information here:

    Additionally, I took a look at your website, and I must say the design is truly fantastic! It also looks like your business is flourishing. With such a large customer base, why not consider using AutomateWoo for marketing automation? It could really boost your sales.

    Let us know how that goes. Looking forward to helping you.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Low stock threshold mail always shows 0 in stock’ is closed to new replies.