API: Don't output error messages caused by display_errors=On when using a non-fm...