I had a weird phenomenon on a Multisite installation the other day. I can’t tell you with which update exactly it happened, as I only write a post on that site once every couple of months, but it must have been around the 4.7 or 4.8 upgrade. Here’s what was happening:
I could log into the site fine, I could display all posts in the backend fine, but editing them, or creating a new post (or page) resulted in an unresponsive editor window. Neither the Visual Editor nor the standard Text Editor wanted to accept any keyboard input. Moreover, none of the buttons could be pressed, including the Publish button.
The rest of the admin interface looked and behaved completely normal. I could even write posts from the iOS app, so fundamentally the installation wasn’t broken, just the editor part of it. Made no sense to me at all.
Things I’ve tried
I tried the usual tricks for getting rid of such a spurious affair:
- re-install WordPress manually
- disable all plugins
- use a different default theme (in fact, I’ve tried several)
- try logging in as a different user
- since this was multisite, try writing a post on another site (same issues there)
- since this was an installation managed from Plesk via the WP Toolkit, try more lax security settings
I probably tried other things, but none of it was making that editor working again. I didn’t understand what was going on.
The solution came after extensive research, one part of which lead me to this thread in which Peter Luit explained a related problem that he could fix by defining a constant in the wp-confg.php file. I had never heard of it either:
So this constant isn’t a “fix” as such, it’s part of a debug strategy. But it’s great to have my site back up and running so I can continue to write posts.
Thanks for sharing, Peter!