{"record":{"id":"e5a86cd4ddf698b9","repo":"gatsbyjs/gatsby","slug":"please-ensure-that-gatsby-plugin-image-is-includ","errorCode":null,"errorMessage":"Please ensure that \"gatsby-plugin-image\" is included in the plugins array in gatsby-config.js, and that your version of gatsby is at least 2.24.78","messagePattern":"Please ensure that \"gatsby-plugin-image\" is included in the plugins array in gatsby-config\\.js, and that your version of gatsby is at least 2\\.24\\.78","errorType":"console","errorClass":null,"httpStatus":null,"severity":"error","filePath":"packages/gatsby-plugin-image/src/components/static-image.server.tsx","lineNumber":59,"sourceCode":"    pngOptions,\n    webpOptions,\n    avifOptions,\n    blurredOptions,\n    breakpoints,\n    outputPixelDensities,\n    /* eslint-enable @typescript-eslint/no-unused-vars */\n    ...props\n  }): ReactElement {\n    if (__error) {\n      console.warn(__error)\n    }\n\n    if (imageData) {\n      return <GatsbyImage image={imageData} {...props} />\n    }\n    console.warn(`Image not loaded`, src)\n    if (!__error && process.env.NODE_ENV === `development`) {\n      console.warn(\n        `Please ensure that \"gatsby-plugin-image\" is included in the plugins array in gatsby-config.js, and that your version of gatsby is at least 2.24.78`\n      )\n    }\n    return null\n  }\n}\n\nconst StaticImage: React.FC<IStaticImageProps & IPrivateProps> =\n  _getStaticImage(GatsbyImageServer)\n\nconst checkDimensionProps: PropTypes.Validator<number> = (\n  props: IStaticImageProps & IPrivateProps,\n  propName: keyof IStaticImageProps & IPrivateProps,\n  ...rest\n) => {\n  if (\n    props.layout === `fullWidth` &&\n    (propName === `width` || propName === `height`) &&","sourceCodeStart":41,"sourceCodeEnd":77,"githubUrl":"https://github.com/gatsbyjs/gatsby/blob/e85d62f1779e353eaac1753211629a26d123e26c/packages/gatsby-plugin-image/src/components/static-image.server.tsx#L41-L77","documentation":"Guard in _getStaticImage (SSR): imageData could not be resolved and no __error was provided, so the component falls back to warning that the plugin is not set up correctly. It fires when gatsby-plugin-image is missing from gatsby-config or the installed gatsby version predates the required 2.24.78, so StaticImage's server handler cannot resolve image data.","triggerScenarios":"Thrown at packages/gatsby-plugin-image/src/components/static-image.server.tsx:59 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Add \"gatsby-plugin-image\" to the plugins array in gatsby-config.js","Upgrade gatsby to at least version 2.24.78","Check the accompanying \"Image not loaded\" console output for the specific src that failed"],"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-14T00:17:10.932Z"}