diff --git a/plugins/Annotations/AnnotationList.php b/plugins/Annotations/AnnotationList.php index deca05a5576..2ee58cffb3a 100755 --- a/plugins/Annotations/AnnotationList.php +++ b/plugins/Annotations/AnnotationList.php @@ -316,7 +316,11 @@ private function getAnnotationsForSite() $serialized = Option::get($optionName); if ($serialized !== false) { - $result[$id] = unserialize($serialized); + $result[$id] = @unserialize($serialized); + if(empty($result[$id])) { + // in case unserialize failed + $result[$id] = array(); + } } else { $result[$id] = array(); }