{"record":{"id":"f13df91b65c8b381","repo":"gatsbyjs/gatsby","slug":"your-version-of-wpgatsby-is-too-old-to-determine-i","errorCode":null,"errorMessage":"Your version of WPGatsby is too old to determine if we're compatible.${genericDownloadMessage}","messagePattern":"Your version of WPGatsby is too old to determine if we're compatible\\.(.+?)","errorType":"panic","errorClass":null,"httpStatus":null,"severity":"error","filePath":"packages/gatsby-source-wordpress/src/steps/check-plugin-requirements.ts","lineNumber":101,"sourceCode":"      `,\n      variables: {\n        wpgqlVersion: supportedWpPluginVersions.WPGraphQL.version,\n        wpgatsbyVersion: supportedWpPluginVersions.WPGatsby.version,\n      },\n      panicOnError: false,\n      throwGqlErrors: true,\n      isFirstRequest: true,\n    })\n\n    wpgqlIsSatisfied = data.wpGatsbyCompatibility.satisfies.wpGQL\n    wpGatsbyIsSatisfied = data.wpGatsbyCompatibility.satisfies.wpGatsby\n  } catch (e) {\n    if (\n      e.message.includes(\n        `Cannot query field \"wpGatsbyCompatibility\" on type \"RootQuery\".`\n      )\n    ) {\n      helpers.reporter.panic(\n        formatLogMessage(\n          `Your version of WPGatsby is too old to determine if we're compatible.${genericDownloadMessage}`\n        )\n      )\n    } else {\n      helpers.reporter.panic(e.message)\n    }\n  }\n\n  const shouldDisplayWPGraphQLReason =\n    !wpgqlIsSatisfied && supportedWpPluginVersions.WPGraphQL.reason\n\n  const shouldDisplayWPGatsbyReason =\n    !wpGatsbyIsSatisfied && supportedWpPluginVersions.WPGatsby.reason\n\n  const shouldDisplayAtleastOneReason =\n    shouldDisplayWPGraphQLReason || shouldDisplayWPGatsbyReason\n","sourceCodeStart":83,"sourceCodeEnd":119,"githubUrl":"https://github.com/gatsbyjs/gatsby/blob/8b06340921ffdf23125a365b9c9923690cb62ce6/packages/gatsby-source-wordpress/src/steps/check-plugin-requirements.ts#L83-L119","documentation":"areRemotePluginVersionsSatisfied queries wpGatsbyCompatibility on the WP site; if the GraphQL error indicates that field does not exist, the installed WPGatsby plugin predates that API. The panic tells the user their WPGatsby version is too old to even evaluate compatibility and to update it.","triggerScenarios":"Thrown at packages/gatsby-source-wordpress/src/steps/check-plugin-requirements.ts:101 when the library encounters an invalid state.","commonSituations":"Occurs when the installed WPGatsby plugin on the WordPress site is too old to report compatibility. Upgrade WPGatsby on the WordPress site to a current version.","solutions":["Update the WPGatsby plugin on your WordPress site to a current version.","If the plugin cannot be updated, download WPGatsby manually and install it in wp-content/plugins."],"exampleFix":null,"handlingStrategy":"try-catch","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"8b06340921ffdf23125a365b9c9923690cb62ce6","analyzedAt":"2026-08-13T02:36:21.405Z","contentChangedAt":"2026-08-13T02:36:21.405Z","schemaVersion":2},"datasetVersion":"2026-09-23T08:17:48.524Z"}