Fix un-necessary PHP Notices being generated in the error log files.