Error: Class "ResponsiveImageFormatter" not found

Created on 3 January 2024, 12 months ago
Updated 22 January 2024, 11 months ago

Problem/Motivation

When setting up transform mode for node after a standard installation of transform_api, the website shows following error:


Error: Class "Drupal\responsive_image\Plugin\Field\FieldFormatter\ResponsiveImageFormatter" not found in include() (line 26 of modules/contrib/transform_api/src/Plugin/Transform/Field/ResponsiveImageTransform.php)


Issue got solved by installing responsive_image module.

Steps to reproduce

  • Do a Drupal installation with standard profile
  • Install module transform_api
  • Go to "Manage transform" settings of node type article

Proposed resolution

  • Add dependency of responsive_image module to transfrom API

or

  • Create a new submodule for a specific transform
🐛 Bug report
Status

Fixed

Version

1.0

Component

Transform modes

Created by

🇩🇰Denmark erik_petra

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024