diff --git a/library/SimplePie/IRI.php b/library/SimplePie/IRI.php
index <HASH>..<HASH> 100644
--- a/library/SimplePie/IRI.php
+++ b/library/SimplePie/IRI.php
@@ -390,8 +390,8 @@ class SimplePie_IRI
 		}
 		else
 		{
-			trigger_error('This should never happen', E_USER_ERROR);
-			die;
+			// This can occur when a paragraph is accidentally parsed as a URI
+			return false;
 		}
 	}
 
@@ -824,6 +824,10 @@ class SimplePie_IRI
 		else
 		{
 			$parsed = $this->parse_iri((string) $iri);
+			if (!$parsed)
+			{
+				return false;
+			}
 
 			$return = $this->set_scheme($parsed['scheme'])
 				&& $this->set_authority($parsed['authority'])
Ensure "this should never happen" doesn't

Fixes #<I>