diff --git a/src/Seo/Seo.php b/src/Seo/Seo.php index 8724b60..c6bc6b4 100644 --- a/src/Seo/Seo.php +++ b/src/Seo/Seo.php @@ -248,7 +248,7 @@ public function image(): string return $this->cleanUp($this->config['default']['image']); } - if (!empty($this->record->getExtras()['image'])) { + if ($this->record instanceof Content && !empty($this->record->getExtras()['image'])) { return $this->record->getExtras()['image']['url']; }