• Resolved Sam

    (@subnoodle)


    Gutenberg throws an error when trying to select a category or opening the page for editing.

    Error-message:

    TypeError: Cannot read properties of undefined (reading 'indexOf')
        at n (https:// some-do.main/wp-includes/js/dist/editor.min.js?ver=1fb5fcf129627da4939e:19:106536)
        at https:// some-do.main/wp-includes/js/dist/editor.min.js?ver=1fb5fcf129627da4939e:19:106654
        at Array.sort (<anonymous>)
        at https:// some-do.main/wp-includes/js/dist/editor.min.js?ver=1fb5fcf129627da4939e:19:106632
        at https:// some-do.main/wp-includes/js/dist/editor.min.js?ver=1fb5fcf129627da4939e:19:106705
        at Object.qt [as useMemo] (https:// some-do.main/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:52025)
        at e.useMemo (https:// some-do.main/wp-includes/js/dist/vendor/react.min.js?ver=18.2.0:10:9875)
        at Vi (https:// some-do.main/wp-includes/js/dist/editor.min.js?ver=1fb5fcf129627da4939e:19:106498)
        at kt (https:// some-do.main/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:47633)
        at gr (https:// some-do.main/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:56448)

    Can you please fix this?

    WordPress-Version 6.2.2 / Theme ENFOLD (current version)

    Thank you, Thomas

    • This topic was modified 1 year, 6 months ago by Sam.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author curtismchale

    (@curtismchale)

    This works just fine on the default WordPress theme. The issue is with one of your themes/plugins.

    Test with the default WordPress theme to see if it’s your theme.

    Turn off all other plugins, then turn them back on one by one to see which plugin creates the conflict.

    Thread Starter Sam

    (@subnoodle)

    I really was in opinion that i did this already.
    I’ll do it twice.

    Plugin Author curtismchale

    (@curtismchale)

    You didn’t say what steps you’d taken so I can only guess what you’ve done.

    I’m not going to download other themes to verify they work. This works with default WordPress and the default themes with lots of content on the site in Gutenberg.

    If you need more support than that you’ll need to get a developer involved to diagnose your issue.

    Thread Starter Sam

    (@subnoodle)

    Dear Curtis,

    thank you for your information.
    We are still up to verify that once more as you told – to be sure.
    The error is quite uncomfortable for me: It’s anywhere in the middle of Gutenberg complied JS-script-bunch.
    But anyhow, many thanks – we’ll dig into it.

    All best, Thomas

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Throws error in Gutenberg Editor’ is closed to new replies.