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
Labels
bug Something isn't working graphql

Comments

@sebszocinski
Copy link

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....
       ```
@duncanmcclean duncanmcclean added bug Something isn't working graphql labels Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working graphql
Projects
None yet
Development

No branches or pull requests

2 participants