Warning: main(): open_basedir restriction in effect.
That means php open_basedir protection is turned on in the server.
You need to turn it off by making an “exception” for this.
To make the exception, log in to WHM, click “Tweak Security”, then click “configure” below “Php open_basedir Tweak”.
This should clear up the php open base problem.