- This topic has 7 replies, 3 voices, and was last updated 2 years, 5 months ago by David.
-
AuthorPosts
-
October 25, 2021 at 8:51 am #1974859Nadine
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:222October 25, 2021 at 9:36 am #1974903DavidStaffCustomer SupportHi 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 (?):
October 25, 2021 at 10:58 am #1975002NadineI just tried it from a different computer and I get the error still
The editor has encountered an unexpected error.
Attempt Recovery
Copy ErrorOctober 25, 2021 at 11:27 am #1975040YingStaffCustomer SupportI tried too, it did take a while to load, but all the widgets were fully loaded in the end:
https://www.screencast.com/t/mC5QawLwjQHave you tried in an incognito window?
Let me know!
October 25, 2021 at 12:36 pm #1975105NadineSame error in an incognito window.
October 25, 2021 at 4:00 pm #1975236DavidStaffCustomer SupportI 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/
October 26, 2021 at 6:10 am #1975767NadineThat worked, I can access the widgets now!
October 26, 2021 at 7:20 am #1975843DavidStaffCustomer SupportAwesome – glad to hear that – pesky Block Widgets 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.