So I could see the actual path that was being used I added:
echo ABSPATH . WPINC . '/load.php';
Just before a line that generates an error.
The open_basedir is :
The code that I added displayed the full path to the file at the top of the page :
The file load.php is in the open_basedir.
I can't figure out why I keep getting this open_basedir warning in the log files!
The log file was up to 6GB before I caught it.
There should be something to limit the size of the error.log file of the web site, but I don't know what it is. Anyone know?
It would be better to fix what ever is wrong so the errors don't occur, but if there's no alternative then I need to do something about the size of the error.log file.