Closed nizzac closed 3 years ago
To fix support for v2 (and keep support for v1).
setOgImageDimensions
$filePath
variable set to:
$filePath = base_path(config('system.storage.media.path', config('cms.storage.media.path')).$this->seoTag->og_image);
Thank you for this. Fixed in version 1.3.4.
The SeoTags component attempts the get og image dimensions in the
setOgImageDimensions()
method.It attempts to get the path for the media directory using
config('cms.storage.media.path')
but this has since been changed in OctoberCMS v2 to
config('system.storage.media.path')
This causes the
og_image_width
andog_image_height
properties not to be set so throws an error on the frontend when an seo image is added.