You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Argument 1 passed to WPGraphQL\\Extensions\\Polylang\\PostObject::WPGraphQL\\Extensions\\Polylang\\{closure}() must be an instance of WPGraphQL\\Model\\Post, instance of WPGraphQL\\Model\\PostType given
#64
Open
simplenotezy opened this issue
Nov 24, 2021
· 1 comment
I am getting this error, not sure if it is related:
Argument 1 passed to WPGraphQL\\Extensions\\Polylang\\PostObject::WPGraphQL\\Extensions\\Polylang\\{closure}() must be an instance of WPGraphQL\\Model\\Post, instance of WPGraphQL\\Model\\PostType given, called in /Users/mf/Projects/myproject/wp-content/plugins/wp-graphql/src/Utils/InstrumentSchema.php on line 151
Happened after adding:
translations {
link
language {
locale
}
}
To my page query.
The text was updated successfully, but these errors were encountered:
I am getting this error, not sure if it is related:
Argument 1 passed to WPGraphQL\\Extensions\\Polylang\\PostObject::WPGraphQL\\Extensions\\Polylang\\{closure}() must be an instance of WPGraphQL\\Model\\Post, instance of WPGraphQL\\Model\\PostType given, called in /Users/mf/Projects/myproject/wp-content/plugins/wp-graphql/src/Utils/InstrumentSchema.php on line 151
Happened after adding:
To my
page
query.The text was updated successfully, but these errors were encountered: