PHP Fatal error: Uncaught Error: Call to a member function getPackage() on null in vendor/magento/module-deploy/Package/Processor/PostProcessor/CssUrls.php

rm -rf pub/static/* var/view_preprocessed/pub/*
service php7.0-fpm restart;
cd /var/www/domain.com/web && php7.0 bin/magento setup:static-content:deploy en_US nl_NL -vv;
cd /var/www/domain.com/web && php7.0 bin/magento cache:clean;
cd /var/www/domain.com/web && php7.0 bin/magento cache:flush;
cd /var/www/domain.com/web && chmod 777 -R var pub generated;

Share on facebook
Share on twitter
Share on linkedin
Share on whatsapp