An error occurred while running ‘mapSelect’: Cannot read properties of null (reading: ‘isAuthenticated’)

This error can appear on the Site Kit dashboard due to plugin conflicts or particular Content-Security-Policy (CSP) rules.

You will encounter this error if the following CSP directive has been set up for your site:

script-src 'self' 'unsafe-inline'

This directive will need to be removed to resolve this error. If using the Apache web server, CSP rules may be configured in your site’s `.htaccess file` and need to be changed there. For help reviewing and updating these rules, contact your hosting provider.

If your site is not setting this CSP directive, this error could also be caused by a third-party plugin. For help troubleshooting your plugins in this scenario, please follow our Using Troubleshooting Mode guide.

Cannot read properties of null (reading ‘clearPermissionScopeError’)

NOTE: This error may appear in Site Kit version v1.72.0 or below. Since v1.73.0 a different error message will appear in the same circumstances. See “An error occurred while running ‘mapSelect’: Cannot read properties of null (reading: ‘isAuthenticated’)”.

This error can appear on the Site Kit dashboard due to plugin conflicts or particular Content-Security-Policy (CSP) rules.

You will encounter this error if the following CSP directive has been set up for your site:

script-src 'self' 'unsafe-inline'

This directive will need to be removed to resolve this error. If using the Apache web server, CSP rules may be configured in your site’s `.htaccess file` and need to be changed there. For help reviewing and updating these rules, contact your hosting provider.

If your site is not setting this CSP directive, this error could also be caused by a third-party plugin. For help troubleshooting your plugins in this scenario, please follow our Using Troubleshooting Mode guide.

Error: Looks like your site is not allowed access to Google account data and can’t display stats in the dashboard

In order for Site Kit to retrieve the relevant data required from your Google services and display it within the plugin dashboard, the plugin requires permissions that are granted during setup. 

This error can appear if those Site Kit permissions have been revoked for your site. The error can also appear if more than one WordPress administrator has set up the plugin and one administrator has revoked the permissions. If one administrator disconnects the associated Google account from Site Kit, other user(s) may encounter this notice. 

To resolve this error, click on the Redo the plugin setup button to go through the setup process again and re-grant the necessary permissions.

Insufficient permissions in Analytics: Your Google account does not have sufficient permissions to access Analytics data, so you won’t be able to see stats from it on the Site Kit dashboard

The error as it appears on the main Site Kit dashboard

This error can occur if Site Kit has already been connected to a Universal Analytics property that the Google account that you used to set up Site Kit cannot  access. A similar, but related error, will appear if you chose to edit the Analytics module settings. You can find out more on this here.

To resolve this error, contact the administrator who previously connected Google Analytics within Site Kit. They will need to grant your Site Kit-connected Google account access to the connected Universal Analytics property from analytics.google.com with Viewer permissions or above. More details on Analytics permissions are available in this guide

Note that if the administrator user that is mentioned in this notice is your own WordPress admin user ID, you may have previously connected Google Analytics within Site Kit using a different Google account. Site Kit users should use the same Google account to set up Site Kit and to connect any additional services. If the Google account used to initially set up Site Kit and Analytics is different from the Google account that you now have connected in Site Kit, you can log in to analytics.google.com using the Google account initially used to set up Analytics, and grant access to your other Google account.

Another way to request access is to navigate to the necessary Analytics property from directly within the Site Kit Dashboard:

  1. Scroll down to the Top content over the last ** days widget
  2. Click on the Source: Analytics link

The resulting page will allow you to request access to the connected property. This access request will go to the user who initially connected Google Analytics within Site Kit. Once approved, you will be able to view statistics within the Site Kit Dashboard. 

Request access to a Site Kit connected Analytics property

It looks like the URL is not part of this site, therefore there is no data to display

This message can appear when trying to view Detailed Page Stats within Site Kit for a URL that does not follow the WordPress-specific URL structure. Such URLs can include ones that are:

  • Generated by a multi-language plugin like TranslatePress. These URLs often include a query parameter specific to the page’s language, i.e. www.mysite.com/de/my-page.
  • From plugins that use query vars for routing without registering them in WordPress
  • Modified by a plugin that alters homepage behavior, such as Thrive Architect

Because of the unique path and parameters of these URLs, Site Kit is not able to identify them appropriately as WordPress URLs and therefore cannot display Detailed Page Stats (which includes data from Search Console, Analytics, and PageSpeed Insights) within the Site Kit Dashboard. However, this data could still be available to view for these URLs in your Google account dashboards for Analytics and Search Console.

Max_user_connections

This is a general WordPress error that can display within the Site Kit widgets on your WordPress dashboard or the admin bar if the database connection limit for that site is exceeded. Many plugins require connections being made to the WordPress database, which can contribute to this error. If you have a low limit set or use a higher than average amount of plugins that make these connections then this can lead to the limit being reached.

This error message can vary slightly depending on why it is occurring, but will generally look something like this:

User <database user> already has more than 'max_user_connections' active connections

This error may be caused by your hosting provider’s defined maximum concurrent users, which may need to be increased. Contact your hosting provider for assistance. If you are using a VPS, you may be able to configure or change this yourself.