-
Notifications
You must be signed in to change notification settings - Fork 22
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Found a duplicate ID in WordPress" #43
Comments
I am having the same issue. |
Experience the same issue with latest gatsby-source-wordpress@5.1.0 and WP Graphql Polylang |
Does it work if you downgrade to Polylang 2.x from 3.x? |
Also experiencing this issue! |
Any update on this issue, we're facing the same issue with |
Hello, for me the problem was the WP GRAPHQL plugin. The default value of posts per page is 100 and if I exceeded this number of menu items, I got a message about duplicate. After changing the value to a larger one based filter, the problem was resolved. To be sure, also change the value of this parameter in the gatsby-source-wordpress configuration https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-source-wordpress/docs/plugin-options.md#schemaperpage
|
Description
We have a GatsbyJS site using gatsby-source-wordpress.
When launching gatsby develop, I get the error message : "
Found a duplicate ID in WordPress - this means you will have fewer nodes in Gatsby than in WordPress. This will need to be resolved in WP by identifying and fixing the underlying bug with your WP plugins or custom code.
"The problem goes away if I disable WP GraphQL Polylang ; of course then my Gatsby translation modules break.
Steps to reproduce
yarn develop
orgatsby develop
Expected result
The develop should launch properly.
Actual result
Get the error message mentioned above, and the dev server breaks.
Environment
Our WP Plugins are :
Advanced Custom Fields, Version 5.9.5
Co-Authors Plus, Version 3.4.3
Genesis Custom Blocks, Version 1.1.0
More Fields, Version 2.1
Polylang, Version 3.0.3
WordPress Importer, Version 0.7
WP Gatsby, Version 1.0.6
WP GraphQL, Version 1.3.2
WP GraphQL Polylang, Version 0.5.0
WP REST - Polylang, Version 1.0.0
Yoast SEO Premium, Version 7.5.2
What has been tried so far
node.databaseId
.)EDIT : Added some details.
The text was updated successfully, but these errors were encountered: