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
I am using Polylang Version 3.3.1 and WP GraphQL Polylang Version 0.6.0 plugins on my WordPress website. While querying menus using the following code:
I encountered an error and no results were displayed. Upon investigating, I found that the issue is caused by an deprecated function in the MenuItem.php. The function "getArgs()" needs to be updated to "get_args()" to fix the issue.
Please update the WP GraphQL Polylang plugin to fix this issue. Thank you.
I am using Polylang Version 3.3.1 and WP GraphQL Polylang Version 0.6.0 plugins on my WordPress website. While querying menus using the following code:
{
menus {
nodes {
slug
menuItems {
nodes {
uri
}
}
}
}
}
I encountered an error and no results were displayed. Upon investigating, I found that the issue is caused by an deprecated function in the MenuItem.php. The function "getArgs()" needs to be updated to "get_args()" to fix the issue.
Please update the WP GraphQL Polylang plugin to fix this issue. Thank you.
wp-graphql-polylang/src/MenuItem.php
Line 49 in 047847b
The text was updated successfully, but these errors were encountered: