main.css is not found after update to 1.8.3.3
-
We are running WordPress 5.7.2 with blocksy v1.7.64.
After upgrading to v1.8.3.3 the layout is broken and in chrome console I get this error:
> Refused to apply style from ‘https://…/wp-content/themes/blocksy/static/bundle/main.css?ver=5.7.2’ because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME checking is enabled.
Looks like the stylesheet is inserted with this line:
<link rel=”stylesheet” id=”ct-main-styles-css” href=”https://…/wp-content/themes/blocksy/static/bundle/main.css?ver=5.7.2″ media=”all”>
Unfortunately the file main.css does not exist is this folder.
I copied main.min.css to the same folder and now the layout works as expected.
Is there a better way to fix this problem? (since it’s probably not update-safe)
- The topic ‘main.css is not found after update to 1.8.3.3’ is closed to new replies.