Showing notice on cart page
-
Hi there,
When we click on the Order Again button from Thank you page for a completed order then on adding the products to the cart showing a notice ‘Undefined index: line_total’
https://www.awesomescreenshot.com/image/31090568?key=c875d33a669c7f430449d9cf913aa8d3
Thanks!!
The page I need help with: [log in to see the link]
-
Hi there,
Thanks for reaching out.
I just tried to replicate the issue on my end, and I can see it’s working fine for me.
I need to check your System Status Report. It would be great if you could share your current System Status Report. You can get it by navigating to the
WooCommerce / Status
section of your site. Once there, click on theGet system report
button and then copy it by clicking on theCopy for support
button. Then paste it here in a comment.Best,
Hi Daniyal,
Yes sure,
Please find the below report.
### WordPress Environment ### WordPress address (URL): https://wpdev.webkul.com/dinesh Site address (URL): https://wpdev.webkul.com/dinesh WC Version: 6.7.0 REST API Version: ? 6.7.0 WC Blocks Version: ? 7.8.3 Action Scheduler Version: ? 3.4.0 Log Directory Writable: ? WP Version: 6.0.1 WP Multisite: – WP Memory Limit: 768 MB WP Debug Mode: – WP Cron: ? Language: en_US External object cache: – ### Server Environment ### Server Info: Apache/2.4.18 (Ubuntu) PHP Version: 7.2.23-1+ubuntu16.04.1+deb.sury.org+1 PHP Post Max Size: 500 MB PHP Time Limit: 30 PHP Max Input Vars: 1000 cURL Version: 7.47.0 OpenSSL/1.0.2g SUHOSIN Installed: – MySQL Version: 5.7.33-0ubuntu0.16.04.1 Max Upload Size: 500 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 6.7.0 WC Database Prefix: dk22_ Total Database Size: 5.82MB Database Data Size: 4.35MB Database Index Size: 1.47MB dk22_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB dk22_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB dk22_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB dk22_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB dk22_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB dk22_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB dk22_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB dk22_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB dk22_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB dk22_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB dk22_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB dk22_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB dk22_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB dk22_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB dk22_actionscheduler_actions: Data: 0.03MB + Index: 0.11MB + Engine InnoDB dk22_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB dk22_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB dk22_actionscheduler_logs: Data: 0.02MB + Index: 0.03MB + Engine InnoDB dk22_chat_table: Data: 0.02MB + Index: 0.00MB + Engine InnoDB dk22_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB dk22_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB dk22_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB dk22_mpcommision: Data: 0.02MB + Index: 0.00MB + Engine InnoDB dk22_mpfeedback: Data: 0.02MB + Index: 0.00MB + Engine InnoDB dk22_mporders: Data: 0.02MB + Index: 0.00MB + Engine InnoDB dk22_mporders_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB dk22_mpsellerinfo: Data: 0.02MB + Index: 0.00MB + Engine InnoDB dk22_mpseller_asktoadmin: Data: 0.02MB + Index: 0.00MB + Engine InnoDB dk22_mpseller_asktoadmin_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB dk22_mpseller_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB dk22_mpseller_orders: Data: 0.02MB + Index: 0.00MB + Engine InnoDB dk22_mp_notifications: Data: 0.02MB + Index: 0.00MB + Engine InnoDB dk22_options: Data: 3.03MB + Index: 0.06MB + Engine InnoDB dk22_postmeta: Data: 0.08MB + Index: 0.03MB + Engine InnoDB dk22_posts: Data: 0.06MB + Index: 0.06MB + Engine InnoDB dk22_seller_transaction: Data: 0.02MB + Index: 0.00MB + Engine InnoDB dk22_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB dk22_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB dk22_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB dk22_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB dk22_usermeta: Data: 0.05MB + Index: 0.03MB + Engine InnoDB dk22_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB dk22_user_table: Data: 0.02MB + Index: 0.00MB + Engine InnoDB dk22_user_table_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB dk22_wc_admin_notes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB dk22_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB dk22_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB dk22_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB dk22_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB dk22_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB dk22_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB dk22_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB dk22_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB dk22_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB dk22_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB dk22_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB dk22_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB dk22_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB dk22_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB dk22_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ### Post Type Counts ### attachment: 13 page: 8 post: 3 product: 11 revision: 4 shop_order: 3 wp_global_styles: 1 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (3) ### WooCommerce Stripe Gateway: by WooCommerce – 6.5.1 WooCommerce: by Automattic – 6.7.0 WP PHP Console (Forked for dkpcd): by Fulvio Notarstefano – 9.9.0 ### Inactive Plugins (7) ### Download Plugins and Themes from Dashboard: by WPFactory – 1.8.1 Filter WC Orders: by Dinesh Yadav – 1.0.1 Marketplace for WooCommerce: by Webkul – 5.2.1 Quick Plugin Switcher: by Dinesh Yadav – 1.5.3 Reveal IDs: by Oliver Schl?be – 1.5.4 User Switching: by John Blackbourn & contributors – 1.7.0 WooCommerce Marketplace Buyer Seller Chat: by WebKul – 2.4.0 ### Settings ### API Enabled: – Force SSL: – Currency: INR (?) Currency Position: left 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: #8 - /shop/ Cart: #9 - /cart/ Checkout: #10 - /checkout/ My account: #11 - /my-account/ Terms and conditions: ? Page not set ### Theme ### Name: Twenty Twenty-One Version: 1.6 Author URL: https://www.ads-software.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: – ### 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 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 wc-pay-subscriptions-page Disabled Features: minified-js settings Daily Cron: ? Next scheduled: 2022-08-09 06:29:53 +00:00 Options: ? Notes: 46 Onboarding: completed ### Action Scheduler ### Complete: 54 Oldest: 2022-07-22 06:30:59 +0000 Newest: 2022-08-08 06:19:40 +0000 Pending: 2 Oldest: 2022-08-08 07:19:12 +0000 Newest: 2022-08-09 06:19:33 +0000 ### Status report information ### Generated at: 2022-08-08 07:19:08 +00:00
Hi again,
Thank you for the system status report. You don’t have much active so checking for conflict seems obsolete in your case.
Based on your screenshot this looks like a notice only. It will not terminate your code and things should still work(?). I can only assume you might have a debugging constant set that triggers all errors, warnings and notices.
I am gonna leave this thread open so others can pitch in with better information.
Hope this helps a bit still.
Kind regards,
- The topic ‘Showing notice on cart page’ is closed to new replies.