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

Social Image fails via GraphQL when using Inherit or From Field and custom asset container #342

Open
sebszocinski opened this issue Jul 30, 2024 · 0 comments

Comments

@sebszocinski
Copy link
Sponsor

Statamic 5.14.0
SEO Pro 6.0.3

Setting the Social Image field to either "Inherit" or "From Field" and trying to query it via GraphQL gives the following error. We have set an assets container in seo-pro.php config and this appears to work fine if we choose "Custom Image".

Error message:

    {
      "message": "Internal server error",
      "locations": [
        {
          "line": 9,
          "column": 7
        }
      ],
      "path": [
        "entry",
        "seo",
        "image"
      ],
      "extensions": {
        "debugMessage": "Call to undefined method Statamic\\Assets\\Asset::value()",
        "file": "/****/vendor/statamic/cms/src/Data/HasAugmentedInstance.php",
        "line": 133....
       ```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant