You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Craft 5 lets matrix blocks have their own URIs. With this type of setup the resulting matrix block element doesn't have a "section" associated with it, and therefore no handle for this line to grab.
This results in the hook 'seomateMeta' erroring.
To reproduce:
Create a section (and entry type for section) as normal
Create a matrix field that has uris (in our case the uri was {owner.uri}/{type|kebab})
Add matrix field to the entry type of the section
Create a new entry in the section, and a new block in the matrix field
Thanks a lot for reporting that! I just tagged SEOMate v. 3.0.0-beta.5, which should resolve the issue.
Additionally, this prodded me to finish implementing a feature that goes nicely with Craft 5's decoupled entry types and Matrix entrification: the ability to be more specific when mapping field profiles to elements via context prefixes such as "section:news" or "entryType:listPage". Read more about that here!
(...this new feature also means that SEOMate now gives you the ability to map field profiles to nested Matrix entry types).
Hi!
Craft 5 lets matrix blocks have their own URIs. With this type of setup the resulting matrix block element doesn't have a "section" associated with it, and therefore no handle for this line to grab.
This results in the
hook 'seomateMeta'
erroring.To reproduce:
{owner.uri}/{type|kebab}
)Full stacktrace below:
Thanks!
The text was updated successfully, but these errors were encountered: