Closed jwuclorox closed 1 year ago
I’m running into the same problem, though this error message in the wp-graphql response is really misleading:
{
"errors": [
{
"debugMessage": "Class Array does not exist",
"message": "Internal server error",
"extensions": {
"category": "internal"
},
"locations": [
{
"line": 10,
"column": 7
}
],
"path": [
"login",
"customer",
"downloadableItems"
]
}
],
// data, extensions, etc.
}
Thanks for this report and the PR. We are tracking this internally as BUGS-5812. I don't have an ETA on that at the moment, though today I'll re-roll #208 so it can run against our test suite.
Hodwy folks 👋 the fix from #212 has been included in the 1.2.1 release. Please upgrade and let us know if you are still experiencing issues. Thanks!
We're going to close this issue, please re-open if it persists. Thank you!
After upgrading to 1.1.1, an internal server error gets thrown with the following debug message when executing a graphql query:
Likely caused by the
graphql_dataloader_get_model
filter passing a mixed data type, in this casearray(12)
, but thePantheon_Advanced_Page_Cache\Emitter::filter_graphql_dataloader_get_model
method not handling that before using it to construct aReflectionClass
.Here's a partial stack trace: