-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Gutenberg 3.9: Uncaught TypeError: Cannot read property 'uid' of undefined #10102
Comments
Correction to #2 above: Vanilla TwentySeventeen with child theme from Zac Gordon's course "Theming with Gutenberg", child theme is "2.2 Enqueuing CSS & JS" |
I can confirm i have the same issue with Gutenberg v3.9.0. The JS error is caused by lib/client-assets.php, line 258ff. |
The `wp-data` inline script relies on `window.userSettings.uid`, a property set in the `utils` script. Fixes #10102
* Add utils to the wp-data script dependencies. The `wp-data` inline script relies on `window.userSettings.uid`, a property set in the `utils` script. Fixes #10102 * Remove dependency script and use get_current_user_ID().
I had this error just now until I upgraded my Gutenberg plugin to Version 4.2.0. Thanks. |
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
NOT to see that.
Desktop (please complete the following information):
Smartphone (please complete the following information):
The text was updated successfully, but these errors were encountered: