Make functions.php even more stable, suppressing some PHP warnings that could be shown to the user.