I just started getting some warnings on both the front and the back (using Wordpress) of the site I'm working on. Error reporting is disabled using error_reporting(0); placed at the beginning of the wp-config.php file. I tried to put it in the main index.php file, but to no avail.
Warnings have just begun to appear today, and they do not appear in the live version of the site, which is at least 99% of the same code, the same database.
Here are the errors (submenu name domain.com):
Warning: is_dir () [function.is-dir]: current open_basedir restriction. File (/) is not included in the valid paths: (/var/www/virtual/domain.com/:/usr/share/php/) in /var/www/virtual/domain.com/htdocs/wp -includes / functions .php on line 2104
Warning: file_exists () [function.file-exists]: current open_basedir restriction. File (/) is not included in the valid paths: (/var/www/virtual/domain.com/:/usr/share/php/) in /var/www/virtual/domain.com/htdocs/wp -includes / functions .php on line 2095
Warning: is_dir () [function.is-dir]: current open_basedir restriction. File (/) is not included in the valid paths: (/var/www/virtual/domain.com/:/usr/share/php/) in /var/www/virtual/domain.com/htdocs/wp -includes / functions .php on line 2104
Why am I receiving these messages? Should error_reporting(0) disable all warnings?
source share