Dashboard in plain text / PHP errors
-
Hello!
I usually respond here and help out, but today I need your help. In all my years of WordPress, I haven’t encountered this problem, and I can’t seem to fix it properly.
So, today I logged in on a website I’m working on, and the Dashboard went crazy. It could be related to the 4.5.3 update, since I didn’t work on it after the update; otherwise, I don’t know what happened. It broke itself or something. The site (front-end) works fine.
Here’s how it looks and the errors – https://i.imgur.com/3sW8BCX.png
What did I do:
- Disabled all plugins – didn’t solve the issue;
- Switched to another theme – didn’t solve the issue;
- Downloaded WordPress and compared the files from the error list with the ones from the WordPress download – the lines are the same;
- Replaced those files with the ones from the new WordPress download – didn’t solve the issue;
- Reinstalled WordPress from the Dashboard – didn’t solve the issue;
- Checked the error log from cPanel – no errors;
- Finally, I added this in wp-config.php:
define('SCRIPT_DEBUG', true);
– this solves the issue (that’s why I could reinstall WordPress from my Dashboard).
So, the last solution worked. All the errors disappeared and everything works fine. If I remove it, the “party” starts again, of course.
Does anyone have some new ideas on fixing this, or what could cause it? I mean, I could just leave
define('SCRIPT_DEBUG', true);
, but I’d like to properly fix those issues; it bugs me that it doesn’t work as it’s supposed to.I can’t really provide you the URL to the website, since it’s still under development and has a Coming Soon page, and the owner already posted it on several places, so I don’t want the visitors to see the “mess” inside it. But the front-end works anyway, so there’s nothing to check out, I believe.
Any ideas would be appreciated!
Thank you!
- The topic ‘Dashboard in plain text / PHP errors’ is closed to new replies.