• Resolved King Ding

    (@dazzerr)


    I have the error: TypeError: undefined is not an object (evaluating ‘window.wcAdminFeatures.analytics’) when opening my Cloudflare Plugin Settings.

    @https://www.example.com/wp-content/plugins/woocommerce/assets/client/admin/app/index.js:2:214813 WithPluginsHydration(Component)@https://www.example.com/wp-content/plugins/woocommerce/assets/client/admin/data/index.js:2:145748 WithOptionsHydration(WithPluginsHydration(Component))@https://www.example.com/wp-content/plugins/woocommerce/assets/client/admin/data/index.js:2:146827 WithSettingsHydration(WithOptionsHydration(WithPluginsHydration(Component)))@https://www.example.com/wp-content/plugins/woocommerce/assets/client/admin/data/index.js:2:143638 WithSettingsHydration(WithSettingsHydration(WithOptionsHydration(WithPluginsHydration(Component))))@https://www.example.com/wp-content/plugins/woocommerce/assets/client/admin/data/index.js:2:143638 WithCurrentUserHydration(WithSettingsHydration(WithSettingsHydration(WithOptionsHydration(WithPluginsHydration(Component)))))@https://www.example.com/wp-content/plugins/woocommerce/assets/client/admin/data/index.js:2:144863 Lo@https://www.example.com/wp-content/plugins/woocommerce/assets/client/admin/app/index.js:2:215742

    This has been reported in two other tickets of late:

    Is this a known bug?

    I have disabled all plugins except for Cloudflare and WooCommerce, and the issue persists. When I disable WooCommerce, it is fixed.

    Please assist! ๐Ÿ™‚ Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Jorge A. Torres

    (@jorgeatorres)

    Hi @dazzerr!

    Thanks for reaching out and apologies for the inconveniences. It is indeed a known bug. We were working on a fix, and it will be released early next week.

    Let us know if you have any more questions.

    I get this same error on every page of the SiteGround Optimizer plugin, despite being a WC error message. It appears to me that any plugin that uses a ReactJS back end is crashed by WooCommerce Analytics. Woo Analytics on its own works fine though. Something must be loading WP Admin wide that shouldn’t be loading.

    TypeError: undefined is not an object (evaluating 'window.wcAdminFeatures.analytics')

    @/wp-content/plugins/woocommerce/assets/client/admin/app/index.js:2:214813 WithPluginsHydration(Component)@/wp-content/plugins/woocommerce/assets/client/admin/data/index.js:2:145748 WithOptionsHydration(WithPluginsHydration(Component))@/wp-content/plugins/woocommerce/assets/client/admin/data/index.js:2:146827 WithSettingsHydration(WithOptionsHydration(WithPluginsHydration(Component)))@/wp-content/plugins/woocommerce/assets/client/admin/data/index.js:2:143638 WithSettingsHydration(WithSettingsHydration(WithOptionsHydration(WithPluginsHydration(Component))))@/wp-content/plugins/woocommerce/assets/client/admin/data/index.js:2:143638 WithCurrentUserHydration(WithSettingsHydration(WithSettingsHydration(WithOptionsHydration(WithPluginsHydration(Component)))))@/wp-content/plugins/woocommerce/assets/client/admin/data/index.js:2:144863 Lo@/wp-content/plugins/woocommerce/assets/client/admin/app/index.js:2:215742

    ReactJS = more interactivity, bloated build tools, much less stable. Don’t even get me started with Cloudflare CDN and Woo’s ReactJS used on cart, checkout, and analytics; I could spend all day talking about problems I’ve observed there! I hope to be able to use Cloudflare proxy again someday.

    For the moment it would be nice for Woo Analytics to not crash other plugins that happen to use ReactJS.

    Zee

    (@doublezed2)

    Hello Sean Conklin,

    Thank you for your reply.

    I understand you are facing a similar problem on your site.

    Our developers are working on this issue, and a solution will be released when it is ready. At the moment, we do not have a timeline for this. If you need further assistance or have more questions, you are welcome to create a new topic.

    Have a great day!

    Thread Starter King Ding

    (@dazzerr)

    Thanks for acknowledging this bug. I look forward to a fix ๐Ÿ™

    Plugin Support Feten L. a11n

    (@fetenlakhal)

    Hi there,

    Apart from this, if youโ€™re happy with our plugin and the support youโ€™ve received, weโ€™d really appreciate a review:

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Error: window.wcAdminFeatures.analytics’ is closed to new replies.