*/
public function getCacheTags() {
$cache_tags = parent::getCacheTags();
- $feed = $this->feedStorage->load($this->configuration['feed']);
- return Cache::mergeTags($cache_tags, $feed->getCacheTags());
+ if ($feed = $this->feedStorage->load($this->configuration['feed'])) {
+ $cache_tags = Cache::mergeTags($cache_tags, $feed->getCacheTags());
+ }
+ return $cache_tags;
}
}