• Resolved midway-wp

    (@midway-wp)


    I upgraded WooCommerce from Version 4.9.2 to Version 5.1.0 recently and the settings page starts to load but goes blank.

    //page=wc-admin&path=%2Fanalytics%2Fsettings

    I have my error log enabled and nothing is showing up, but Chrome shows

    Error: Minified React error #185; visit https://reactjs.org/docs/error-decoder.html?invariant=185 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
        at Ja (react-dom.min.js?ver=16.13.1:224)
        at ch (react-dom.min.js?ver=16.13.1:93)
        at e (data.min.js?ver=943087ae96d075f126df689839bb96b9:2)
        at data.min.js?ver=943087ae96d075f126df689839bb96b9:2
        at Bh (react-dom.min.js?ver=16.13.1:126)
        at oj (react-dom.min.js?ver=16.13.1:126)
        at Aj (react-dom.min.js?ver=16.13.1:160)
        at unstable_runWithPriority (react.min.js?ver=16.13.1:25)
        at Da (react-dom.min.js?ver=16.13.1:60)
        at ab (react-dom.min.js?ver=16.13.1:154)

    I took the following steps:
    disabled my theme and activated twenty twenty-one
    disabled all plugins

    Nothing.

    Do you have a suggestion?

Viewing 14 replies - 1 through 14 (of 14 total)
  • I’m seeing the exact same behaviour.

    I’ve tested with a vanilla WordPress install with only Woocommerce (v5.1.0) active. I can confirm I do not see any errors when the WordPress version is 5.6.2. On upgrading to WordPress 5.7 the page is blank and the React errors appear (I believe they suggest an infinite loop).

    I have the same problem.
    Please fix the bug.

    Same issue with all my installations on different server environments.

    Also the same when I tried a clean install with twentytwentyone theme and only the woocommerce plugin.

    Hi all! This isn’t something I’m able to personally reproduce in testing at the moment.

    At a glance I wonder if it is related to this issue reported at Github: https://github.com/woocommerce/woocommerce-admin/issues/6323

    Can you please try clearing local browser cache, site cache or CDN?

    Also, you could try uninstalling and reinstalling WooCommerce. This may reinitialise the JS. Please take care to take a backup first if you try this.

    Let us know how you get on, and if this helps. Can you also try in different browsers and let us know if it is only happening in one particular browser?

    Hi @fylgjur

    My original tests were carried out in Chrome. Since your message I’ve tried in Edge (in-private) with the same result. I’ve deleted and reinstalled but again no change.

    nginx v1.14.0
    PHP (FPM) 7.2.24

    Let me know if there is anything else I can provide to help troubleshoot.

    Hi, thanks for testing that for me!

    Since I last wrote, I’ve seen a closer issue report that corresponds better to what you were describing: https://github.com/woocommerce/woocommerce-admin/issues/6549

    Our developers are aware of this and have prepared a fix. It should be fine for you to wait for WooCommerce 5.2, and your new orders should still appear in analytics if you do wait. It’s also possible that this may be fixed in an earlier update than 5.2.

    Also, the issue has been fixed in the latest version of the WooCommerce Admin plugin. This plugin is already bundled in core WooCommerce, but is only updated to its latest version when the whole of WooCommerce is updated.

    If you want to try this fix, you can install the separate Admin plugin over the top of WooCommerce and it will supersede the bundled WooCommerce Admin version included in WooCommerce. Then when the next version of WooCommerce is installed you can just remove the WooCommerce Admin plugin.

    Let us know if that fixes it for you, if you want to try it!

    I can confirm that fixes it for me.

    Thanks @bbceg , that’s good to hear!

    I’ll mark this thread as resolved now since the fix to Admin will be taken through into core WooCommerce in an upcoming version release. If you or anyone else in the thread has any further questions, I recommend creating a new thread. Thanks again!

    I have the same problem, blank page woocommerce admin… After installing the WooCommerce Admin pluging and everything seems to work fine.

    Same here, seems like still an issue ??

    Hi @isuke01 ! Have you been able to try the workaround of installing the latest version of the WooCommerce Admin plugin as described in my message above?

    Getting the same issue (blank screen in Analytics and React errors showing the console) after upgrading to Woo 5.4.1. Installing the Woo Admin plugin does not solve the issue

    @pixvault Had the same issue in multisites and found the fix. I wasn’t seeing any console errors but blank screen for all Analytics pages when logged in as a Super Admin. Explicitly adding Super Admin user to the site solved it for me.

    • This reply was modified 3 years, 5 months ago by Xmod08.

    I found the issue to be with the user login. I could see the analytics, but a different login was showing a blank screen. They were set to superadmin, but since I’m using multisite, I had to make them an administrator in each website itself, then it worked.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Analytics > Settings Page Blank after Update’ is closed to new replies.