Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid Locale Results in Undefined Error #92

Closed
hoverduck opened this issue Nov 18, 2015 · 0 comments · Fixed by #1576 · 4 remaining pull requests
Closed

Invalid Locale Results in Undefined Error #92

hoverduck opened this issue Nov 18, 2015 · 0 comments · Fixed by #1576 · 4 remaining pull requests
Assignees
Labels
Framework i18n [Pri] Low Address when resources are available. [Type] Bug

Comments

@hoverduck
Copy link
Contributor

Originally reported in 2415025-t a user was having issues setting up a new site. After selecting a plan, the page would hang.

Upon investigating this call to getLanguage was returning null. The user's locale was set to en-gb which is not in the list of locales in the calypso config.

To Reproduce

  • Visit https://your-site/wp-admin/users.php?page=grofiles-user-settings
  • Change your Interface Language to en-gb
  • Now attempt to add a new site via calypso, and after selecting the free plan ( or any plan ) the undefined error will be hit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment