aerni / statamic-advanced-seo

Comprehensive SEO addon for Statamic with flexibility in mind
https://statamic.com/addons/aerni/advanced-seo
11 stars 6 forks source link

Error after Update #40

Closed janh-kramer closed 1 year ago

janh-kramer commented 1 year ago

Hallo, I just updated statamic from v3.3.43 => v3.3.49 and now I get following error: Declaration of Aerni\AdvancedSeo\Data\SeoDefaultSet::in(string $locale): ?Aerni\AdvancedSeo\Data\SeoVariables must be compatible with Statamic\Contracts\Globals\GlobalSet::in($locale) in vendor / aerni / advanced-seo / src / Data / SeoDefaultSet.php: 141

Do you have any suggestion how I can fix this? Thanks Jan

janh-kramer commented 1 year ago

As a quickfix I downgraded statamic to v3.3.43 and now it's working again. What do I need to do to update?

aerni commented 1 year ago

This error is probably related to this PR: https://github.com/statamic/cms/pull/6938. I will take a look and release a patch when I find some time.

janh-kramer commented 1 year ago

Thanks for the quick fix, it's working again!