• Resolved leiron

    (@leiron)


    The WoCommerce analytics settings admin page: wp-admin/admin.php?page=wc-admin&path=%2Fanalytics%2Fsettings is not working.

    WordPress : 5.7
    WooCommerce : 5.1.0 (No other plugin activated)
    Theme : Storefront: 3.5.1
    PHP : 7.4.10

    This is the js error log on that page.

    Uncaught Error: Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.
        at checkForNestedUpdates (react-dom.js?ver=16.13.1:23228)
        at scheduleUpdateOnFiber (react-dom.js?ver=16.13.1:21299)
        at dispatchAction (react-dom.js?ver=16.13.1:15795)
        at onStoreChange (data.js?ver=943087ae96d075f126df689839bb96b9:3810)
        at data.js?ver=943087ae96d075f126df689839bb96b9:3819
        at commitHookEffectListMount (react-dom.js?ver=16.13.1:19866)
        at commitLifeCycles (react-dom.js?ver=16.13.1:19922)
        at commitLayoutEffects (react-dom.js?ver=16.13.1:22938)
        at HTMLUnknownElement.callCallback (react-dom.js?ver=16.13.1:182)
        at Object.invokeGuardedCallbackDev (react-dom.js?ver=16.13.1:231)
    react-dom.js?ver=16.13.1:19662 The above error occurred in the <p> component:
        in p (created by r)
        in div (created by r)
        in div (created by r)
        in r (created by WithDispatch(r))
        in WithDispatch(r)
        in div
        in Unknown (created by WithDispatch(Component))
        in WithDispatch(Component) (created by n)
        in Suspense (created by n)
        in n (created by n)
        in div (created by n)
        in div (created by n)
        in n (created by n)
        in div (created by n)
        in n
        in Unknown (created by WithSelect(n))
        in WithSelect(n) (created by WithPluginsHydration(WithSelect(n)))
        in WithPluginsHydration(WithSelect(n)) (created by Context.Consumer)
        in t (created by n)
        in t (created by n)
        in t (created by n)
        in n (created by WithOptionsHydration(n))
        in WithOptionsHydration(n) (created by WithSettingsHydration(WithOptionsHydration(n)))
        in WithSettingsHydration(WithOptionsHydration(n)) (created by WithSettingsHydration(WithSettingsHydration(WithOptionsHydration(n))))
        in WithSettingsHydration(WithSettingsHydration(WithOptionsHydration(n))) (created by WithCurrentUserHydration(WithSettingsHydration(WithSettingsHydration(WithOptionsHydration(n)))))
        in WithCurrentUserHydration(WithSettingsHydration(WithSettingsHydration(WithOptionsHydration(n))))
    
    Consider adding an error boundary to your tree to customize error handling behavior.
    Visit https://fb.me/react-error-boundaries to learn more about error boundaries.
    react.js?ver=16.13.1:2210 Uncaught Error: Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.
        at checkForNestedUpdates (react-dom.js?ver=16.13.1:23228)
        at scheduleUpdateOnFiber (react-dom.js?ver=16.13.1:21299)
        at dispatchAction (react-dom.js?ver=16.13.1:15795)
        at onStoreChange (data.js?ver=943087ae96d075f126df689839bb96b9:3810)
        at data.js?ver=943087ae96d075f126df689839bb96b9:3819
        at commitHookEffectListMount (react-dom.js?ver=16.13.1:19866)
        at commitLifeCycles (react-dom.js?ver=16.13.1:19922)
        at commitLayoutEffects (react-dom.js?ver=16.13.1:22938)
        at HTMLUnknownElement.callCallback (react-dom.js?ver=16.13.1:182)
        at Object.invokeGuardedCallbackDev (react-dom.js?ver=16.13.1:231)
Viewing 2 replies - 1 through 2 (of 2 total)
  • pallinikhil

    (@pallinikhil)

    i’m also facing same issue. woocommerce analytic setting page not showing. and also some time analytic search also not showing products report.

    dougaitken

    (@dougaitken)

    Automattic Happiness Engineer

    Hi all!

    This sounds like it might be due to a known bug that is to be fixed in the next update. If it is, then a temporary solution is to install and activate WooCommerce Admin.

    Normally the WooCommerce Admin plugin is not required, as its features are eventually rolled into core WooCommerce when stable, but in this case, it will temporarily bridge the gap if required.

    Bug report – https://github.com/woocommerce/woocommerce-admin/issues/6549
    WooCommerce Admin plugin – https://wordpress.org/plugins/woocommerce-admin/

    As there is a fix for this known bug, I will mark this thread as Resolved for now, but please do open a new one if you need any more help!

    Thanks,

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

The topic ‘Analytics Settings Admin Page : Not Working’ is closed to new replies.