Skip to content

Media Items now returning null on multisite setup #3449

@FridayAgency

Description

@FridayAgency

Description

Since the last update my media items on my second site in a multisite setup are now all returning null. If I roll back to the previous version they all work correctly

Steps to reproduce

""

Additional context

query NewQuery {
page(id: "/", idType: URI) {
title
pageContent {
pagePanels {
... on PageContentPagePanelsHeroHeaderLayout {
copy
image {
node {
mediaItemUrl
altText
authorDatabaseId
authorId
caption
databaseId
date
}
cursor
}
}
}
}
}
}

{
"data": {
"page": {
"title": "Home",
"pageContent": {
"pagePanels": [
{
"copy": "",
"image": null
},
{},
{},
{},
{},
{}
]
}
}
},
"extensions": {
"debug": [],
"queryAnalyzer": {
"keys": "9e3ef64e0d951ddd8b76f8bfa017f9f5a8ed40e240f5075750a19917efc41f4b graphql:Query operation:NewQuery cG9zdDo1",
"keysLength": 106,
"keysCount": 4,
"skippedKeys": "",
"skippedKeysSize": 0,
"skippedKeysCount": 0,
"skippedTypes": []
}
}
}

WPGraphQL Version

2.5.3

WordPress Version

6.9

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