Skip to content

Bug on FlexContent on WPgraphql ACF #262

@PuspaRaj-Subedi

Description

@PuspaRaj-Subedi

Description

There is a bug on flexContent while using it in wordpress 6.7.1 php 8.2 and WPGraphQL and WPGraphQL ACF new version.

Steps to reproduce

query GetPage($databaseId: ID!, $asPreview: Boolean = true) {
page(id: $databaseId, idType: DATABASE_ID, asPreview: $asPreview) {
title
pageBuilder {
footerDonateCta
footerDonateType
newsletterCallToAction
pageContent {
fieldGroupName
... on pbPageContentDynamicLayout {
flexContent {
fieldGroupName
}
}
}
}
}
}

Additional context

No response

WPGraphQL Version

2.1.1

WordPress Version

6.7.1

PHP Version

8.2

Additional environment details

No response

Please confirm that you have searched existing issues in the repo.

  • Yes

Please confirm that you have disabled ALL plugins except for WPGraphQL.

  • Yes
  • My issue is with compatibility with a specific WordPress plugin, and I have listed all my installed plugins (and version info) above.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    🆕 New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions