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
Tl;dr when wp-graphql-polylang is enabled, queries with user.role cause an Internal Server Error. This is due to graphqul_connection_query_args expecting an array, even though UserRoleConnectionResolver returns null.
Tl;dr when
wp-graphql-polylang
is enabled, queries withuser.role
cause an Internal Server Error. This is due tographqul_connection_query_args
expecting anarray
, even though UserRoleConnectionResolver returnsnull
.Details here: (wp-graphql/wp-graphql#2048))
The simple solution is to drop the
array
type from the$query_args
argument in__filter_graphql_connection_args()
.The text was updated successfully, but these errors were encountered: