The correct answer to your question is: use a different error setting on your site.
You can do that in one of 3 ways.
Change the php.ini file, if you have the right to.
error_reporting = E_ERROR
display_errors = Off
Add an .htaccess file to the root directory of your site
You also have to have the right to do this.
Add the following lines:
php_flag display_errors off
php_value error_reporting E_ERROR
Execute the following statements in the beginning of your script
error_reporting(E_ERROR);
ini_set("display_errors","Off");
However, in concurrence with the other answers given, the errors you get are errors and you should resolve them. Most of the time you want to show errors in your development environment and suppress and log them in your production environment. But you always want to solve them.
Check out the PHP manual for more info on errors.