-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Add Classic - This block has encountered an error and cannot be previewed. #4919
Comments
@thewebarea Thanks for your report. We need a little more informations to reproduce an solve the error. What where your steps to produce this error? |
I just added a Classic Block. |
With Gutenberg version 2.2.0, I'm having the same problem (tested with Safari and Chrome). But as soon as I deactivate the ACF plugin, the Classic block is working again, back on track. So at least we can probably pinpoint the problem to the presence of this plugin. My first small grain of salt... (all new to GitHub here). |
When you use meta boxes, a second version of TinyMCE is loaded conflicting with the one used by default by the classic blocks. This kind of issues will be closed once we merge in Core and align the TinyMCE scripts used. Right now we're loading two scripts. see #3840 |
This will be fixed by #6848 |
I'm having the same problem with a test blog that I have. No other plugins installed expect Gutenberg. Any ideas on how to fix it? It shows the error in every block in every article (published, trashed or drafted). |
|
Same problem here on several sites, already made a new post here to ask for serious investigation on this problem. It occured on 3-4 sites, no matter what configuration. It started about 3-4 releases ago. |
@peterluit @soerencarl I don't understand why they closed this issue ticket. There are a lot of people having the same problem. I even asked the theme creator and he told me that the problems occur from the Gutenberg plugin. They should fix that. I'm having the same problem in two websites right now. If anyone has found a way to fix the problem, they should tell us. I'm only using the Gutenberg plugin on my WordPress website, so deactivating any plugins won't work for me. |
I keep getting these "This block has encountered an error and cannot be previewed." errors too. I haven't been able to get the simple official editable example https://github.com/WordPress/gutenberg-examples/tree/master/03-editable to work. I first had to change |
For me, there was a problem in wp-includes. Downloading a fresh install of Wordpress, and replacing my wp-includes folder solved the problem. Apparently, sometimes the problem is with wp-includes/.htaccess. That wasn't the problem for me, but you might want to check that first. |
Issue Overview
Steps to Reproduce (for bugs)
Expected Behavior
Current Behavior
Possible Solution
Screenshots / Video
Related Issues and/or PRs
Todos
The text was updated successfully, but these errors were encountered: