auto_retina module not compatible with Drupal 10.3

Created on 7 August 2024, 5 months ago
Updated 22 August 2024, 5 months ago

Problem/Motivation

I tried using auto retina module with Drupal 10.3 and got the following error:

PHP Fatal error: Declaration of Drupal\auto_retina\Controller\RetinaImageStyleDownloadController::deliver(Symfony\Component\HttpFoundation\Request $request, $scheme, Drupal\image\ImageStyleInterface $image_style) must be compatible with Drupal\image\Controller\ImageStyleDownloadController::deliver(Symfony\Component\HttpFoundation\Request $request, $scheme, Drupal\image\ImageStyleInterface $image_style, string $required_derivative_scheme) in web/modules/contrib/auto_retina/src/Controller/RetinaImageStyleDownloadController.php on line 68

Here is a related Drupal core change record: ImageStyleDownloadController::deliver() now takes a string of the expected scheme for derivatives as a required parameter

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

🇷🇸Serbia vaish

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

Comments & Activities

Production build 0.71.5 2024