/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

  • Hi, thanks for you reply > my PHP ver: prnt.sc/rh10w7
    – DK Thakur
    Commented Mar 16, 2020 at 8:24
  • You need to open and check carefully the "file vendoer/magento/module-eav/Model/Form/Fieldset.php". Maybe there are some syntax errors or ''}'' is missing at the end of the file Commented Mar 17, 2020 at 4:56
  • Thanks for reply @litExtension Magento Migration > one more que. any idea > magento.stackexchange.com/questions/307413/…
    – DK Thakur
    Commented Mar 19, 2020 at 4:38
  • Yes is syntax error but after solve error is facing new error > prnt.sc/riummh
    – DK Thakur
    Commented Mar 19, 2020 at 8:10
  • Check status for module my temando_shipping module is disable
    – DK Thakur
    Commented Mar 19, 2020 at 8:11

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
    Commented 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 Commented 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.