Hide ugly PHP warning in case of database connection error