4

I am seeing this error in the error console 404 (Not Found) %7B%7BMEDIA_URL%7D%7Dstyles.css. Can anyone offer a solution to fix this?

9

This error related to Sample Data:

1. If you use sample data:

  • Check app/etc/config.php: Magento_ThemeSampleData should be defined ('Magento_ThemeSampleData' => 1)
  • Also check if Sample Data is installed ( main composer.json should require "magento/module-theme-sample-data": "100.1.*" etc )

2. If you don't use Sample Data:

You can remove link to this style from admin panel:

For Magento 2.1.5, please navigate: Content > Configuration, click Edit for Default Store View, scroll to the HTML Head and empty Scripts and Style Sheets field, Save Configuration.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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