[Support request] TypeError: Cannot read properties of undefined

Home Forums Support [Support request] TypeError: Cannot read properties of undefined

Home Forums Support TypeError: Cannot read properties of undefined

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1974859
    Nadine

    I’m getting the following error only when I go to the Widgets area.

    TypeError: Cannot read properties of undefined (reading ‘PluginDocumentSettingPanel’)
    at c.value (/wp-content/plugins/gp-premium/dist/editor.js?ver=1629210156:1:2733)
    at Ie (/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:104:8)
    at rh (/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:103:334)
    at zj (/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:228:490)
    at Th (/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:152:223)
    at tj (/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:152:152)
    at Te (/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:146:151)
    at Ja (/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:224:381)
    at md (/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:173:43)
    at /wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:175:222

    #1974903
    David
    Staff
    Customer Support

    Hi there,

    i logged into the staging site and went to Appearance > Widgets and they loaded without any errors… some of them did take an age to load though but after a little while they all appeared correctly (?):

    #1975002
    Nadine

    I just tried it from a different computer and I get the error still

    The editor has encountered an unexpected error.

    Attempt Recovery
    Copy Error

    #1975040
    Ying
    Staff
    Customer Support

    I tried too, it did take a while to load, but all the widgets were fully loaded in the end:
    https://www.screencast.com/t/mC5QawLwjQ

    Have you tried in an incognito window?

    Let me know!

    #1975105
    Nadine

    Same error in an incognito window.

    #1975236
    David
    Staff
    Customer Support

    I tested the site again on Safari, Chrome and Firefox ( MacOS ).
    All of them report this 3 x Warning in the Developers console – relating to this:

    The block "mec/blockeditor-0" is registered with an invalid category "mec.block.category".

    Firefox also throws some other Console Errors but these are related to FF specfic issues with certain methods of Javascript Animations.

    But in all cases the widget area loads correctly and there are visible errors in the backend.

    Very peculiar that we get different results, which makes it difficult to debug.

    Let’s try eliminating an issue with a Legacy widget being displayed in Block Widgets. By disabling Block Widgets – this doc explains how:

    https://docs.generatepress.com/article/disable-the-block-editor-in-widgets/

    #1975767
    Nadine

    That worked, I can access the widgets now!

    #1975843
    David
    Staff
    Customer Support

    Awesome – glad to hear that – pesky Block Widgets 🙂

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