Open drewbaker opened 1 year ago
@drewbaker I can't replicate the error on my end. I test it on my local, but it works fine on my local. Could you provide me the Post content so that I can test it correctly. Thanks!
I think this is going to be a hard thing to debug, because it probably depends on the contents of the blocks... next time I run into it I will capture here.
So depending on where you use GutenbergBlocks in the GQL document, it will break nextPost or previousPost queries.
For example,
previousPost
andnextPost
will be null when accessed like this:But if you move
...GutenbergBlocks
to be afternextPost
then they work fine. This might be related this function in our theme, but I doubt it: https://github.com/funkhaus/fuxt-backend/blob/master/functions/gql-functions.php#L229