/opt/plesk/php/7.2/bin/php -dmemory_limit=3G bin/magento setup:di:compile

Error screenshot::

enter image description here

Any one can help me

2 Answers 2


please check again what the version PHP is


Try to run /opt/plesk/php/7.2/bin/php -dmemory_limit=3G bin/magento setup:upgrade and then run the di:compile

/opt/plesk/php/7.2/bin/php -dmemory_limit=3G bin/magento setup:di:compile -vvv - It helps you to see the exactly file where you are getting error

  • i am running command after php -dmemory_limit=3G bin/magento setup:upgrade > facing error [ i.sstatic.net/jTS0m.png ]
    – DK Thakur
    Mar 16, 2020 at 4:52
  • Did you try compile with -vvv? it will show from where the error starts. Make sure the vendor/magento/module-eav/Model/Form/Fieldset.php doesn't have any issue at EOD Mar 17, 2020 at 7:35

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.