WordPress load-styles.php 500 Error in admin page

When you’ve found an admin page with a broken CSS styles in your WordPress admin section, and have tried everything to mitigate it, then you may want to try this.
Before trying this, you may want to disable caching on both the server and client, or disable all plugins first.

Open and add just one line in wp-config.php before require_once:

define('CONCATENATE_SCRIPTS', false);Code language: PHP (php)

Now it’s works fine, at least for me, thanks to https://stackoverflow.com/a/20210232
I have this problem after WordPress 6.x. Didn’t have this error on version 5.x.


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *