2

After updating Magento 2 from version 2.1.7 to 2.1.8 there is no css loading for the backend (front end works fine). How can I get the css to load for the admin?

After deploying static content I got this error:

enter image description here

6
  • 1
    Delete var/view_proprocessed rm -rf var/view_preprocessed from root, run bin/magento setup:di:compile command and try to deploy static again.
    – Greg
    Jan 8, 2018 at 10:55
  • delete view_preprocessed before generating static files Jan 8, 2018 at 10:56
  • @BareFeet setup:static-content:deploy ;-) not di compile Jan 8, 2018 at 10:56
  • @PhilippSander Yes, you are right! I do apologise, also make sure you define the language too. I use en_GB on my site and have to define it every time. E.g. setup:static-content:deploy en_GB. By default it deploys en_US.
    – Greg
    Jan 8, 2018 at 11:02
  • @PhilippSander I deleted view-processed and then ran setup:static-content:deploy en_GB en_US nl_NL but I still have the same error.
    – Rad Factor
    Jan 8, 2018 at 20:31

1 Answer 1

0

I managed to fix this problem by disabling all my extensions and then enabling then one at a time until I found that there was one which was causing the problem.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.