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