Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Summary from field not working with neo / supertable #1441

Closed
Mathias-Syversen opened this issue Mar 26, 2024 · 2 comments
Closed

Summary from field not working with neo / supertable #1441

Mathias-Syversen opened this issue Mar 26, 2024 · 2 comments
Labels

Comments

@Mathias-Syversen
Copy link

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

  • Plugin version: 4.0.45
  • Craft version: 4.8.5
khalwat added a commit that referenced this issue Mar 26, 2024
… to not render properly by being more explicit, looking only for arrays or `Collections` in `isArrayLike()` ([#1441](#1441))
khalwat added a commit that referenced this issue Mar 26, 2024
… to not render properly by being more explicit, looking only for arrays or `Collections` in `isArrayLike()` ([#1441](#1441))
@khalwat
Copy link
Collaborator

khalwat commented Mar 26, 2024

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 khalwat closed this as completed Mar 26, 2024
@khalwat
Copy link
Collaborator

khalwat commented Apr 10, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants