Closed cloudgrayau closed 1 week ago
It appears the last update of seomatic has changed that function. I have reverted seomatic back to 5.1.5 for now.
@khalwat
Yep, their plugin changed the method signatures (a breaking change, I’ve already told Andrew off haha), but will get a patch to address it on my end.
Fixed in 3.0.2
Sorry guys, this is my bad. I didn't realize anyone outside of custom module users were using this interface.
Describe the bug
PHP Compile Error – yii\base\ErrorException Declaration of verbb\events\integrations\seomatic\Event::previewUri(string $sourceHandle, $siteId) must be compatible with nystudio107\seomatic\base\SeoElementInterface::previewUri(string $sourceHandle, $siteId, $typeId = null): ?string
Steps to reproduce
After upgrade to the latest versions of seomatic and events.
Craft CMS version
5.5.0
Plugin version
3.0.1
Multi-site?
Yes
Additional context
No response