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

On WP 5.8-beta2 WooCommerce > Home and the onboarding wizard fail to load #7192

Closed
zhongruige opened this issue Jun 16, 2021 · 3 comments · Fixed by #7202
Closed

On WP 5.8-beta2 WooCommerce > Home and the onboarding wizard fail to load #7192

zhongruige opened this issue Jun 16, 2021 · 3 comments · Fixed by #7202
Labels
priority: high The issue/PR is high priority—it affects lots of customers substantially, but not critically. type: bug The issue is a confirmed bug.
Milestone

Comments

@zhongruige
Copy link

zhongruige commented Jun 16, 2021

Describe the bug

On WordPress 5.8-beta2, the onboarding Wizard and WooCommerce > Home pages fail to load (for the latter, this happens after going through the Wizard on WP 5.7). The JavaScript errors in both cases appear the same.

To Reproduce

In both flows below, you'll want to install the WordPress Beta Tester plugin configured with Bleeding edge and Beta/RC only to pull in updates.

Onboarding wizard flow

For this testing, you'll want to make sure the site is upgraded to WordPress 5.8-beta2 first.

Steps to reproduce the behavior:

  1. Install the WooCommerce plugin, which auto-redirects to the onboarding wizard.
  2. Note the wizard fails to load. Open the console and note the JavaScript errors. See screenshot below for more context.

WooCommerce > Home flow

  1. Install the WooCommerce plugin, and proceed through the onboarding wizard.
  2. Upgrade WordPress to the latest beta, in this case WP 5.8-beta2
  3. Proceed to open WooCommerce > Home and note it fails to load with JavaScript errors in the console.

Expected behavior

The Onboarding Wizard and WooCommerce > Home pages should load.

Screenshots

Screen_Shot_2021-06-15_at_2_55_42_PM

Desktop (please complete the following information):

  • OS: macOS
  • Browser: Firefox
  • Version: 89.0
@ilyasfoo ilyasfoo added this to the 2.4.0 milestone Jun 16, 2021
@ilyasfoo ilyasfoo added the type: bug The issue is a confirmed bug. label Jun 16, 2021
@zhongruige
Copy link
Author

zhongruige commented Jun 16, 2021

One other area to note that I came across is every section in the Analytics menu as well as the Marketing menu also fails to load, with the same errors in the console:

Screen.Recording.2021-06-16.at.8.41.42.AM.mov

@nerrad
Copy link
Contributor

nerrad commented Jun 16, 2021

For reference, Woo Blocks encountered this as well. I have a PR that fixes this for the blocks project here: woocommerce/woocommerce-blocks#4362

However, there is real possibility this could be resolved in the next beta build of WordPress as this has to do with a polyfill being removed from WP which is likely going to be added back in.

@joshuatf
Copy link
Contributor

Thank you very much for opening this issue, @zhongruige and thanks for the PR reference @nerrad! I'm able to reproduce and can confirm that it appears to be the same babel issue with the current error coming from the data package.

I'm going to label this as high priority since we don't know whether or not that polyfill is going to be added back in yet or not.

@joshuatf joshuatf added the priority: high The issue/PR is high priority—it affects lots of customers substantially, but not critically. label Jun 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
priority: high The issue/PR is high priority—it affects lots of customers substantially, but not critically. type: bug The issue is a confirmed bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants