diff --git a/lib/models/OpenGraphURL.class.php b/lib/models/OpenGraphURL.class.php
index fcb495fa521901284581168df5eb0de8a1ec0272..5df5e7f1030bfd6203eb6f7416b8cbd7ed47baec 100644
--- a/lib/models/OpenGraphURL.class.php
+++ b/lib/models/OpenGraphURL.class.php
@@ -172,7 +172,12 @@ class OpenGraphURL extends SimpleORMap
                 ],
             ]);
 
-            $content = file_get_contents($this['url'], false, $context);
+            $content = @file_get_contents($this['url'], false, $context);
+
+            if ($content === false) {
+                return;
+            }
+
             $content = mb_encode_numericentity($content, [0x80, 0xffff, 0, 0xffff], $currentEncoding);
             $old_libxml_error = libxml_use_internal_errors(true);
             $doc = new DOMDocument();