Skip to content
This repository has been archived by the owner on Jul 12, 2024. It is now read-only.

5.7.1 – Analytics crashing #7748

Closed
pjjonesnz opened this issue Oct 4, 2021 · 26 comments · Fixed by #7763
Closed

5.7.1 – Analytics crashing #7748

pjjonesnz opened this issue Oct 4, 2021 · 26 comments · Fixed by #7763
Assignees
Labels
priority: critical The issue is critical—e.g. a fatal error, security problem affecting many customers. type: bug The issue is a confirmed bug.

Comments

@pjjonesnz
Copy link

As per the post at plugin support: https://wordpress.org/support/topic/5-7-1-analytics-crashing/page/2/#post-14936550

They have asked me to post this here.

Updated my website to 5.7.1 (from 5.6.0) yesterday. No trouble at all – it all went fine without any trouble.

BUT today, some time after my server rolled over past midnight, the WordPress dashboard now takes 30+ seconds to load, and the Woocommerce widget said that there was a fatal error on the website.

I have managed to get things running by deleting all of the analytics data, using Analytics -> Settings -> Delete Previously Imported Data, and then disabling the Woocommerce widget on the dashboard.

As soon as I re-import all of the analytics data, it crashes things again.

If I disable Woocommerce, the dashboard works again. If I have Woocommerce enabled, but disable everything else, it has the fatal error.

In Analytics Overview (before deleting the analytics data), the Net Sales and Orders charts work, but the performance boxes are blank.

Anyone have a solution for this?

Thanks
Paul

Woocommerce 5.7.1
Blocks 5.7.2
Action Scheduler 3.2.1
Woocommerce Admin 2.6.5
Wordpress Version 5.8.1
Woocommerce DB Version: 5.7.1

@pjjonesnz
Copy link
Author

I was asked by your support there to try a bunch of troubleshooting. This is what I did:

Hi @rainfallnixfig

Thanks so much for your support.

I’ve done as you asked. Disabled all plugins, changed the theme to storefront. The same thing happens as I described in my first post.

I have taken screenshots of the dashboard, and analytics, as well as saving the Woocommerce status report, before disabling and after disabling.

After I disabled the plugins and changed the theme, I deleted all of the Analytics’ previously imported data, and things worked again (although of course the dashboard widget said $0 for sales, and the ‘performance’ part of Analytics was blank).

I then (with Storefront active and the plugins deactivated) re-imported all the historical data and the same error on the Dashboard, and performance data in Analytics is blank.

This is the dashboard error in the Woocommerce Status Widget – ‘There has been a critical error on this website. Please check your site admin email inbox for instructions.’

An interesting thing to note, any sales that are made after the site history is deleted, DOES show up in the analytics correctly. The dashboard displays those sales and everything is fine. As soon as I re-import historical data (with or without all the plugins disabled and the theme changed), it causes the errors.

I have screenshots and Woocommerce status info (before and after changes) I can PM you if you would like.

Thanks
Paul


WooCommerce: by Automattic – 5.7.1

### Inactive Plugins (18) ###

...

### Theme ###

Name: Storefront
Version: 3.8.1```

@rodelgc
Copy link

rodelgc commented Oct 5, 2021

Hi @pjjonesnz ,

Thank you for reporting the issue. Analytics is being developed in another repository: woocommerce/woocommerce-admin.

I am going to move your bug report there so that the right team could take a look further.

@rodelgc rodelgc transferred this issue from woocommerce/woocommerce Oct 5, 2021
@rodelgc
Copy link

rodelgc commented Oct 5, 2021

For reference: There's already an internal discussion and preliminary investigation of the issue here - p1632748406271600-slack-C01DT6U03HC

@adrianduffell adrianduffell added type: bug The issue is a confirmed bug. priority: critical The issue is critical—e.g. a fatal error, security problem affecting many customers. labels Oct 6, 2021
@pjjonesnz
Copy link
Author

That's great to hear - thanks for your help in getting this resolved.

@ilyasfoo ilyasfoo self-assigned this Oct 6, 2021
@ilyasfoo
Copy link
Contributor

ilyasfoo commented Oct 6, 2021

Hi @pjjonesnz, thank you so much for reporting this issue. I'm currently looking at this and I'm having a hard time reproducing the issue. I think it may have something to do with your site observing Daylight Savings and I'm not sure of the configuration of your hosting that may trigger the bug.

If you don't mind me asking, what's the configuration of your timezone in Settings > General > Timezone?

@pjjonesnz
Copy link
Author

Hi @ilyasfoo

My timezone is set to Auckland (I'm in New Zealand). We have just moved to daylight savings time, if that is helpful to know?

Here is a screenshot:

image

@ilyasfoo
Copy link
Contributor

ilyasfoo commented Oct 6, 2021

@pjjonesnz Yes, that helps! I have now been able to reproduce the issue, it was really tricky to get it right. Your report in the forum had also included important details. In order to hit this bug, you'd have to hit these conditions:

  1. In a site's Settings > General > Timezone, the site must be set to a city or a state that observers daylight savings.
  2. The site needs to have an order on the previous day of daylight savings start date. Example: A site in Auckland that has at least 1 order on 25th September between 02:00 and 23:59.
  3. The wp-json/wc-analytics/reports/performance-indicators query needs to run within a specific timeframe. Example: In order to observe crash of Today stats under Overview in WooCommerce > Homescreen page, the browser viewing site in Auckland needs to be on 25th September between 02:00 to 23:59.

I'm still looking for the exact root cause for this issue, and hopefully will fix it next. In the meantime, a good workaround would be to set the timezone in WordPress settings to non-city timezone (i.e: Auckland site should set to UTC+13)

@pjjonesnz
Copy link
Author

Well done! 🥇

What a challenge to find that!

I have a session booking plugin that relies on the timezone, so will have a look at the code and see how that might affect it.

Looking forward to seeing how the fix goes.

@ilyasfoo
Copy link
Contributor

ilyasfoo commented Oct 6, 2021

Thanks! We've found out the root cause. It comes in 2 parts:

  1. In the function next_day_start, it seems a new DateTime object in this line is initialized with a timestamp from another DateTime object but does not inherit its timezone. As such, it will default to timezone UTC+0. With daylight saving, an operation that sets its timezone after effectively subtracts an hour from the object (this is unintended). This causes the function to return 2021-09-25 23:00:00 when it should've been 2021-09-26 00:00:00 for determining the next day of 2021-09-25 02:00:00.
  2. In another function that calculates the next week of a given week, it depended on the output from next_day_start to calculate whether it had reached the end of a while loop here. This caused an infinite loop since next_day_start is always returning the same day because of the previous error.

I'm currently working on a fix for this.

@bgrinter
Copy link

bgrinter commented Oct 8, 2021

Ah - I'm having the same problems and was pointed to this issue by support. Australia also just entered daylight saving too!

@ilyasfoo
Copy link
Contributor

The fix is approved and merged. It's expected to be shipped with WooCommerce Admin version 2.8, which should be released before the end of this month. The WooCommerce counterpart will have it in version 5.9, which is expected to be released by 9th November. In the meantime, I just want to reiterate an available workaround would be to set the timezone in WordPress settings to a non-city timezone.

Ah - I'm having the same problems and was pointed to this issue by support. Australia also just entered daylight saving too!

@bgrinter Hope it wasn't too bad!

Thanks again to @pjjonesnz for reporting this bug!

@bgrinter
Copy link

Support were very helpful :-)

@pjjonesnz
Copy link
Author

Thanks so much for solving that so quickly @ilyasfoo

Very impressed by your support and problem solving ability!

@csmcneill
Copy link

csmcneill commented Oct 12, 2021

The timezone issue was also reported in 4356958-zen; informed the merchant that the issue should be fixed in WC 5.9 and it's slated to be released on 9 November.

@gabrielbonifacio
Copy link

Reported in 4370753-zen as well.

@pjsullivan75
Copy link

I'm missing something probably obvious. I still can't get the Dashboards, Analytics, or Marketing pages to load.

Before version 2.8 was released, I changed the timezone settings to UTC as suggested, but I still got the error. I ended up waiting for this update.

With the updated Woocommerce Admin plugin installed, I am still getting the same error when accessing Analytics and Marketing pages and all Woo-y dashboards.

Am I the only one?

@ilyasfoo
Copy link
Contributor

ilyasfoo commented Nov 4, 2021

Hi @pjsullivan75, it's possible that you are hitting another issue, as far as I know, this bug shouldn't affect Marketing pages. If you have more details in your log, it'd be helpful to share it (please remove any sensitive information first if you do) in a new issue.

@qtfish
Copy link

qtfish commented Nov 11, 2021

So i updated to new wordpress version that came out yesterday. I still cant get analytics to work.
When i press on analytics on back end it pulls an error page with this msg
This site can’t be reachedThe webpage at https://drreefsquarantinedfish.com/wp-admin/admin.php?page=wc-admin&path=/analytics/overview might be temporarily down or it may have moved permanently to a new web address.
ERR_HTTP2_PROTOCOL_ERROR

@ilyasfoo
Copy link
Contributor

Hi @qtfish, if you can share any detailed error messages, it'll be helpful to identify what the root cause is

@qtfish
Copy link

qtfish commented Nov 12, 2021

Hi @qtfish, if you can share any detailed error messages, it'll be helpful to identify what the root cause is

I log into the back end of my wordpress/woocommerce website, click on analytics and the page changes like its loading a new page. but the page never comes up and all i see is this error on an empty page;

This site can’t be reachedThe webpage at https://drreefsquarantinedfish.com/wp-admin/admin.php?page=wc-admin&path=/analytics/overview might be temporarily down or it may have moved permanently to a new web address.
ERR_HTTP2_PROTOCOL_ERROR

@qtfish
Copy link

qtfish commented Nov 12, 2021

`

WordPress Environment

WordPress address (URL): https://drreefsquarantinedfish.com
Site address (URL): https://drreefsquarantinedfish.com
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: en_US
External object cache: –

Server Environment

Server Info: Apache
PHP Version: 8.0.11
PHP Post Max Size: 32 MB
PHP Time Limit: 30
PHP Max Input Vars: 1000
cURL Version: 7.71.0
OpenSSL/1.1.1d

SUHOSIN Installed: –
MySQL Version: 5.7.35-cll-lve
Max Upload Size: 32 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_
Total Database Size: 120.07MB
Database Data Size: 101.42MB
Database Index Size: 18.65MB
wp_woocommerce_sessions: Data: 5.58MB + Index: 0.11MB + Engine MyISAM
wp_woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_woocommerce_order_items: Data: 0.38MB + Index: 0.23MB + Engine MyISAM
wp_woocommerce_order_itemmeta: Data: 3.31MB + Index: 2.30MB + Engine MyISAM
wp_woocommerce_tax_rates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_actionscheduler_actions: Data: 3.51MB + Index: 1.22MB + Engine MyISAM
wp_actionscheduler_claims: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_actionscheduler_groups: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
wp_actionscheduler_logs: Data: 1.77MB + Index: 1.20MB + Engine MyISAM
wp_aioseo_notifications: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_aioseo_posts: Data: 0.11MB + Index: 0.01MB + Engine MyISAM
wp_aioseo_terms: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_commentmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
wp_comments: Data: 1.21MB + Index: 0.54MB + Engine MyISAM
wp_frmt_form_entry: Data: 0.03MB + Index: 0.04MB + Engine MyISAM
wp_frmt_form_entry_meta: Data: 0.49MB + Index: 0.28MB + Engine MyISAM
wp_frmt_form_views: Data: 2.77MB + Index: 3.99MB + Engine MyISAM
wp_layerslider: Data: 0.63MB + Index: 0.00MB + Engine MyISAM
wp_layerslider_revisions: Data: 0.02MB + Index: 0.00MB + Engine MyISAM
wp_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_options: Data: 8.08MB + Index: 0.24MB + Engine MyISAM
wp_pimwick_gift_card: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_pimwick_gift_card_activity: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_postmeta: Data: 14.51MB + Index: 4.37MB + Engine MyISAM
wp_posts: Data: 3.25MB + Index: 0.31MB + Engine MyISAM
wp_smush_dir_images: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_termmeta: Data: 0.02MB + Index: 0.02MB + Engine MyISAM
wp_terms: Data: 0.01MB + Index: 0.02MB + Engine MyISAM
wp_term_relationships: Data: 0.04MB + Index: 0.09MB + Engine MyISAM
wp_term_taxonomy: Data: 0.01MB + Index: 0.01MB + Engine MyISAM
wp_usermeta: Data: 2.63MB + Index: 1.59MB + Engine MyISAM
wp_users: Data: 0.14MB + Index: 0.16MB + Engine MyISAM
wp_wcepp_messages: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_wc_admin_notes: Data: 0.03MB + Index: 0.00MB + Engine MyISAM
wp_wc_admin_note_actions: Data: 0.01MB + Index: 0.00MB + Engine MyISAM
wp_wc_category_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_wc_customer_lookup: Data: 0.09MB + Index: 0.09MB + Engine MyISAM
wp_wc_download_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_wc_order_coupon_lookup: Data: 0.01MB + Index: 0.02MB + Engine MyISAM
wp_wc_order_product_lookup: Data: 0.45MB + Index: 0.42MB + Engine MyISAM
wp_wc_order_stats: Data: 0.10MB + Index: 0.07MB + Engine MyISAM
wp_wc_order_tax_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_wc_product_meta_lookup: Data: 0.04MB + Index: 0.06MB + Engine MyISAM
wp_wc_reserved_stock: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_wc_tax_rate_classes: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
wp_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_wfblockediplog: Data: 0.08MB + Index: 0.06MB + Engine MyISAM
wp_wfblocks7: Data: 0.16MB + Index: 0.08MB + Engine MyISAM
wp_wfconfig: Data: 0.39MB + Index: 0.02MB + Engine MyISAM
wp_wfcrawlers: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_wffilechanges: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_wffilemods: Data: 2.98MB + Index: 0.61MB + Engine MyISAM
wp_wfhits: Data: 0.60MB + Index: 0.10MB + Engine MyISAM
wp_wfhoover: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_wfissues: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
wp_wfknownfilelist: Data: 1.57MB + Index: 0.19MB + Engine MyISAM
wp_wflivetraffichuman: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_wflocs: Data: 0.01MB + Index: 0.00MB + Engine MyISAM
wp_wflogins: Data: 0.31MB + Index: 0.07MB + Engine MyISAM
wp_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_wfnotifications: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_wfpendingissues: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_wfpklist_template_data: Data: 0.01MB + Index: 0.00MB + Engine MyISAM
wp_wfreversecache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_wfsnipcache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_wfstatus: Data: 0.08MB + Index: 0.04MB + Engine MyISAM
wp_wftrafficrates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_wpml_mails: Data: 45.93MB + Index: 0.03MB + Engine MyISAM
wp_wt_iew_action_history: Data: 0.03MB + Index: 0.00MB + Engine MyISAM
wp_wt_iew_cron: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_wt_iew_ftp: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_wt_iew_mapping_template: Data: 0.00MB + Index: 0.00MB + Engine MyISAM

Post Type Counts

acf-field: 1
acf-field-group: 1
apifw_inv_templates: 1
attachment: 420
avia_framework_post: 10
custom_css: 1
forminator_forms: 2
inspire_invoice: 1
nav_menu_item: 12
page: 12
post: 1
product: 257
product_variation: 432
revision: 436
shop_coupon: 82
shop_order: 1317
viwec_template: 14
wc_order_email: 4
wc_order_status: 10

Security

Secure connection (HTTPS): ✔
Hide errors from visitors: ✔

Active Plugins (24)

Additional Order Filters for WooCommerce: by Anton Bond – 1.10
WooCommerce Continue Shopping: by HappyKite – 1.4.3
Cost of Goods for WooCommerce: by WPFactory – 2.4.9
Custom Order Numbers for WooCommerce: by Tyche Softwares – 1.3.4
Envato Market: by Envato – 2.0.6
Forminator: by WPMU DEV – 1.15.4
Hummingbird: by WPMU DEV – 3.1.3
Import and export users and customers: by codection – 1.18.4.4
Kadence WooCommerce Email Designer: by Kadence WP – 1.4.8
Limit Login Attempts Reloaded: by Limit Login Attempts Reloaded – 2.23.2
PW WooCommerce Gift Cards: by Pimwick
LLC – 1.191

Regenerate Thumbnails: by Alex Mills (Viper007Bond) – 3.1.5
SmartCrawl: by WPMU DEV – 2.15.1
WordPress Users & WooCommerce Customers Import Export(BASIC): by WebToffee – 2.2.2
WC Hide Shipping Methods: by Rynaldo Stoltz – 1.5
Password Strength Settings for WooCommerce: by Daniel Santoro – 3.0.0
WP Sheet Editor - WooCommerce Products: by WP Sheet Editor – 1.7.10
Ultimate Order Combination: by Fahad Mahmood – 1.3.6
Print Invoice & Delivery Notes for WooCommerce: by Tyche Softwares – 4.6.4
WooCommerce Order Status Manager: by SkyVerge – 1.13.2
WooCommerce: by Automattic – 5.9.0
WP Mail Logging: by Wysija – 1.9.9
Smart Image Resize PRO: by Nabil Lemsieh – 1.6.4.2
Smush: by WPMU DEV – 3.9.2

Inactive Plugins (0)

Must Use Plugins (1)

installatron_hide_status_test.php: by –

Settings

API Enabled: –
Force SSL: –
Currency: USD ($)
Currency Position: left
Thousand Separator: ,
Decimal Separator: .
Number of Decimals: 2
Taxonomies: Product Types: external (external)
grouped (grouped)
pw gift card (pw-gift-card)
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: #113 - /shop/
Cart: #115 - /cart/
Checkout: #117 - /checkout/
My account: #119 - /my-account/
Terms and conditions: #96 - /processing-and-shipping/

Theme

Name: Enfold
Version: 4.8.2
Author URL: https://kriesi.at
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: enfold/woocommerce/emails/customer-on-hold-order.php

Action Scheduler

Complete: 9,410
Oldest: 2021-11-05 21:44:48 +0000
Newest: 2021-11-12 23:34:14 +0000

Pending: 4
Oldest: 2021-11-12 23:39:14 +0000
Newest: 2021-11-18 12:15:16 +0000

Status report information

Generated at: 2021-11-12 17:38:01 -06:00
`

@ilyasfoo
Copy link
Contributor

Thanks for sharing the details, @qtfish. Would you be able to find out the PHP error logs from your hosting? That should tell us what exactly went wrong. You may have to contact your hosting's support if you're unsure how to obtain the logs.

@qtfish
Copy link

qtfish commented Jan 3, 2022

Search for ...
Log Entries32 entries
Jul 18 2021
19:42:19 GMT-0500 (Central Daylight Time)
usort(): Returning bool from comparison function is deprecated, return an integer less than, equal to, or greater than zero
Type: PHP Deprecated Line: 2357
File: /home/d834z34n1acf/public_html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/template-builder.class.php
More details
Jul 18 2021
19:21:39 GMT-0500 (Central Daylight Time)
A feed could not be found at http://reduxframework.com/feed/; the status code is 404 and content-type is text/html
Type: PHP Notice Line: 1728
File: /home/d834z34n1acf/public_html/wp-includes/class-simplepie.php
More details
Jul 18 2021
19:11:57 GMT-0500 (Central Daylight Time)
Uncaught TypeError: DOMElement::setAttribute(): Argument #2 ($value) must be of type string, array given in /home/d834z34n1acf/public_html/wp-content/themes/enfold/config-layerslider/LayerSlider/assets/helpers/phpQuery.php:3738
Type: PHP Fatal error
File: /home/d834z34n1acf/public_html/wp-content/themes/enfold/config-layerslider/LayerSlider/assets/helpers/phpQuery.php
More details
Jul 18 2021
18:11:40 GMT-0500 (Central Daylight Time)
Undefined array key "price/"
Type: PHP Warning Line: 1538
File: /home/d834z34n1acf/public_html/wp-content/themes/enfold/config-woocommerce/config.php
More details
Jul 18 2021
18:11:21 GMT-0500 (Central Daylight Time)
Undefined array key "popularity/"
Type: PHP Warning Line: 1538
File: /home/d834z34n1acf/public_html/wp-content/themes/enfold/config-woocommerce/config.php
More details
Jul 18 2021
18:11:10 GMT-0500 (Central Daylight Time)
Undefined array key "id/"
Type: PHP Warning Line: 1538
File: /home/d834z34n1acf/public_html/wp-content/themes/enfold/config-woocommerce/config.php
More details
Jul 18 2021
18:09:43 GMT-0500 (Central Daylight Time)
Undefined array key "rating//"
Type: PHP Warning Line: 1538
File: /home/d834z34n1acf/public_html/wp-content/themes/enfold/config-woocommerce/config.php
More details
Jul 18 2021
18:09:33 GMT-0500 (Central Daylight Time)
Undefined array key "rand//"
Type: PHP Warning Line: 1538
File: /home/d834z34n1acf/public_html/wp-content/themes/enfold/config-woocommerce/config.php
More details
Jul 18 2021
18:09:22 GMT-0500 (Central Daylight Time)
Undefined array key "price//"
Type: PHP Warning Line: 1538
File: /home/d834z34n1acf/public_html/wp-content/themes/enfold/config-woocommerce/config.php
More details
Jul 18 2021
18:09:10 GMT-0500 (Central Daylight Time)
Undefined array key "popularity//"
Type: PHP Warning Line: 1538
File: /home/d834z34n1acf/public_html/wp-content/themes/enfold/config-woocommerce/config.php
More details
Jul 18 2021
18:08:58 GMT-0500 (Central Daylight Time)
Undefined array key "menu_order//"
Type: PHP Warning Line: 1538
File: /home/d834z34n1acf/public_html/wp-content/themes/enfold/config-woocommerce/config.php
More details
Jul 18 2021
18:08:48 GMT-0500 (Central Daylight Time)
Undefined array key "id//"
Type: PHP Warning Line: 1538
File: /home/d834z34n1acf/public_html/wp-content/themes/enfold/config-woocommerce/config.php
More details
Jul 18 2021
18:08:42 GMT-0500 (Central Daylight Time)
Undefined array key "default//"
Type: PHP Warning Line: 1538
File: /home/d834z34n1acf/public_html/wp-content/themes/enfold/config-woocommerce/config.php
More details
Jul 18 2021
18:08:35 GMT-0500 (Central Daylight Time)
Undefined array key "date//"
Type: PHP Warning Line: 1538
File: /home/d834z34n1acf/public_html/wp-content/themes/enfold/config-woocommerce/config.php
More details
Jul 18 2021
18:08:30 GMT-0500 (Central Daylight Time)
Undefined array key "title//"
Type: PHP Warning Line: 1538
File: /home/d834z34n1acf/public_html/wp-content/themes/enfold/config-woocommerce/config.php
More details
Jul 18 2021
18:08:24 GMT-0500 (Central Daylight Time)
Undefined array key "relevance//"
Type: PHP Warning Line: 1538
File: /home/d834z34n1acf/public_html/wp-content/themes/enfold/config-woocommerce/config.php
More details
Jul 18 2021
18:04:28 GMT-0500 (Central Daylight Time)
Undefined array key "menu_order/"
Type: PHP Warning Line: 1538
File: /home/d834z34n1acf/public_html/wp-content/themes/enfold/config-woocommerce/config.php
More details
Jul 18 2021
18:04:12 GMT-0500 (Central Daylight Time)
Undefined array key "default/"
Type: PHP Warning Line: 1538
File: /home/d834z34n1acf/public_html/wp-content/themes/enfold/config-woocommerce/config.php
More details
Jul 18 2021
18:04:01 GMT-0500 (Central Daylight Time)
Undefined array key "date/"
Type: PHP Warning Line: 1538
File: /home/d834z34n1acf/public_html/wp-content/themes/enfold/config-woocommerce/config.php
More details
Jul 18 2021
18:03:56 GMT-0500 (Central Daylight Time)
Undefined array key "title/"
Type: PHP Warning Line: 1538
File: /home/d834z34n1acf/public_html/wp-content/themes/enfold/config-woocommerce/config.php
More details
Jul 18 2021
18:03:47 GMT-0500 (Central Daylight Time)
Undefined array key "relevance/"
Type: PHP Warning Line: 1538
File: /home/d834z34n1acf/public_html/wp-content/themes/enfold/config-woocommerce/config.php
More details
Jul 18 2021
15:36:56 GMT-0500 (Central Daylight Time)
Attempt to read property "locale" on bool
Type: PHP Warning Line: 172
File: /home/d834z34n1acf/public_html/wp-admin/update-core.php
More details
Jul 18 2021
15:36:56 GMT-0500 (Central Daylight Time)
Attempt to read property "locale" on bool
Type: PHP Warning Line: 163
File: /home/d834z34n1acf/public_html/wp-admin/update-core.php
More details
Jul 18 2021
15:36:56 GMT-0500 (Central Daylight Time)
Attempt to read property "locale" on bool
Type: PHP Warning Line: 154
File: /home/d834z34n1acf/public_html/wp-admin/update-core.php
More details
Jul 18 2021
15:36:56 GMT-0500 (Central Daylight Time)
Attempt to read property "current" on bool
Type: PHP Warning Line: 153
File: /home/d834z34n1acf/public_html/wp-admin/update-core.php
More details
Jul 18 2021
15:36:56 GMT-0500 (Central Daylight Time)
Attempt to read property "response" on bool
Type: PHP Warning Line: 67
File: /home/d834z34n1acf/public_html/wp-admin/update-core.php
More details
Jul 18 2021
15:36:56 GMT-0500 (Central Daylight Time)
Attempt to read property "locale" on bool
Type: PHP Warning Line: 45
File: /home/d834z34n1acf/public_html/wp-admin/update-core.php
More details
Jul 18 2021
15:36:56 GMT-0500 (Central Daylight Time)
Attempt to read property "locale" on bool
Type: PHP Warning Line: 43
File: /home/d834z34n1acf/public_html/wp-admin/update-core.php
More details
Jul 18 2021
15:36:56 GMT-0500 (Central Daylight Time)
Attempt to read property "current" on bool
Type: PHP Warning Line: 41
File: /home/d834z34n1acf/public_html/wp-admin/update-core.php
More details
Jul 18 2021
15:34:43 GMT-0500 (Central Daylight Time)
Uncaught Error: Attempt to modify property "updates" on bool in /home/d834z34n1acf/public_html/wp-content/plugins/wp-downgrade/wp-downgrade.php:182
Type: PHP Fatal error
File: /home/d834z34n1acf/public_html/wp-content/plugins/wp-downgrade/wp-downgrade.php
More details
Jul 18 2021
15:26:50 GMT-0500 (Central Daylight Time)
Undefined array key "rating/"
Type: PHP Warning Line: 1538
File: /home/d834z34n1acf/public_html/wp-content/themes/enfold/config-woocommerce/config.php
More details
Jul 18 2021
15:26:11 GMT-0500 (Central Daylight Time)
Undefined array key "rand/"
Type: PHP Warning Line: 1538
File: /home/d834z34n1acf/public_html/wp-content/themes/enfold/config-woocommerce/config.php
More details

@ilyasfoo
Copy link
Contributor

ilyasfoo commented Jan 4, 2022

Thanks for sharing the logs, @qtfish. Unfortunately, nothing in there provides information about the crash. Are you still experiencing them with the latest WooCommerce Admin plugin? If so, it's most likely a separate issue altogether.

@qtfish
Copy link

qtfish commented Jan 4, 2022

unfortunately whenever i am on the back end and i click on Analytics i get a blank error page like posted earlier in the forum.
I am not sure whats going on, I am up to date on the version of wordpress and theme and everything.

@ilyasfoo
Copy link
Contributor

ilyasfoo commented Jan 4, 2022

Since we don't know the reason, it may be worth attempting a conflict test. Self-Service Guide.

How to test for conflicts

The best way to determine if the issue is being caused by a theme and/or plugin is to:

  1. Temporarily switch your theme to Storefront or Twenty Twenty theme.
  2. Try to go back to analytics
    If the problem is resolved, it's a theme conflict. If not, continue to the next steps.
  3. Temporarily deactivate all plugins except WooCommerce. You can do this manually or use a plugin to help (see below for tools).
  4. Try to reproduce the problem again. If the problem is resolved, it's a plugin conflict. To figure out which plugin is causing the problem, continue to the next step.
  5. Reactivate your other plugins one by one, testing after each, until you find the one causing conflict.

For more detailed instructions, check out How to test for plugin and theme conflicts.

Please let us know how that goes.

Tools to help with troubleshooting

Meks Quick Plugin Disabler will remember what plugins you had active when you switch it back on.

You can clone your site to a staging environment and perform tests without modifying your live site or impacting customers. Many hosts provide staging facilities, so it's worth checking in with them. It’s also possible to do it using the free WP Staging plugin.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
priority: critical The issue is critical—e.g. a fatal error, security problem affecting many customers. type: bug The issue is a confirmed bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

9 participants