I repeatedly getting the following error while I try to execute
php bin/magento setup:upgrade
or
php -d set_time_limit=3600 -d memory_limit=1024M bin/magento setup:di:compile
Please help.
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.
Sign up to join this communityI think di folder are generate at compile time inside var folder.
delete var/di and var/generation
delete pub/static/* keep .htaccess file only.
if di folder is not available first create di folder inside var folder.
Run command :
php bin/magento setup:di:compile
For Static content deploy quick solution add memory size in the command like:
php -dmemory_limit=6G bin/magento setup:static-content:deploy
change 6G to what you want