Skip to content
This repository has been archived by the owner on Jul 23, 2024. It is now read-only.

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

Closed
sdegetaus opened this issue Mar 13, 2024 · 2 comments
Closed
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/

@jasonbahl
Copy link
Contributor

This was fixed and released in https://github.com/wp-graphql/wp-graphql-acf/releases/tag/v0.6.2

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

No branches or pull requests

3 participants