nystudio107 / craft-seomatic

SEOmatic facilitates modern SEO best practices & implementation for Craft CMS 3. It is a turnkey SEO system that is comprehensive, powerful, and flexible.
https://nystudio107.com/plugins/seomatic
Other
162 stars 68 forks source link

Summary from field not working with neo / supertable #1441

Closed Mathias-Syversen closed 3 months ago

Mathias-Syversen commented 3 months ago

When trying to define a neo field as the source for the SEO description under "Content SEO", I get the following error:

[nystudio107\seomatic\helpers\MetaValue::parseMetaString] Error rendering `{{ seomatic.helper.extractSummary(seomatic.helper.extractTextFromField(entry.neo_content)) }}` -> An exception has been thrown during the rendering of a template ("Getting unknown property: verbb\supertable\elements\db\SuperTableBlockQuery::0")

The field in question is a Neo field, and it contains one or more blocks with Super Table fields attached to them.

Versions

khalwat commented 3 months ago

Addressed in the above commits. Let me know how it works out for you:

Craft CMS 4:

You can try it now by setting your semver in your composer.json to look like this:

    "nystudio107/craft-seomatic": "dev-develop-v4 as 4.0.46”,

Then do a composer clear-cache && composer update

…..

Craft CMS 5:

You can try it now by setting your semver in your composer.json to look like this:

    "nystudio107/craft-seomatic": "dev-develop-v5 as 5.0.0-beta.9”,

Then do a composer clear-cache && composer update

khalwat commented 2 months ago

4.0.46 released -> https://github.com/nystudio107/craft-seomatic/releases/tag/4.0.46