Support » Fixing WordPress » Widgets bug

Viewing 15 replies - 1 through 15 (of 15 total)
  • Thread Starter joetawfik

    (@joetawfik)

    Anyone else experiencing this widget bug?

    @joetawfik The widgets page has been replaced in WordPress 5.8. What are you experiencing, just a blank screen?

    Thread Starter joetawfik

    (@joetawfik)

    Yes, I am experiencing just a blank screen

    While on that blank screen, if you open the browser developer tools and switch to the console tab, are there any errors (in red text)?

    Thread Starter joetawfik

    (@joetawfik)

    These are the reported errors on the page:

    react-dom.min.js:125 TypeError: Cannot read property ‘_currentValue’ of undefined
    at Object.W (react-dom.min.js:63)
    at d.useContext (react.min.js:31)
    at vu (block-editor.min.js:12)
    at we (react-dom.min.js:84)
    at zj (react-dom.min.js:226)
    at Th (react-dom.min.js:152)
    at tj (react-dom.min.js:152)
    at Te (react-dom.min.js:146)
    at Ja (react-dom.min.js:224)
    at md (react-dom.min.js:173)
    Me @ react-dom.min.js:125
    react-dom.min.js:161 Uncaught TypeError: Cannot read property ‘_currentValue’ of undefined
    at Object.W (react-dom.min.js:63)
    at d.useContext (react.min.js:31)
    at vu (block-editor.min.js:12)
    at we (react-dom.min.js:84)
    at zj (react-dom.min.js:226)
    at Th (react-dom.min.js:152)
    at tj (react-dom.min.js:152)
    at Te (react-dom.min.js:146)
    at Ja (react-dom.min.js:224)
    at md (react-dom.min.js:173)

    @joetawfik is it a clean installation or did you upgrade? Do you have any plugins or themes installed?

    @talldanwp I think the error points to this file: https://github.com/WordPress/gutenberg/blob/57a3054526fe5a0c56cf5ce7af5e797c37dba084/packages/block-editor/src/components/block-tools/back-compat.js#L15-L16

    • This reply was modified 1 month, 3 weeks ago by zieladam.
    Thread Starter joetawfik

    (@joetawfik)

    It is an upgrade. My backend has worked 100% up until this upgrade. The theme used is X theme. There are plugins but nothing new was added recently. All plugins are up-to-date

    @joetawfik I have the same problem, do you by any chance have the REDUX plugin installed? Try disabling it.

    After I disabled it, the widgets page loaded, but it’s displaying incorrectly, and I’m missing my REDUX specific content. I guess it’s a matter of waiting for it to be updated. My current version is 4.1.29

    • This reply was modified 1 month, 3 weeks ago by dxdesign.
    • This reply was modified 1 month, 3 weeks ago by dxdesign.
    Thread Starter joetawfik

    (@joetawfik)

    @dxdesign I do not have the REDUX plugin installed. It will be difficult to work out which plugin to disable. In any case I need all my plugins to make my site work.

    Moderator Steve Stern (sterndata)

    (@sterndata)

    Forum Moderator & Support Team Volunteer

    This may be a plugin or theme conflict. Please attempt to disable all plugins, and use one of the default (Twenty*) themes. If the problem goes away, enable them one by one to identify the source of your troubles.

    If you can’t find the issue, try installing https://wordpress.org/plugins/classic-widgets/

    WordPress core knowingly broke a lot of backwards compatibility with the new widgets screen. For example, if any widget uses any admin function, it will fatal. That’s only one of many backwards compatibility breaks in this version of WordPress.

    It’s unfortunate and frustrating that you had a working site, updated WordPress core, and now it’s broken. But that’s the reality. Unfortunately, it’s now your job to identify which plugin was broken by this core update, and contact the (likely small business) running that plugin that WP core broke, and hope they have the humanpower and resources available to fix what WordPress core broke.

    You may want to check out the Classic Widgets plugin, which removes the new Widgets screen in WordPress, and puts things back the way they were before the 5.8 update. That will likely resolve the issue for you.

    You can find that here:
    https://wordpress.org/plugins/classic-widgets/

    Thread Starter joetawfik

    (@joetawfik)

    Thank you @johnstonphilip. I added the Classic Widgets plugin and it worked straight away. I figure many people will be affected by this new upgrade. Hopefully, the team at WordPress will fix this issue in future upgrades.

    @joetawfik Glad to hear it helped you! I’m sorry you had to deal with this.

    But unfortantelly the health check doesnt work anymore after having installed the classic widgets plugin.

Viewing 15 replies - 1 through 15 (of 15 total)
  • You must be logged in to reply to this topic.