I ran /usr/local/psa/admin/sbin/websrvmng --reconfigure-vhost --vhost-name=DOMAIN
.
Then I found every occurance of open_basedir
in the vhost file created in /var/www/vhosts/DOMAIN/conf' folder from running the above command and set them all to
none`.