Roots Discourse

Old Roots theme breaks wp-admin in WordPress 5.3

We use roots theme in Wordpress and it now has a broken admin in Wordpress 5.3.

Any urgent fix available?

I don’t know if this is the correct solution to the reported error (net::ERR_HTTP2_PROTOCOL_ERROR) but as a temporary fix I added the following line to config/environments/production.php in the sage theme folder…

define( ‘CONCATENATE_SCRIPTS’, false );

why do you say this error? Are you on the right topic?

That’s the error that Chrome reported when I ran into the same issue. Have you checked to see what error is being reported in your case?

thanks. I have to try again. I revert back from backup to previous WP version in the meantime.

I’ve had this happen on three older Sage/Roots sites so far.

In all cases, upgrading WP to 5.3 broke the WP Editor by making it impossible for WP to load all of the relevant CSS.

The fix is to go into:


and comment out the line that hooks the cleanup function roots_clean_style_tag into the style_loader_tag filter like so:

//add_filter('style_loader_tag', 'roots_clean_style_tag');



I hope that helps someone!


Thanks for that fix, helped in on a couple of old sites today. Much appreciated

1 Like

In the newer but still old Soil theme you have to go to /lib/config.php and comment out

This is actually a pretty big issues, cause what happens is none of the plugin’s admin css files are loaded.

As of Soil 3.7.2, nothing should be running from Soil in the wp-admin

So how one can update the WP theme based on roots? Should it not provide an update to fix old themes?