It's an open_basedir restriction which comes from apache config:
php_admin_value open_basedir "/var/www/vhosts/MainDomain/Domain1/:/tmp/"
So, if you want to access to /var/www/vhosts/MainDomain/httpdocs/ you have to add this path to open_basedir for Domain1 and Domain2 (I'm not sure but in 10.4 there is able to do it from Plesk GUI)
But actually, it's totally wrong because it's a real security threat.