-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error after clicking create new post (plugin conflict Cloudflare) #8456
Comments
Thank you for including the console error and a screenshot! I am also adding the error text from your screenshot for reference: The editor has encountered an unexpected error. I tested WordPress 4.9.8 and Gutenberg 3.4.0 with the latest stable releases of Chrome 67.0.3396.99 and macOS 10.13.6 and am unable to reproduce the problem in that environment. I noticed you mentioned this happens "when clicking the categories box" but I couldn't see that in your video and you didn't mention it in the steps. Did you mean the "Add New" button? What happens if you click the "Attempt Recovery" button below the error? What happens if you click the "Add New" post button and then reload the page? I saw a similar error reported at #8412 but I am not sure whether the resolution there is related. If you are using CloudFlare, there's a problem with the CloudFlare WAF that they're working on a fix for and there's a workaround here that you can use. |
Hi there! I suspect this probably happens because some plugin or code is:
|
Same here: it seems to be caused by a custom permalink structure/rewrites. by using one of the default settings (without rewrites) the error disappears. Custom Permalink Structure to reproduce the Error
Chromium Version 68.0.3440.75 (Developer Build) built on Debian 9.5, running on Debian 9.5 (64-bit) |
@designsimply the error initial occurred just when I clicked the categories box. After some attempts it started to happen when creating a new post. |
@rgllm yes, there's a workaround you can attempt, it's detailed here #8441 (comment) we contacted Cloudflare to fix these issue globally. I'm going to closing this one as it's a duplicate of other similar issues #8441 |
Describe the bug
After creating a new post when clicking the categories box the editor encounters an unexpected error.
To Reproduce
Steps to reproduce the behavior:
Screenshots
Video: https://imgur.com/a/vnxwWHx
Desktop (please complete the following information):
Error Log
TypeError: Cannot read property 'show_ui' of undefined at site/wp-content/plugins/gutenberg/build/editor/index.js?ver=1533315246:12:302843 at i (site/wp-content/plugins/gutenberg/vendor/lodash.min.59550321.js:6:91) at An.filter (site/wp-content/plugins/gutenberg/vendor/lodash.min.59550321.js:99:338) at site/wp-content/plugins/gutenberg/build/editor/index.js?ver=1533315246:12:302808 at yh (site/wp-content/plugins/gutenberg/vendor/react-dom.min.82e21c65.js:96:396) at lg (site/wp-content/plugins/gutenberg/vendor/react-dom.min.82e21c65.js:120:88) at mg (site/wp-content/plugins/gutenberg/vendor/react-dom.min.82e21c65.js:120:386) at gc (site/wp-content/plugins/gutenberg/vendor/react-dom.min.82e21c65.js:127:202) at vb (site/wp-content/plugins/gutenberg/vendor/react-dom.min.82e21c65.js:126:230) at
ub (site/wp-content/plugins/gutenberg/vendor/react-dom.min.82e21c65.js:126:65)
P.S: I hid the site url
The text was updated successfully, but these errors were encountered: