WooCommerce Analytics Missing
-
Hello,
I have an issue with WooCommerce Analytics. I use Elementor with Hello Child Theme.
I see error messages in the Woo dashboard widget.
Warning: Invalid argument supplied for foreach() in www/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-dashboard.php on line 543
Screen: https://ibb.co/Hrp7pqg
By clicking on the error message, I am redirected to the WooCommerce blank home.
Screen: https://ibb.co/frBDRWp
I tried to find the cause and figured out then I missing the whole analytics tab in the left admin menu.
Tried disabling all plugins, changing the theme, and nothing works…
How I can fix it, please?
Thank you!
Regards
Jaroslav
- This topic was modified 3 years ago by jarokal.
The page I need help with: [log in to see the link]
-
Hi @hemant-ahir
I have latest WP 5.8.2 and Woo and i missing this one.
Thanks
Jaroslav
- This reply was modified 3 years ago by jarokal.
Hi @jarokal!
If it’s not showing the Analytics dashboard, there may be a conflict causing this.
If it’s showing no information, try going to
WooCommerce > Status > Tools > Clear analytics cache > Click Clear
. Then check again the analytics report.If it’s still not working, check under
WooCommerce > Status > Scheduled Actions
to see if any stuck processes are preventing the updated information from importing.If that still doesn’t get the data to appear, or if you can’t get to the dashboard at all, it may be caused by either a conflict with your theme or with another plugin.
The best way to determine this is to:
- Temporarily switch your theme to Storefront
- Disable all plugins except for WooCommerce
- Repeat the action that is causing the problem
If you’re not seeing the same problem after completing the conflict test, then you know the problem was with the plugins and/or theme you deactivated. To figure out which plugin is causing the problem, reactivate your other plugins one by one, testing after each until you find the one causing conflict. You can find a more detailed explanation on how to do a conflict test here.`
I hope this helps!
Guys, I have to apologize, but I probably misrepresented the situation.
The Analytics dashboard shows data normally when I create an order, but there is an error: https://ibb.co/Hrp7pqg
Warning: Invalid argument supplied for foreach() in www/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-dashboard.php on line 543
and on the left WP admin menu, I miss the whole Analytics Tab…I try to turn off all plugins except Woocommerce and switch to Storefront but still, the Analytics section is not there: https://tinyurl.com/8bf9fs6x
Thanks!
Hi @jarokal,
This is a bit strange, please download and install the standalone WooCommerce Admin plugin and see if that resolves the issue.
https://www.ads-software.com/plugins/woocommerce-admin/
I hope that helps but if it doesn’t, kindly share the following to narrow it down a bit further:
- System Status: You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”. Once you’ve done that, paste it here in your response.
- Fatal Error Log: Share a copy of any fatal error log found under WooCommerce > System Status > Logs (if available).
Thanks!
I have the same problem on my website. I don’t see the analytics menu and it also doesn’t show the total sales on the dashboard
`Undefined index: intervals in … /woocommerce/includes/admin/class-wc-admin-dashboard.php on line 539
Invalid argument supplied for foreach() in … /woocommerce/includes/admin/class-wc-admin-dashboard.php on line 543
Undefined property: WP_Error::$net_sales in … /woocommerce/includes/admin/class-wc-admin-dashboard.php on line 155
Kindly create your own thread using the link below:
https://www.ads-software.com/support/plugin/woocommerce/#new-topic-0Hi @rainfallnixfig,
yeah, it’s a bit strange. Tried WooCommerce Admin plugin, but sadly it does not work, so the same situation.
### WordPress Environment ### WordPress address (URL): https://www.udirnytrinec.cz Site address (URL): https://www.udirnytrinec.cz WC Version: 5.9.0 REST API Version: ? 5.9.0 WC Blocks Version: ? 6.1.0 Action Scheduler Version: ? 3.3.0 WC Admin Version: ? 2.8.0 Log Directory Writable: ? WP Version: 5.8.2 WP Multisite: – WP Memory Limit: 256 MB WP Debug Mode: – WP Cron: ? Language: cs_CZ External object cache: – ### Server Environment ### Server Info: Apache PHP Version: 7.4.25 PHP Post Max Size: 256 MB PHP Time Limit: 120 PHP Max Input Vars: 5000 cURL Version: 7.64.0 OpenSSL/1.1.1d SUHOSIN Installed: – MySQL Version: 5.5.5-10.5.13-MariaDB-1:10.5.13+maria~buster-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: 5.9.0 WC Database Prefix: wp_ Celková velikost databáze: 11.22MB Velikost dat databáze: 9.16MB Velikost indexu databáze: 2.06MB wp_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + 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: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + 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.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_actions: Data: 0.09MB + Index: 0.16MB + 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: 0.09MB + Index: 0.06MB + Engine InnoDB wp_addonlibrary_addons: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_addonlibrary_categories: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp_e_submissions: Data: 0.00MB + Index: 0.03MB + Engine MyISAM wp_e_submissions_actions_log: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_e_submissions_values: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_frmt_form_entry: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_frmt_form_entry_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_frmt_form_views: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_gla_budget_recommendations: Data: 0.11MB + Index: 0.12MB + Engine MyISAM wp_gla_merchant_issues: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_gla_shipping_rates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_gla_shipping_times: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_gopay_inline_log: Data: 0.01MB + Index: 0.00MB + Engine MyISAM wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_custom_fields: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_mailpoet_dynamic_segment_filters: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_mailpoet_feature_flags: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_mailpoet_forms: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_mailpoet_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_mailpoet_mapping_to_external_entities: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_mailpoet_newsletters: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_mailpoet_newsletter_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_mailpoet_newsletter_option: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_mailpoet_newsletter_option_fields: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_mailpoet_newsletter_posts: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_mailpoet_newsletter_segment: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_mailpoet_newsletter_templates: Data: 1.04MB + Index: 0.00MB + Engine MyISAM wp_mailpoet_scheduled_tasks: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_mailpoet_scheduled_task_subscribers: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_mailpoet_segments: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_mailpoet_sending_queues: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_mailpoet_settings: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_mailpoet_statistics_bounces: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_mailpoet_statistics_clicks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_mailpoet_statistics_forms: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_mailpoet_statistics_newsletters: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_mailpoet_statistics_opens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_mailpoet_statistics_unsubscribes: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_mailpoet_statistics_woocommerce_purchases: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_mailpoet_stats_notifications: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_mailpoet_subscribers: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_mailpoet_subscriber_custom_field: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_mailpoet_subscriber_ips: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_mailpoet_subscriber_segment: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_mailpoet_user_agents: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_mailpoet_user_flags: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_options: Data: 3.06MB + Index: 0.11MB + Engine InnoDB wp_postmeta: Data: 3.47MB + Index: 0.28MB + Engine InnoDB wp_posts: Data: 0.36MB + Index: 0.06MB + Engine InnoDB wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_tm_taskmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_tm_tasks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_usermeta: Data: 0.06MB + Index: 0.03MB + Engine InnoDB wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wbal_branches: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wcpdf_invoice_number: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_admin_notes: Data: 0.05MB + 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: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + 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_yoast_indexable: Data: 0.10MB + Index: 0.04MB + Engine MyISAM wp_yoast_indexable_hierarchy: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_yoast_migrations: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_yoast_primary_term: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_yoast_seo_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM ### Post Type Counts ### attachment: 73 elementor_library: 10 forminator_forms: 1 forminator_polls: 1 mailpoet_page: 1 nav_menu_item: 10 page: 18 post: 2 product: 48 revision: 98 shop_order: 11 wpcf7_contact_form: 1 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (11) ### ManageWP - Worker: Autor: GoDaddy – 4.9.10 Contact Form 7: Autor: Takayuki Miyoshi – 5.5.2 Elementor Pro: Autor: Elementor.com – 3.5.1 Elementor: Autor: Elementor.com – 3.4.8 EU Cookie Consent: Autor: RS – 0.1.3 Login No Captcha reCAPTCHA (Google): Autor: Robert Peake and Contributors – 1.6.11 UpdraftPlus - Backup/Restore: Autor: UpdraftPlus.Com DavidAnderson – 1.16.63 Woo GoPay Inline: Autor: Toret.cz – 2.2.5 WooCommerce PDF faktury & dodací listy: Autor: Ewout Fernhout – 2.10.3 WooCommerce: Autor: Automattic – 5.9.0 Yoast SEO: Autor: Tym Yoast – 17.6 ### Inactive Plugins (11) ### Adminimize: Autor: Frank Bültge – 1.11.7 Google Listings and Ads: Autor: WooCommerce – 1.6.0 Jetpack: Autor: Automattic – 10.3 Kybernaut IC DIC: Autor: Karolína Vysko?ilová – 1.6.6 Password Protected: Autor: Ben Huson – 2.5 Site Kit by Google: Autor: Google – 1.45.0 W3 Total Cache: Autor: BoldGrid – 2.1.9 WooCommerce Shipping & Tax: Autor: WooCommerce – 1.25.20 Woo Doprava: Autor: toret.cz – 1.7.5 WP-Optimize - Clean, Compress, Cache: Autor: David Anderson Ruhani Rabin Team Updraft – 3.1.12 ?eské slu?by pro WordPress: Autor: Pavel Hejn – 0.6-alpha ### Must Use Plugins (1) ### ManageWP - Worker Loader: Autor: GoDaddy – 1.0.0 ### Settings ### API Enabled: – Force SSL: – Currency: CZK (K?) Currency Position: right_space Thousand Separator: Decimal Separator: , Number of Decimals: 0 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: – ### WC Pages ### Obchod: #5 - /shop/ Ko?ík: ? Stránka neobsahuje [woocommerce_cart] zkráceny kód nebo blok woocommerce/cart. Pokladna: ? Stránka neobsahuje [woocommerce_checkout] zkráceny kód nebo blok woocommerce/checkout. M?j ú?et: #8 - /muj-ucet/ Obchodní podmínky: #177 - /legal-privacy/ ### Theme ### Name: Hello Elementor Child Version: 1.0.1 Author URL: https://elementor.com/ Child Theme: ? Parent Theme Name: Hello Elementor Parent Theme Version: 2.4.1 Parent Theme Author URL: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash WooCommerce Support: ? ### Templates ### Overrides: – ### Action Scheduler ### Dokon?eno: 279 Oldest: 2021-10-22 21:02:54 +0200 Newest: 2021-11-18 10:00:15 +0100 ### Status report information ### Generated at: 2021-11-19 18:02:31 +01:00
2021-11-13T18:14:31+00:00 CRITICAL Uncaught Error: Class 'Puc_v4p6_Utils' not found in /www/doc/www.udirnytrinec.cz/www/wp-content/plugins/woocommerce-balikobot/includes/plugin-update-checker/Puc/v4p6/StateStore.php:172 Stack trace: #0 /www/doc/www.udirnytrinec.cz/www/wp-content/plugins/woocommerce-balikobot/includes/plugin-update-checker/Puc/v4p6/StateStore.php(155): Puc_v4p6_StateStore->load() #1 /www/doc/www.udirnytrinec.cz/www/wp-content/plugins/woocommerce-balikobot/includes/plugin-update-checker/Puc/v4p6/StateStore.php(71): Puc_v4p6_StateStore->lazyLoad() #2 /www/doc/www.udirnytrinec.cz/www/wp-content/plugins/woocommerce-balikobot/includes/plugin-update-checker/Puc/v4p6/UpdateChecker.php(291): Puc_v4p6_StateStore->getUpdate() #3 /www/doc/www.udirnytrinec.cz/www/wp-content/plugins/woocommerce-balikobot/includes/plugin-update-checker/Puc/v4p6/Plugin/UpdateChecker.php(269): Puc_v4p6_UpdateChecker->getUpdate() #4 /www/doc/www.udirnytrinec.cz/www/wp-content/plugins/woocommerce-balikobot/includes/plugin-update-checker/Puc/v4p6/UpdateChecker.ph v /www/doc/www.udirnytrinec.cz/www/wp-content/plugins/woocommerce-balikobot/includes/plugin-update-checker/Puc/v4p6/StateStore.php na ?ádku 172
Thanks!
- This reply was modified 3 years ago by jarokal.
Hi @jarokal,
Thanks for sharing with us your System Status and error logs.
Do you have any custom PHP code saved in your functions.php file? When checking your error logs it appears that you have installed the WooCommerce Balíkobot plugin which is no longer under your active or inactive plugins, so I assume you removed it. It can be possible that this plugin caused some issues, and what I recommend doing is the following:
1) Make a full backup of your site and database using UpdraftPlus.
2) Access your site via FTP and delete the woocommerce folder under the/wp-content/plugins/
directory.
3) Download a fresh copy of WooCommerce from this URL and extract/upload the woocommerce folder to the same directory via FTP.Let us know how that goes.
I have exactly the same issue. I am using Elementor Pro and Hello Theme with a Child.
This issue is still present with all plugins disabled. I have no custom functions active.
It’s missing from the menu and when I go to the old reports and click the link to the new reports it just loads a blank page with nothing showing.
I have tried completely removing the Woo plugin and installing fresh as mentioned above but no luck.
Weird as it works fine on my other sites.
Hello @gilesholder,
Please create your own forum thread, that way we can give correct responses to each thread, including yours.
https://www.ads-software.com/support/plugin/woocommerce/#new-topic-0
Hi @jarokal,
It’s been a while since we last heard from you, so I’m marking this thread as resolved.
Hopefully, you’ve been able to resolve this, but we’ll be here if and/or when you are ready to continue.
- The topic ‘WooCommerce Analytics Missing’ is closed to new replies.