Run::
/opt/plesk/php/7.2/bin/php -dmemory_limit=3G bin/magento setup:di:compile
Error screenshot::
Any one can help me
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 communityplease 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