Getting Site Globals -Trying to get property 'handle' of non-object
I have many different "sites" with their own globals. Each site represents a location.
I'm trying to query their globals using
{
globals {
officeInformation {
locationCity
}
}
}
I can see all the auto suggestions so this seems like it should work.
However, I get "error": "Trying to get property 'handle' of non-object"
I see a similar issue here: https://github.com/markhuot/craftql/issues/223
But I'm not entirely sure how this was solved.
Edit: never mind, I can see how the user fixed it. He linked to his commit: https://github.com/markhuot/craftql/commit/5228c8f9b6e5a1cc7753310eced1fa67949f56a1
Hopefully the owner can make this change.
I'll leave this open
I'm facing the same issue. Would be nice to see this fixed.
Running ./craft gc/run is a workaround that seems to fix this issue.