Description
Preliminary Checks
- This issue is not a duplicate. Before opening a new issue, please search existing issues: https://github.com/gatsbyjs/gatsby/issues
- This issue is not a question, feature request, RFC, or anything other than a bug report directly related to Gatsby. Please post those things in GitHub Discussions: https://github.com/gatsbyjs/gatsby/discussions
Description
Hello!
After upgrading wordpress, gatsby-source-wordpress and woocommerce, i ended up with this:
"gatsby-source-wordpress": "^7.15.0",
"gatsby": "^5.14.3",
"react": "^18.1.0",
And in the wordpress side I have:
WooCommerce v 9.8.2
WP Gatsby v 2.3.3
WPGraphQL v 2.3.0
WPGraphQL WooCommerce (WooGraphQL) v 0.19.0
In the wordpress side everything is fine, i can go to GraphQL IDE and do my queries to retrieve my products and all their attributes. All the attributes have pageInfo on their structure.
The error occurs when I try to run the project, like gatsby develop, but some of these error and warnings appears:
info gatsby-source-wordpress
This is either your first build or the cache was cleared.
Please wait while your WordPress data is synced to your Gatsby cache.
Maybe now's a good time to get up and stretch? :D
warn gatsby-source-wordpress Unable to find a single Node query for PaymentGateway
This type will not be available in Gatsby.
warn gatsby-source-wordpress Unable to find a single Node query for ProductUnion
This type will not be available in Gatsby.
success gatsby-source-wordpress ingest WPGraphQL schema - 2.557s
success createSchemaCustomization - 3.886s
success gatsby-source-wordpress fetch root fields - 1.075s
success gatsby-source-wordpress PaMarca - 1.621s - fetched 11
success gatsby-source-wordpress PaCombustivel - 1.847s - fetched 6
success gatsby-source-wordpress PaKm - 4.070s - fetched 43
success gatsby-source-wordpress PaModelo - 5.311s - fetched 52
success gatsby-source-wordpress PaMesAno - 5.941s - fetched 63
success gatsby-source-wordpress PaVideo - 0.824s - fetched 2
success gatsby-source-wordpress Category - 0.868s - fetched 1
success gatsby-source-wordpress Coupon - 1.093s - fetched 0
success gatsby-source-wordpress ContentType - 1.596s - fetched 4
success gatsby-source-wordpress PaMotor - 3.076s - fetched 27
success gatsby-source-wordpress Menu - 0.570s - fetched 0
success gatsby-source-wordpress MenuItem - 0.634s - fetched 0
success gatsby-source-wordpress Customer - 0.664s - fetched 0
success gatsby-source-wordpress Order - 0.699s - fetched 0
success gatsby-source-wordpress PostFormat - 0.810s - fetched 0
success gatsby-source-wordpress Page - 0.892s - fetched 5
success gatsby-source-wordpress Post - 0.962s - fetched 1
success gatsby-source-wordpress ProductCategory - 1.630s - fetched 9
success gatsby-source-wordpress ProductTag - 14.451s - fetched 175
success gatsby-source-wordpress Refund - 0.654s - fetched 0
success gatsby-source-wordpress ShippingClass - 0.671s - fetched 0
success gatsby-source-wordpress ShippingMethod - 0.772s - fetched 3
success gatsby-source-wordpress Tag - 0.792s - fetched 0
success gatsby-source-wordpress ProductType - 1.287s - fetched 4
success gatsby-source-wordpress TaxRate - 0.554s - fetched 0
success gatsby-source-wordpress Taxonomy - 0.682s - fetched 6
success gatsby-source-wordpress User - 0.716s - fetched 1
success gatsby-source-wordpress VisibleProduct - 0.750s - fetched 9
success gatsby-source-wordpress MediaItem - 0.273s - fetched 0
success gatsby-source-wordpress creating nodes - 0.275s
success gatsby-source-wordpress fetching nodes - 26.506s - 422 total
success Checking for changed pages - 0.000s
success source and transform nodes - 26.899s
success building schema - 0.558s
success createPages - 0.002s
success createPagesStatefully - 0.055s
info Total nodes: 801, SitePage nodes: 4 (use --verbose for breakdown)
success Checking for changed pages - 0.000s
success write out redirect data - 0.001s
success Build manifest and related icons - 0.031s
success onPostBootstrap - 0.035s
info bootstrap finished - 36.021s
success onPreExtractQueries - 0.003s
ERROR UNKNOWN
Missing onError handler for invocation 'extracting-queries', error was 'Error: Interface field WpConnectionType.nodes expected but WpUserToCommentConnectionType does not provide it.
Interface field WpConnectionType.nodes expected but WpMediaItemToCommentConnectionType does not provide it.
Interface field WpConnectionType.nodes expected but WpPageToCommentConnectionType does not provide it.
Interface field WpConnectionType.nodes expected but WpPostToCommentConnectionType does not provide it.
Interface field WpConnectionType.nodes expected but WpUserToUserRoleConnectionType does not provide it.
Interface field WpPaCombustivelConnectionType.pageInfo expected but WpProductToPaCombustivelConnectionType does not provide it.
Interface field WpConnectionType.pageInfo expected but WpProductToPaCombustivelConnectionType does not provide it.
Interface field WpPaKmConnectionType.pageInfo expected but WpProductToPaKmConnectionType does not provide it.
Interface field WpConnectionType.pageInfo expected but WpProductToPaKmConnectionType does not provide it.
Interface field WpConnectionType.pageInfo expected but WpProductVariationToVariationAttributeConnectionType does not provide it.
Interface field WpConnectionType.pageInfo expected but WpProductWithAttributesToVariationAttributeConnectionType does not provide it.
Interface field WpConnectionType.pageInfo expected but WpProductWithVariationsToProductVariationConnectionType does not provide it.
Interface field WpPaMarcaConnectionType.pageInfo expected but WpProductToPaMarcaConnectionType does not provide it.
Interface field WpConnectionType.pageInfo expected but WpProductToPaMarcaConnectionType does not provide it.
Interface field WpPaMesAnoConnectionType.pageInfo expected but WpProductToPaMesAnoConnectionType does not provide it.
Interface field WpConnectionType.pageInfo expected but WpProductToPaMesAnoConnectionType does not provide it.
Interface field WpPaModeloConnectionType.pageInfo expected but WpProductToPaModeloConnectionType does not provide it.
Interface field WpConnectionType.pageInfo expected but WpProductToPaModeloConnectionType does not provide it.
Interface field WpPaMotorConnectionType.pageInfo expected but WpProductToPaMotorConnectionType does not provide it.
Interface field WpConnectionType.pageInfo expected but WpProductToPaMotorConnectionType does not provide it.
Interface field WpPaVideoConnectionType.pageInfo expected but WpProductToPaVideoConnectionType does not provide it.
Interface field WpConnectionType.pageInfo expected but WpProductToPaVideoConnectionType does not provide it.
Interface field WpConnectionType.pageInfo expected but WpProductToProductConnectionType does not provide it.
Interface field WpConnectionType.pageInfo expected but WpProductToProductAttributeConnectionType does not provide it.
Interface field WpMediaItemConnectionType.pageInfo expected but WpProductToMediaItemConnectionType does not provide it.
Interface field WpConnectionType.pageInfo expected but WpProductToMediaItemConnectionType does not provide it.
Interface field WpProductCategoryConnectionType.pageInfo expected but WpProductToProductCategoryConnectionType does not provide it.
Interface field WpConnectionType.pageInfo expected but WpProductToProductCategoryConnectionType does not provide it.
Interface field WpProductTagConnectionType.pageInfo expected but WpProductToProductTagConnectionType does not provide it.
Interface field WpConnectionType.pageInfo expected but WpProductToProductTagConnectionType does not provide it.
Interface field WpProductTypeConnectionType.pageInfo expected but WpProductToProductTypeConnectionType does not provide it.
Interface field WpConnectionType.pageInfo expected but WpProductToProductTypeConnectionType does not provide it.
Interface field WpProductUnionConnectionType.pageInfo expected but WpProductToProductUnionConnectionType does not provide it.
Interface field WpConnectionType.pageInfo expected but WpProductToProductUnionConnectionType does not provide it.
Interface field WpConnectionType.nodes expected but WpProductToCommentConnectionType does not provide it.
Interface field WpConnectionType.pageInfo expected but WpProductToCommentConnectionType does not provide it.
Interface field WpShippingClassConnectionType.pageInfo expected but WpProductToShippingClassConnectionType does not provide it.
Interface field WpConnectionType.pageInfo expected but WpProductToShippingClassConnectionType does not provide it.
Interface field WpTermNodeConnectionType.pageInfo expected but WpProductToTermNodeConnectionType does not provide it.
Interface field WpConnectionType.pageInfo expected but WpProductToTermNodeConnectionType does not provide it.
Interface field WpProductUnionConnectionType.pageInfo expected but WpProductToUpsellConnectionType does not provide it.
Interface field WpConnectionType.pageInfo expected but WpProductToUpsellConnectionType does not provide it.
Interface field WpVisibleProductConnectionType.pageInfo expected but WpProductToVisibleProductConnectionType does not provide it.
Interface field WpConnectionType.pageInfo expected but WpProductToVisibleProductConnectionType does not provide it.
Interface field WpConnectionType.nodes expected but WpOrderToCommentConnectionType does not provide it.'. Stacktrace was 'Error: Interface field WpConnectionType.nodes expected but WpUserToCommentConnectionType does not
provide it.
Interface field WpConnectionType.nodes expected but WpMediaItemToCommentConnectionType does not provide it.
Interface field WpConnectionType.nodes expected but WpPageToCommentConnectionType does not provide it.
Interface field WpConnectionType.nodes expected but WpPostToCommentConnectionType does not provide it.
Interface field WpConnectionType.nodes expected but WpUserToUserRoleConnectionType does not provide it.
Interface field WpPaCombustivelConnectionType.pageInfo expected but WpProductToPaCombustivelConnectionType does not provide it.
Interface field WpConnectionType.pageInfo expected but WpProductToPaCombustivelConnectionType does not provide it.
Interface field WpPaKmConnectionType.pageInfo expected but WpProductToPaKmConnectionType does not provide it.
Interface field WpConnectionType.pageInfo expected but WpProductToPaKmConnectionType does not provide it.
Interface field WpConnectionType.pageInfo expected but WpProductVariationToVariationAttributeConnectionType does not provide it.
Interface field WpConnectionType.pageInfo expected but WpProductWithAttributesToVariationAttributeConnectionType does not provide it.
Interface field WpConnectionType.pageInfo expected but WpProductWithVariationsToProductVariationConnectionType does not provide it.
Interface field WpPaMarcaConnectionType.pageInfo expected but WpProductToPaMarcaConnectionType does not provide it.
Interface field WpConnectionType.pageInfo expected but WpProductToPaMarcaConnectionType does not provide it.
Interface field WpPaMesAnoConnectionType.pageInfo expected but WpProductToPaMesAnoConnectionType does not provide it.
Interface field WpConnectionType.pageInfo expected but WpProductToPaMesAnoConnectionType does not provide it.
Interface field WpPaModeloConnectionType.pageInfo expected but WpProductToPaModeloConnectionType does not provide it.
Interface field WpConnectionType.pageInfo expected but WpProductToPaModeloConnectionType does not provide it.
Interface field WpPaMotorConnectionType.pageInfo expected but WpProductToPaMotorConnectionType does not provide it.
Interface field WpConnectionType.pageInfo expected but WpProductToPaMotorConnectionType does not provide it.
Interface field WpPaVideoConnectionType.pageInfo expected but WpProductToPaVideoConnectionType does not provide it.
Interface field WpConnectionType.pageInfo expected but WpProductToPaVideoConnectionType does not provide it.
Interface field WpConnectionType.pageInfo expected but WpProductToProductConnectionType does not provide it.
Interface field WpConnectionType.pageInfo expected but WpProductToProductAttributeConnectionType does not provide it.
Interface field WpMediaItemConnectionType.pageInfo expected but WpProductToMediaItemConnectionType does not provide it.
Interface field WpConnectionType.pageInfo expected but WpProductToMediaItemConnectionType does not provide it.
Interface field WpProductCategoryConnectionType.pageInfo expected but WpProductToProductCategoryConnectionType does not provide it.
Interface field WpConnectionType.pageInfo expected but WpProductToProductCategoryConnectionType does not provide it.
Interface field WpProductTagConnectionType.pageInfo expected but WpProductToProductTagConnectionType does not provide it.
Interface field WpConnectionType.pageInfo expected but WpProductToProductTagConnectionType does not provide it.
Interface field WpProductTypeConnectionType.pageInfo expected but WpProductToProductTypeConnectionType does not provide it.
Interface field WpConnectionType.pageInfo expected but WpProductToProductTypeConnectionType does not provide it.
Interface field WpProductUnionConnectionType.pageInfo expected but WpProductToProductUnionConnectionType does not provide it.
Interface field WpConnectionType.pageInfo expected but WpProductToProductUnionConnectionType does not provide it.
Interface field WpConnectionType.nodes expected but WpProductToCommentConnectionType does not provide it.
Interface field WpConnectionType.pageInfo expected but WpProductToCommentConnectionType does not provide it.
Interface field WpShippingClassConnectionType.pageInfo expected but WpProductToShippingClassConnectionType does not provide it.
Interface field WpConnectionType.pageInfo expected but WpProductToShippingClassConnectionType does not provide it.
Interface field WpTermNodeConnectionType.pageInfo expected but WpProductToTermNodeConnectionType does not provide it.
Interface field WpConnectionType.pageInfo expected but WpProductToTermNodeConnectionType does not provide it.
Interface field WpProductUnionConnectionType.pageInfo expected but WpProductToUpsellConnectionType does not provide it.
Interface field WpConnectionType.pageInfo expected but WpProductToUpsellConnectionType does not provide it.
Interface field WpVisibleProductConnectionType.pageInfo expected but WpProductToVisibleProductConnectionType does not provide it.
Interface field WpConnectionType.pageInfo expected but WpProductToVisibleProductConnectionType does not provide it.
Interface field WpConnectionType.nodes expected but WpOrderToCommentConnectionType does not provide it.
⠸ extract queries from components
And it gets stuck in the loop.
Reproduction Link
https://codesandbox.io/p/sandbox/github/gatsbyjs/gatsby-starter-minimal
Steps to Reproduce
- gatsby develop
Expected Result
Run all queries and mount the structure without any errors.
Actual Result
Retrieve info but cannot mount structure in the gatsby side.
Environment
System:
OS: Windows 11 10.0.26100
CPU: (28) x64 Intel(R) Core(TM) i7-14700
Binaries:
Node: 18.20.3 - C:\Program Files\nodejs\node.EXE
npm: 10.7.0 - C:\Program Files\nodejs\npm.CMD
Languages:
Python: 2.7
Browsers:
Edge: Chromium (135.0.3179.54)
npmPackages:
gatsby: ^5.14.3 => 5.14.3
gatsby-background-image: ^1.3.1 => 1.6.0
gatsby-image: ^2.5.0 => 2.11.0
gatsby-plugin-advanced-sitemap: ^2.1.0 => 2.1.0
gatsby-plugin-breakpoints: ^1.2.6 => 1.3.11
gatsby-plugin-csp: ^1.1.4 => 1.1.4
gatsby-plugin-google-tagmanager: ^5.14.0 => 5.14.0
gatsby-plugin-htaccess: ^1.4.0 => 1.4.0
gatsby-plugin-image: ^3.14.0 => 3.14.0
gatsby-plugin-manifest: ^5.14.0 => 5.14.0
gatsby-plugin-offline: ^6.14.0 => 6.14.0
gatsby-plugin-react-helmet: ^6.14.0 => 6.14.0
gatsby-plugin-robots-txt: ^1.5.3 => 1.8.0
gatsby-plugin-sass: ^6.14.0 => 6.14.0
gatsby-plugin-sharp: ^5.14.0 => 5.14.0
gatsby-plugin-styled-components: ^6.14.0 => 6.14.0
gatsby-plugin-zopfli: ^2.0.0 => 2.0.0
gatsby-remark-images: ^7.14.0 => 7.14.0
gatsby-source-filesystem: ^5.14.0 => 5.14.0
gatsby-source-wordpress: ^7.15.0 => 7.15.0
gatsby-transformer-json: ^5.14.0 => 5.14.0
gatsby-transformer-remark: ^6.14.0 => 6.14.0
gatsby-transformer-sharp: ^5.14.0 => 5.14.0
npmGlobalPackages:
gatsby-cli: 5.14.0
Config Flags
No, I don't