Hi,
Would you be able to share the address of your site, it may be something strange with the path it’s receiving as you mention it works on the other sites?
Are those the only messages you receive, or do you have anything relating to files not being found or getting other errors that may appear unrelated?
I too have had this issue. I also have a subdomain multi-site WordPress install. In my case all sites in the network that are using Gutenberg have a broken editor. I’m forced to use the classic editor to do any post editing/creation.
https://www.timnolte.com/
https://www.noltefamily.org/
https://www.faithshaping.org/
Those are all hosted on the network https://www.ndigitals.com/ and domain mapping is being used.
-
This reply was modified 4 years ago by
Tim Nolte.
Hi @clorith ,thanks for the response
> Would you be able to share the address of your site, it may be something strange with
> the path it’s receiving as you mention it works on the other sites?
this website http://www.modasemfrescura.com.br
> Are those the only messages you receive, or do you have anything relating to files
> not being found or getting other errors that may appear unrelated?
Yes, there is an request to https://www.modasemfrescura.com.brs/?ver=1.7 which obviously fails because of the s
added to .br
. At first glance seems related to WPEngine strong passwords MU plugin. I will take a deeper look later and give you more info.
Quite curious, would you be able to do a test run in Troubleshooting Mode and see if it may be a plugin conflict with something else running there (it won’t exclude MU plugins though) ?
If so we made the Health Check plugin for these scenarios, where you can simulate having plugins and themes switched without affecting site visitors, and allowing you to turn on individual plugins one at a time to identify conflicts.
Here’s the log of all the JS errors I’m seeing when loading up a post to edit or create:
load-scripts.php?c=gzip&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-draggable,jquery-ui-slider,jquery-tou&load[]=ch-punch,iris,wp-color-picker&ver=4.9.7:9 JQMIGRATE: Migrate is installed, version 1.4.1
vr-block.min.js?ver=4.9.7:2 Uncaught TypeError: Cannot read property ‘Placeholder’ of undefined
at vr-block.min.js?ver=4.9.7:2
at vr-block.min.js?ver=4.9.7:2
(anonymous) @ vr-block.min.js?ver=4.9.7:2
(anonymous) @ vr-block.min.js?ver=4.9.7:2
index.js?ver=1532145469:1 wp.components.withInstanceId is deprecated and will be removed in 3.5. Please use wp.compose.withInstanceId instead.
u @ index.js?ver=1532145469:1
(anonymous) @ index.js?ver=1532145469:37
387 @ index.js:47
t @ bootstrap d747366ea47814b49e2e:19
386 @ gutenberg.js:4040
t @ bootstrap d747366ea47814b49e2e:19
385 @ gutenberg.js:3978
t @ bootstrap d747366ea47814b49e2e:19
379 @ gutenberg.js:3636
t @ bootstrap d747366ea47814b49e2e:19
375 @ index.js:1
t @ bootstrap d747366ea47814b49e2e:19
374 @ gutenberg.js:3483
t @ bootstrap d747366ea47814b49e2e:19
373 @ gutenberg.js:3473
t @ bootstrap d747366ea47814b49e2e:19
135 @ bootstrap d747366ea47814b49e2e:62
(anonymous) @ bootstrap d747366ea47814b49e2e:62
gutenberg-syndicated-post.js:2 Uncaught TypeError: Cannot read property ‘registerPlugin’ of undefined
at Object.7 (gutenberg-syndicated-post.js:2)
at t (bootstrap f564a9e6ed472b5a7a57:19)
at 1 (bootstrap f564a9e6ed472b5a7a57:62)
at bootstrap f564a9e6ed472b5a7a57:62
7 @ gutenberg-syndicated-post.js:2
t @ bootstrap f564a9e6ed472b5a7a57:19
1 @ bootstrap f564a9e6ed472b5a7a57:62
(anonymous) @ bootstrap f564a9e6ed472b5a7a57:62
gutenberg-status-plugin.js:3 Uncaught TypeError: Cannot read property ‘PluginPostStatusInfo’ of undefined
at Object.8 (gutenberg-status-plugin.js:3)
at n (bootstrap f564a9e6ed472b5a7a57:19)
at 1 (bootstrap f564a9e6ed472b5a7a57:62)
at bootstrap f564a9e6ed472b5a7a57:62
8 @ gutenberg-status-plugin.js:3
n @ bootstrap f564a9e6ed472b5a7a57:19
1 @ bootstrap f564a9e6ed472b5a7a57:62
(anonymous) @ bootstrap f564a9e6ed472b5a7a57:62
fg.js:195 Initialized content script
Does this only happen with Gutenberg, or do you get similar errors with the classic editor as well?
It looks like some arguments are being truncated there in the URL, would you also be able to test if adding the following to your wp-config.php
file helps (right about the line telling you to stop editing in there:
define( 'CONCATENATE_SCRIPTS', false );
So I have the Health Check plugin installed and used that to completely disable all plugins, however I think it was only the specifically enabled plugins for the site since I have a bunch that are Network Enabled. I did change these to all false:
define('CONCATENATE_SCRIPTS', false);
define('COMPRESS_SCRIPTS', false);
define('COMPRESS_CSS', false);
define('ENFORCE_GZIP', false);
I changed my site’s PHP version to 7.2 from 7.0, not that a PHP version would have anything to do with Gutenberg not showing given that is pretty much JavaScript. I’m on SiteGround hosting, and I’ve purged the cache on all sites. For me right now all of my sites are showing a blank editing area instead of Gutenberg.
-
This reply was modified 4 years ago by
Tim Nolte.
Truly odd, do you have another site you could check and see if you are experiencing the same issue there (on the same host or another host)?
Also, just for the fun of it, have you tried completely deleting Gutenberg and re-installing it fresh in case something bad happened during the installation process behind the scenes?
So, it’s strange as I use the Health Check plugin, and turned on Troubleshooting Mode to disable plugins, and the Gutenberg editor was still not working. Well, I just went and performed some plugin and theme updates that popped up. I happened to check the Gutenberg demo page and it was working. There was only one plugin update for EmbedPress. I tracked down the changelog and found that it was the culprit plugin. I’m guessing that the Health Check plugin doesn’t actually disable Network Enabled plugins, so I’ll have to remember that in the future. Maybe I’ll investigate this and submit a PR to make sure the Health Check plugin can disable Network Enabled plugins. Thanks for taking time on this.
Awesome, I’m glad to hear you found the reason and got it sorted 🙂
And yes, we love contributions so please feel free to do so (or just open a ticket for discussion so we can come up with a good approach to this)
First: sorry for not answering before. I had a lot of work in the last weeks.
In my case, the last update (3.5.0) resolved the issued.