Gutenberg 10.0 and 10.1 WSOD if language is RTL #29248
Labels
[Priority] High
Used to indicate top priority items that need quick attention
[Type] Bug
An existing feature does not function as intended
Description
Both Gutenberg 10.0 and 10.1 produce a WSOD (White Screen of Death) when attempting to open the editor, if the current language is RTL.
The reason for this bug is in Gutenberg's G2 dependency: ItsJonQ/g2#266, which was fixed by ItsJonQ/g2#266. After the bug was found in GB 10.0, Gutenberg was then bumped to use the updated G2 version that's supposed to include the fix (#29224). The fix was cherry-picked to the
release/10.0
branch, and v10.1 was released to include it. However, that didn't work -- the bug is still present in 10.1.One theory is that the cherry-pick didn't update all instances of G2 packages in
package-lock.json
. A new attempt at fixing the issue can be found at #29241.Step-by-step reproduction instructions
wp-admin/options-general.php
)./wp-admin/post-new.php
).Expected behaviour
The editor to work.
Actual behaviour
A White Screen of Death.
The browser console has a number of errors. The relevant one is at the top:
WordPress information
The text was updated successfully, but these errors were encountered: