-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create Mutation Error: post_exists #209
Comments
+1 to this, and for me I'm seeing it on user-facing content at times. Tried to open a PR but I don't have access to create a branch. This solution should work, as I think the it's possible that Invalidation is trying to call this function from outside an admin context:
Added to line 561 of /wpgraphql-smart-cache/src/Cache/Invalidation.php |
fix coming this morning. so sorry! 🤦🏻♂️ |
@matthewtompkins in the future you can fork and open a PR from your fork. |
@jasonbahl Cheers, and thank you for the quick response! |
This Error happens when performing a mutation.
wp-graphql-smart-cache version: 1.0.3
https://developer.wordpress.org/reference/functions/post_exists/
-- Related: #196
The text was updated successfully, but these errors were encountered: