Skip to content

"message": "Cannot read property 'keys' of undefined", #4

@vlance11

Description

@vlance11

It seems this version didn't actually have the Wordpress Schema package included, but when including and trying to pull postmeta data with an ID we receive an error

{
postmeta (post_id: 201004, keys:[]) {
meta_key
}
}

results in

{
"errors": [
{
"message": "Cannot read property 'keys' of undefined",
"locations": [
{
"line": 15,
"column": 3
}
],
"path": [
"postmeta"
],
"extensions": {
"code": "INTERNAL_SERVER_ERROR",
"exception": {
"stacktrace": [

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions