fixes for php_errors.log notices