Skip Navigation

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Tagged: 

This topic contains 1 reply, has 2 voices.

Last updated by Dražen 1 year, 4 months ago.

Assisted by: Dražen.

Author Posts
January 19, 2024 at 2:46 pm #15205355

arthurI-2

Has anyone fixed this issue?

https://wpml.org/errata/wpml-graphql-fails-to-fetch-single-custom-post-type-by-slug-based/

query NewQuery {

nodeByUri(uri: "hat-trick") {
id
... on Post {
id
title
uri
}
}

}

January 22, 2024 at 8:28 am #15209739

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hello,

as it says in our errata status, it is still an issue and is being worked on.

It is to be included in the net WPML GraphQL version, but I can not give any ETA. I will update you when this is fixed or you can check from time to errata link if it is fixed, and in the meantime, you can use a workaround from errata.

Regards,
Drazen