Support » Plugin: Site Kit by Google - Analytics, Search Console, AdSense, Speed » Incorrect locale information provided
google sitekit plugin is not working i get this error.
Incorrect locale information provided in UserDimensionsPieChart in div in Cell in div in ForwardRef in div in ForwardRef in div in div in Widget in WithWidgetSlug(Widget) in DashboardAllTrafficWidget in WhenAnalyticsActive(DashboardAllTrafficWidget) in WidgetRenderer in div in Cell in WidgetCellWrapper in div in ForwardRef in div in div in ForwardRef in WidgetAreaRenderer in div in WidgetContextRenderer in DashboardMainApp in DashboardEntryPoint in RestoreSnapshots in ErrorHandler in StrictMode in Root
Thanks for getting in touch. So we can determine more on this and ensure Site Kit works as expected please share the following:
- Your Site Health information. You can use this form to share privately if preferred.
- Has this just started to occur recently, with the error appearing after a plugin update or any other changes to your site, such as connecting the Analytics module?
- When checking the Site Kit dashboard from a Chrome browser incognito window do you see any browser console errors on the same screen where this notice appears? If so please share any such errors.
Let me know if you have any questions with the above.
Thanks for the update @downlo. In that case, please follow the steps below, which can help rule out third party plugin conflicts. I noticed you have a couple of plugins installed which could impact Site Kit with particular configurations:
- Login to your site from a Chrome browser incognito window
- Install and activate the Health Check & Troubleshooting plugin.
- Navigate to “Plugins > Health Check & Troubleshooting > Troubleshoot”.
- 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”
- Attempt to view your Site Kit dashboard once more
If the same occurs let me know and we can perform some addition checks.
Thanks for checking @downlo. If you’re encounter the same error, as initially described (Incorrect locale information provided), can you temporarily switch your language within your WordPress settings to another variation of English (Settings > General > Site Language), just temporarily, before checking your Site Kit dashboard once more?
From inspecting your site I also noticed a mixed content console error. While this may not be contributing to the error, you can resolve this and ensure web development best practices by ensuring all resources, in this case an image, are requested using https. There are plugins that you can use for this. You can find them by performing a search for “Mixed content fixer”.
Let me know how you get on with changing your language to English UK or another variation of English. After doing so please share whether you encounter the same error. If so I’ll heck this with the team.
changing the language is the first thing i tried. it still does not work. in the forums thats one of the fixes people tried but unfortunately it does not work for me
Thanks for checking. As you’ve already performed a check using the Health Check & Troubleshooting plugin from a Chrome browser incognito window, and changed your language settings I’ll check your case with the team and enquire about some other possible troubleshooting suggestions. This may include uninstalling and reinstalling the plugin, checking from another site on the same hosting platform or performing a plugin reset.
Please allow me some time to check this. I’ll hopefully have an update for you at some stage today or tomorrow.
Apologies for the delay in responding. We discussed your case the other day and one suggestion is to check does the same occur when using different browsers. While doing so can you share what browsers you tested?
We also have a team member looking into log files on this. I’ll follow up with you here with any updates on this. In the meantime please do let me know if the same error occurs with the browsers, and what browsers you tested.
i already triedthis with firefox and brave browsers all have same problem
Appreciate you performing this check. Based on the same occurring I’ve created a GiTHub issue on the Site Kit plugin repository. You’ll find this below:
While I’ll check this with the team again based on your update, I’ve added some of the troubleshooting you’ve already performed to this GitHub issue. What may be useful, if you wish to troubleshoot this further, is to check the following:
- Does the same occur if you uninstall and then reinstall the plugin?
- Does the same occur if you reset Site Kit and attempt set up once more (Tools > Available Tools > Reset Site Kit)?
I’ll add your response to the above to the related GitHub issue. I also noticed a couple of Google related plugins, including Google Translate. While you’ve already performed a check using the Health Check & Troubleshooting plugin, to help rule out third party plugin conflicts, I will set up an environment similar to your own to try and recreate.
If you area able to perform the checks above let me know how you get on. I’ll keep you updated with further checks on this with the team.
Same issue i tried disabling plugins and still get the same issue
Thanks for checking this. I’ll add this to the related GitHub issue. We also discussed your case yesterday and another suggestion was to check for any browser console errors where you see this error. Can you please share these, as the issue may be number formatting related, with one of the components used in Site Kit. If you do see errors these may reference a
numberFormat error: Intl.NumberFormaterror.
To share the above privately feel free to use the same form previously used.
Just following up with you to check whether you’d had an opportunity to share a screen recording of what you’re experience? Let me know if you have any questions with the above. Once we have this information I can discuss this with the team once more.
- You must be logged in to reply to this topic.