Title: Dashboard throws error
Last modified: November 1, 2024

---

# Dashboard throws error

 *  Resolved [Greendroid](https://wordpress.org/support/users/greendroid/)
 * (@greendroid)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/dashboard-throws-error/)
 * Hi Team,
   in my admin dashboard I am able to see the full SiteKit dashboard with
   some changed metrics without any issues.A different user, also granted access
   to the dashboard, changed some metrices (cannot tell anymore which one) and since
   then the dashboard is not showing up anymore properly.It shows and error in the
   following style:
 *     ```wp-block-code
       An error occurred while running 'mapSelect': too much recursionThe error may be correlated with this previous error:... then a lot of code which I could send to you if necessary ...Original stack trace:in DashboardNavigationin Headerin DashboardMainAppin DashboardEntryPointin RestoreSnapshotsin ErrorHandlerin ThemeProviderin StrictModein Root
       ```
   
 * I already tried a complete reinstallation of the plugin but it seems not to work.
   Perhaps the settings are still saved, also after a deinstallation?
   Could you 
   help us bringing the dashboard back for the other user?Thanks and kind regards

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/dashboard-throws-error/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/dashboard-throws-error/page/2/?output_format=md)

 *  Plugin Support [James Osborne](https://wordpress.org/support/users/jamesosborne/)
 * (@jamesosborne)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/dashboard-throws-error/#post-18109803)
 * Thanks for reaching out [@greendroid](https://wordpress.org/support/users/greendroid/).
   So we can ensure the dashboard does work as expected for you and the other user,
   please share the following:
    1. Your[ Site Health information](https://i.imgur.com/Rtkmsba.png). You can[ use this form](https://docs.google.com/forms/d/1lhjns2K7c0Ny7ME4gxTcsnYtNUtcMr8BvFpPQi23Y1E/)
       to share privately if preferred.  
    2. Just to confirm, the dashboard issues only occur for this other user, or for
       you also? If they other user is accessing the view-only dashboard, after you
       configured dashboard sharing for them, have you tried to [reset dashboard sharing permissions](https://sitekit.withgoogle.com/documentation/using-site-kit/dashboard-sharing/#resetting)?
    3. Is this error appearing across the full dashboard for them, or confined to within
       one or more key metrics? Feel free to share a link to any screenshot of what
       they’re encountering. Please ask them to check whether the same occurs if selecting
       different metrics to view, should this error appear within specific metrics.
 * > I already tried a complete reinstallation of the plugin but it seems not to
   > work. Perhaps the settings are still saved, also after a deinstallation?
 * Sorry to hear that. One option that should work, is a plugin reset, as opposed
   to uninstalling and reinstalling. I don’t recommend performing this task yet,
   until we perform the checks above, as there are implications to resetting, including
   all modules becoming disconnected and all users having to go through the set 
   up process once more. Once we have the information suggested above, we can advise
   on this further. Let me know if you have any questions.
 *  Thread Starter [Greendroid](https://wordpress.org/support/users/greendroid/)
 * (@greendroid)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/dashboard-throws-error/#post-18109825)
 * Hi [@jamesosborne](https://wordpress.org/support/users/jamesosborne/),
   Thanks
   for your quick response.I created a support ticket via the mentioned form. But
   here already some more background information:
    - The dashboard shows up for my admin account without any issues. Also for another
      normal-user it shows up properly.
      The “problematic-user”, which has the same
      rights as the normal-user mentioned before, it shows up properly. The “problematic-
      user” has changed some metrics, then the issues occurred. Unfornatunately 
      it is not document to which metrics this was changed. Before changing of the
      metrics it worked flawlessly.
    - This happened already some months ago, but only working on that now. So also
      plugin updates, etc… did not solve the issue.
    - Resetting the viewing sharing permissions did also change nothing unfortunately.
    - The “problematic-user” just clicks on the SiteKit->Dashboard link on the left
      side in the WordPress menue. Then the previously mentioned error code block
      shows up. It is not possible to change the metrics back to some other.
 * Thanks for your help. If you need anything else just let me know.
   Kind regards
 *  Plugin Support [James Osborne](https://wordpress.org/support/users/jamesosborne/)
 * (@jamesosborne)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/dashboard-throws-error/#post-18109896)
 * Thanks for sharing the additional information [@greendroid](https://wordpress.org/support/users/greendroid/).
   From reviewing your Site Health information I can see one connected user signed
   into Site Kit, meaning others are likely all view-only users. I can also see 
   the following, which indicates that some of the key metrics would not be available
   for that user, as there are some metrics that require custom dimensions to be
   added:
   `analytics_4_available_custom_dimensions: none`
 * I suspect that one or more custom dimensions were selected, and the associated
   custom dimensions may not longer exist, the Google Analytics property was modified,
   or something else. I’ll perform some checks on this, to confirm that view-only
   users cannot select key metrics that require non-existing dimensions, while also
   some further checks to try and recreate the same error.
 * As a workaround, while I’m performing some checks, as this may take some time,
   you can try to disconnect the Google Analytics module and connect once more. 
   After doing so, please toggle off and on all the available key metrics. Doing
   so will ensure Site Kit creates the custom dimensions, which are then available
   for other users. Let me know if you need any assistance in doing this. After 
   this is complete, you can ask the view only user to check the dashboard once 
   more.
 * I’ll keep you updated here also after some testing. Thank you.
 *  Thread Starter [Greendroid](https://wordpress.org/support/users/greendroid/)
 * (@greendroid)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/dashboard-throws-error/#post-18110513)
 * Hi [@jamesosborne](https://wordpress.org/support/users/jamesosborne/),
   I have
   done so: Disconnected GoogleAnalystics completely from the side, reconnected 
   again, activated all metrices so that they were visible at least once in my admin
   dashboard. Unfortunately the “problematic user” has still the error.Interestingly
   the plugin was somehow saving my settings, so when I reconnected with my google
   account everything looked like before. The same metrices as before, the same 
   view-only roles assigned, etc…Is it somehow possible to remove the saved parameters
   of the plugin?Thanks and kind regards
 *  Plugin Support [James Osborne](https://wordpress.org/support/users/jamesosborne/)
 * (@jamesosborne)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/dashboard-throws-error/#post-18115754)
 * Thanks for the update [@greendroid](https://wordpress.org/support/users/greendroid/).
   We’ve been performing some checks on this and we’re unable to recreate the same
   error so far. While I’ll check this further with the team this week, in order
   to ensure no users of your site can view the Site Kit dashboard as expected, 
   let’s see if this is isolated to this specific user. To do so, can you create
   another user account, with the same role as this impacted user. After doing so,
   please login with this user account and check whether the same occurs.
 * > Is it somehow possible to remove the saved parameters of the plugin?
 * Great question. We do have a [GitHub issue](https://github.com/google/site-kit-wp/issues/8988)
   in relation to this. In the meantime, please do let me know how you get on with
   the latest user account. We may end up having to perform a reset if you’re happy
   to configure Site Kit once more, connecting to the same Google Analytics account
   and re-configuring Dashboard Sharing.
 * Let me know if you have any questions with the above.
 *  Thread Starter [Greendroid](https://wordpress.org/support/users/greendroid/)
 * (@greendroid)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/dashboard-throws-error/#post-18115928)
 * Hi [@jamesosborne](https://wordpress.org/support/users/jamesosborne/),
 * thanks for your effort. I already have another user with the same view rights(
   and everything the same to the “problematic user”). This other user can see the
   SiteKit dashboard without any issues with the default metrices clicked.
 * Then I changed the metrices a few times to some other statistics and now its 
   also broken for that user…
   I am not 100% sure which metrices I chose the last
   time, but I have in mind, that I chose “Most popular authors by pageviewes” and“
   Most popular products by pageviews”.
 * As I was not totally sure, I created a complete new user with the same rights
   and checked again.
   The user was starting with “Most popular products by pageviews”,“
   Top traffic source”, “Most engaged traffic source”, “Top performing keywords”.
   At “Most popular products by pageviews” only a “Setup successful: Analytics is
   gathering data for this metric” was shown.Then I exchanged the “Top traffic source”
   by “Most popular authors by pageviews” and with that I broke the dashboard.
 * So I can somehow confirm, that it is because of the “Most popular authors by 
   pageviews”? Now all users currently have a broken dashboard 😀
   When I select 
   the “Most popular authors by pageviews” on my admin dashboard it works fine and
   also shows the most popular author. So only the other users have issues with 
   that metric.
 * I hope this helps. In general I also do not have any problem in a complete reset
   of SiteKit. I cannot remember, that it was too much effort to reconfigure it.
   No worries, if you tell me how to do the full reset I would do.
 * Thanks and kind regards
 * PS: I use the plugin “Members” for changings some user rights. Is perhaps SiteKit
   somehow depending on one important role/access right which the other users do
   not have?
    -  This reply was modified 1 year, 6 months ago by [Greendroid](https://wordpress.org/support/users/greendroid/).
      Reason: Added the PS
 *  Plugin Support [James Osborne](https://wordpress.org/support/users/jamesosborne/)
 * (@jamesosborne)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/dashboard-throws-error/#post-18115981)
 * Many thanks for the detailed overview of the checks you performed. Regarding 
   some of the metrics that you select, these require custom dimensions to be present,
   although Site Kit does typically add these for users. As I didn’t see these present
   from reviewing your Site Health information, I suspect this may be contributing.
   To check this further, can you visit that property from analytics.google.com 
   by clicking on the “Source”: Analytics” link on your Site Kit dashboard? After
   doing so, you’ll be visiting that property from Analytics directly. From there,
   click on the admin cog, and then “Custom Definitions”. Please share what you 
   see there. [Here you’ll find a screenshot](https://i.imgur.com/CD3C0t9.png) of
   how it should look, with some Site Kit defined dimensions.
 * > PS: I use the plugin “Members” for changings some user rights. Is perhaps SiteKit
   > somehow depending on one important role/access right which the other users 
   > do not have?
 * This is indeed a possibility, but before we perform some checks on this, via 
   the Health Check & Troubleshooting plugin, can you confirm that you do have the
   required custom dimensions present.
 *  Plugin Support [James Osborne](https://wordpress.org/support/users/jamesosborne/)
 * (@jamesosborne)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/dashboard-throws-error/#post-18131132)
 * I’m just following up with you to check whether the error remains? If so please
   share the information requested above and we can investigate further.
 *  Thread Starter [Greendroid](https://wordpress.org/support/users/greendroid/)
 * (@greendroid)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/dashboard-throws-error/#post-18131225)
 * hi [@jamesosborne](https://wordpress.org/support/users/jamesosborne/),
 * yes the error still exists but I found unfortunately not the time to perform 
   your mentioned steps so far. Will hopefully come to it today/within the next 
   days and update you then. Sorry for the delay…
 * Kind regards
 *  Plugin Support [James Osborne](https://wordpress.org/support/users/jamesosborne/)
 * (@jamesosborne)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/dashboard-throws-error/#post-18131434)
 * Completely understand [@greendroid](https://wordpress.org/support/users/greendroid/).
   Take your time, and ask any questions here in the meantime if you wish.
 *  Thread Starter [Greendroid](https://wordpress.org/support/users/greendroid/)
 * (@greendroid)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/dashboard-throws-error/#post-18136114)
 * Hi [@jamesosborne](https://wordpress.org/support/users/jamesosborne/),
   I just
   checked the custom dimensions as you have shown in the picture. Here is an appropriate
   screenshot:[https://imgur.com/a/OxMlVB3](https://imgur.com/a/OxMlVB3)
 * Thanks for your support and kind regards
 *  Plugin Support [James Osborne](https://wordpress.org/support/users/jamesosborne/)
 * (@jamesosborne)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/dashboard-throws-error/#post-18136148)
 * Many thanks [@greendroid](https://wordpress.org/support/users/greendroid/). That
   confirms you do have all the required custom dimensions added. Next we’ll try
   to determine if the issue is related to a Members plugin configuration, or another
   plugin conflict. To do so, please follow the steps below:
    1. Login to your live site from [a ](https://i.imgur.com/ALzgiHp.png)[Chrome browser incognito window](https://i.imgur.com/ALzgiHp.png).
       Please do so from a WordPress administrator account that is impacted by this
       error, one of the accounts you created above.
    2. Install and activate the [Health Check & Troubleshooting plugin](https://wordpress.org/plugins/health-check).
    3. Navigate to “Plugins > Health Check & Troubleshooting > Troubleshoot”.
    4. From the same screen click on the “Available Plugins” tab at the top right and
       then click on the “Enable” option next to “Site Kit by Google“.
    5. Check for the same error once more. If the error no longer occurs, please enabe
       your Members and other plugins, one by one, in troubleshooting mode (don’t exit
       troubleshooting mode). After you enable each plugin in troubleshooting mode,
       check the Site Kit dashboard each time for the error. At the stage where the
       error re-appears, you’ll know the last plugin activated. Please share this with
       me.
 * Let me know if you have any questions with the above. Thank you. No issues if
   you wish to take your time with the above, I can keep this topic open for a week.
 *  Thread Starter [Greendroid](https://wordpress.org/support/users/greendroid/)
 * (@greendroid)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/dashboard-throws-error/#post-18140507)
 * Hi [@jamesosborne](https://wordpress.org/support/users/jamesosborne/),
 * thanks for the additional guide for troubelshooting.
   I tried the following:
    - Logged in with a normal user account in which the Site Kit error shows up
    - Verified, that the error still exists
    - Logged in with the administrator account (in which SiteKit is setup and shows
      up without issues) and added the visibility settings of SiteKit with ‘Administrator’.
      So that not only the normal user group as before, but also other Administrator
      can see the dashboard.
      Then I changed the user role of the issuing user to‘
      Administrator’ to be able to perform your mentioned steps.
    - Took a Firefox Incongito Window (I don’t have Chrome) and logged again in 
      with the issuing user (now in role ‘Administrator”) and verified, that the
      issue with SiteKit is still there.
    - Installed the Health-Check plugin and activated it. Then activated the Troubleshoot-
      Modus.
    - Activated the SiteKit plugin
    - Unfortunately here the error still exists. I can not open the SiteKit dashboard,
      the error still shows up.
 * As I have changed the user role of the issuing user to ‘Administrator’ I doubt
   that there is something with the user roles, as the administrator has all rights.
   
   Hope this helps!Kind regards
 *  Plugin Support [James Osborne](https://wordpress.org/support/users/jamesosborne/)
 * (@jamesosborne)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/dashboard-throws-error/#post-18144216)
 * Thanks for sharing the additional info [@greendroid](https://wordpress.org/support/users/greendroid/).
   Based on your observations, I went ahead and created [a GitHub issue](https://github.com/google/site-kit-wp/issues/9702).
   So we can capture more details and try to figure out what’s happening in your
   case, please share the following, which I’ll add to that issue:
    1. A screenshot of the full dashboard as you see it, with the full errors.
    2. Any [browser console errors](https://imgur.com/KyLAzgH.png) that appear when
       checking from a Chrome browser[ incognito window](https://i.imgur.com/ALzgiHp.png).
    3. Do you share an administrator login with other users? I ask as I’m wondering
       if it’s possible another user logged in and made some changes, such as with 
       the Google account used to connect Site Kit.
 * Let me know if you have any questions with the above.
 *  Thread Starter [Greendroid](https://wordpress.org/support/users/greendroid/)
 * (@greendroid)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/dashboard-throws-error/#post-18156009)
 * Hi [@jamesosborne](https://wordpress.org/support/users/jamesosborne/),
 * thanks for the further support. I just did an update of the SiteKit plugin and
   now the error is gone!
   We can again select the SiteKit dashboard and see different
   metrices with ALL users.
 * I checked the change protocol and saw the following:
   [https://github.com/google/site-kit-wp/issues/9548](https://github.com/google/site-kit-wp/issues/9548)
   Based on the video I would guess, that this solved our issue?
 * Thanks for all your work and support!

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/dashboard-throws-error/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/dashboard-throws-error/page/2/?output_format=md)

The topic ‘Dashboard throws error’ is closed to new replies.

 * ![](https://ps.w.org/google-site-kit/assets/icon-256x256.png?rev=3141863)
 * [Site Kit by Google - Analytics, Search Console, AdSense, Speed](https://wordpress.org/plugins/google-site-kit/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-site-kit/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-site-kit/)
 * [Active Topics](https://wordpress.org/support/plugin/google-site-kit/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-site-kit/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-site-kit/reviews/)

 * 16 replies
 * 2 participants
 * Last reply from: [James Osborne](https://wordpress.org/support/users/jamesosborne/)
 * Last activity: [1 year, 6 months ago](https://wordpress.org/support/topic/dashboard-throws-error/page/2/#post-18159863)
 * Status: resolved