{"record":{"id":"0649f850681cc75c","repo":"gatsbyjs/gatsby","slug":"message","errorCode":null,"errorMessage":"${message}","messagePattern":"\\$\\{message\\}","errorType":"panic","errorClass":null,"httpStatus":null,"severity":"error","filePath":"packages/gatsby-source-wordpress/src/steps/check-plugin-requirements.ts","lineNumber":189,"sourceCode":"1. If the version of WPGatsby in your WordPress instance is higher than ${\n      maxVersion || minVersion\n    }\nit means you need to upgrade your version of gatsby-source-wordpress.\n\n2. If the version of WPGatsby in your WordPress instance is lower than ${minVersion}\nit means you need to upgrade your version of WPGatsby.\n\nDownload a matching version at https://github.com/gatsbyjs/wp-gatsby/releases\nor update via ${protocol}//${hostname}/wp-admin/plugins.php`\n  }\n\n  if (!wpGatsbyIsSatisfied || !wpgqlIsSatisfied) {\n    message += `\n${reasons}`\n  }\n\n  if (message) {\n    helpers.reporter.panic(formatLogMessage(message))\n  }\n}\n\n// This blank request is used to find debug messages\n// when a graphql request is made with no query\n// for example if 2 root fields are registered with the fieldname \"products\"\n// this will throw a helpful error message explaining that one should be removed\nconst blankGetRequest = async ({\n  url,\n  helpers,\n}: {\n  url: string\n  helpers: NodePluginArgs\n}): Promise<void> =>\n  fetch(url)\n    .then(response => response.json())\n    .then(json => {\n      if (json?.errors?.length) {","sourceCodeStart":171,"sourceCodeEnd":207,"githubUrl":"https://github.com/gatsbyjs/gatsby/blob/e85d62f1779e353eaac1753211629a26d123e26c/packages/gatsby-source-wordpress/src/steps/check-plugin-requirements.ts#L171-L207","documentation":"areRemotePluginVersionsSatisfied assembles a detailed message when WPGatsby/WPGraphQL version checks fail and panics with it. The message embeds the supported ranges, the site's actual versions, and numbered remedies (upgrade gatsby-source-wordpress or WPGatsby, with download links).","triggerScenarios":"Thrown at packages/gatsby-source-wordpress/src/steps/check-plugin-requirements.ts:189 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Upgrade WPGatsby/WPGraphQL to a version within the supported range","Upgrade gatsby-source-wordpress if site plugin versions are newer","Follow the wp-admin plugins.php link in the message to update"],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"e85d62f1779e353eaac1753211629a26d123e26c","analyzedAt":"2026-08-26T17:50:09.662Z","contentChangedAt":"2026-08-26T17:50:09.662Z","schemaVersion":2},"datasetVersion":"2026-09-14T05:17:10.506Z"}