If you still want to supress the error, you can do so by calling the
error_reporting function. Or, if you want to do it for all files, edit the
php.ini file - check the line beginning with "error_reporting = ".
If this is your production server, turning
display_errors off and
log_errors on in your
php.ini file is recommended, so if there are any errors, your users don't see them but you do. If it's your development server, I'd recommend the opposite - set
error_reporting to
E_ALL,
display_errors to
On and
log_errors to
Off.