Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecated function "WPGraphQL\Data\DataSource::resolve_post_object" #382

Open
sdegetaus opened this issue Mar 13, 2024 · 1 comment
Open
Assignees
Labels
enhancement New feature or request 馃殌 Actionable

Comments

@sdegetaus
Copy link

Hello!

We started getting a thousand warnings once we went live. We believe this is the culprit:

image

Our website is in Spanish, so sorry about the "spanglish" 馃榿

User Deprecated: 隆La funci贸n WPGraphQL\Data\DataSource::resolve_post_object ha quedado obsoleta desde la versi贸n 0.8.4! Usa Use $context->get_loader( 'post' )->load_deferred( $id ) instead. en su lugar.

Any chance of fixing this on the production version?

Thanks for you help.

@jasonbahl
Copy link
Contributor

@sdegetaus what version of WPGraphQL for ACF are you using? I would highly recommend updating to WPGraphQL for ACF v2.*+ when you can. This repo will be archived in the not-too-distant future.

I will consider doing a minor release for this, but it has already been publicly stated many times that this repo will no longer be supported long-term in favor of the re-built WPGraphQL for ACF v2.0+ which is available on GitHub (https://github.com/wp-graphql/wpgraphql-acf) and the WordPress.org repository: https://wordpress.org/plugins/wp-graphql/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request 馃殌 Actionable
Projects
None yet
Development

No branches or pull requests

3 participants