advocatus
Forum Replies Created
-
Sorry for another post, but I thought this might have been a Windows 11 issue. The same bug also appears on my Cloudways staging environment. Do you have a timeframe for when this bug will be fixed?
- This reply was modified 4 months ago by advocatus.
I’m not sure if this is helpful, but I can reproduce the issue consistently on a clean install using LocalWP and WampServer (Windows 11), and in both Chrome and Firefox, to rule out a browser specific problem.On Appearance > Widgets, the browser console reports:
TypeError: Cannot read properties of undefined (reading 'name') at be (data.min.js) at select (data.min.js) … at block-editor.js?ver=3.6.1:1:2619Clicking the stack trace opens
block-editor.js(GeneratePress 3.6.1), where the content-width editor component appears to be usinguseSelect()against editor stores that are undefined in the Widgets editor context.As previously mentioned, unregistering the
generatepress-content-widthcomponent on the Widgets screen via the Code Snippets plugin prevents the error.
I’ve attached a screenshot of the full console error.
https://imgur.com/iOuGGPkThank you for the link. I added the PHP workaround using the Code Snippets plugin, and it resolved the issue. Could you please clarify what functionality is removed or affected by unregistering the generatepress-content-width component on the Widgets screen? I just want to understand the impact of this workaround before purchasing.
- This reply was modified 4 months ago by advocatus.