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

In 5.8 RC2 on new block widgets screen JS error appears for the text widget #33356

Closed
exstheme opened this issue Jul 12, 2021 · 1 comment
Closed
Labels
[Status] Duplicate Used to indicate that a current issue matches an existing one and can be closed

Comments

@exstheme
Copy link

Description

In 5.8 RC2 on new block widgets screen JS error appears for the text widget:
Error message:

The "text" block was affected by errors and may not function properly. Check the developer tools for more details.

Console error:

widgets.js?ver=5ee29b11357eb747d08e2a33c8307fa7:763 TypeError: wp.editor.initialize is not a function
    at buildEditor (text-widgets.js?ver=5.8-RC2:265)
    at n.initializeEditor (text-widgets.js?ver=5.8-RC2:359)
    at renderWhenAnimationDone (text-widgets.js?ver=5.8-RC2:434)
    at HTMLDocument.handleWidgetAdded (text-widgets.js?ver=5.8-RC2:437)
    at HTMLDocument.dispatch (jquery.js?ver=3.5.1:5430)
    at HTMLDocument.elemData.handle (jquery.js?ver=3.5.1:5234)
    at Object.trigger (jquery.js?ver=3.5.1:8719)
    at HTMLDocument.<anonymous> (jquery.js?ver=3.5.1:8797)
    at Function.each (jquery.js?ver=3.5.1:385)
    at jQuery.fn.init.each (jquery.js?ver=3.5.1:207)

Step-by-step reproduction instructions

  1. Install starter content on version 5.7
  2. Update WordPress to 5.8 RC2 with beta tester plugin
  3. Go to Appearance -> Widgets

Expected behaviour

Working without errors.

Actual behaviour

Error message and console error appears.

Screenshots or screen recording (optional)

https://i.imgur.com/TjJfIqL.png

WordPress information

  • WordPress version: 5.8 RC2
  • Gutenberg version: Not installed - Default used
  • Are all plugins except Gutenberg deactivated? Yes
  • Are you using a default theme (e.g. Twenty Twenty-One)? No

Device information

  • Device: Desktop
  • Operating system: Linux Mint 20
  • Browser: Chromium v90
@kevin940726
Copy link
Member

It's likely a duplicate of #33203 and should already been fixed.

@kevin940726 kevin940726 added the [Status] Duplicate Used to indicate that a current issue matches an existing one and can be closed label Jul 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Status] Duplicate Used to indicate that a current issue matches an existing one and can be closed
Projects
None yet
Development

No branches or pull requests

2 participants