Too few arguments to function Drupal\image\Controller\ImageStyleDownloadController::deliver()

Created on 21 June 2024, 6 months ago

Problem/Motivation

Following error is thrown when generating images,

ArgumentCountError: Too few arguments to function Drupal\image\Controller\ImageStyleDownloadController::deliver(), 3 passed in /var/www/html/web/modules/contrib/combined_image_style/src/Controller/ImageStyleDownloadController.php on line 20 and exactly 4 expected in Drupal\image\Controller\ImageStyleDownloadController->deliver() (line 111 of core/modules/image/src/Controller/ImageStyleDownloadController.php).

Steps to reproduce

Try to use combined_image_style along with Drupal Core ^10.2.3

Proposed resolution

Fix class signature to be compatible with the base class.

Remaining tasks

Create patch and get it reviewed

User interface changes

NA

API changes

NA

Data model changes

NA

πŸ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡©πŸ‡ͺGermany D34dMan Hamburg

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024