Php error messages upgrade