1

has anyone encountered this problem?

Merge CSS is not working at all altough minifying does.

I'm still in Developers mode, but it's also not working in Production mode. I tried:

php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy
php bin/magento cache:flush

Any of these helped. I also cleared CSS/JS cache from the backend and cleared var/view_preprocessed manually. I also followed other threads here but no success...

Thank you for help!

  • What error you have ? – St3phan Jan 17 '17 at 17:38
  • I actually don't get any.. Nothing happens - css is still unmerged. Only on php bin/magento setup:di:compile I get 4errors like this: errors during compilation: Magetrend\Email\Block\Email\Block\Sales\Info Incorrect dependency in class Magetrend\Email\Block\Email\Block\Sales\Info in /home/8115764962.cloudwaysapps.com/mjkcnnfnmf/public_html/app/code/Magetrend/Email/Block/Email/Block/Sales/Info.php\Magento\Framework\View\LayoutInterface already exists in context object - But this should be related only to module, not css.. – Andrej Zemplényi Jan 17 '17 at 17:49
  • What php version you use ? – St3phan Jan 17 '17 at 18:12
  • It's PHP7.0, I use Varnish and Redis cache. – Andrej Zemplényi Jan 17 '17 at 18:13
  • I checked db -> "dev/css/merge_css_files 1" so it's active in database but no outcome – Andrej Zemplényi Jan 17 '17 at 18:21

Your Answer

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

Browse other questions tagged or ask your own question.