Declaration must be compatible with ImageStyleDownloadController->deliver

Created on 20 May 2024, 7 months ago
Updated 27 June 2024, 6 months ago

Since D10.3 \Drupal\image\Controller\ImageStyleDownloadController::deliver accepts 4 arguments instead of 4

So on D10.3 installations there is a fatal error when enabling this module:

Fatal error: Declaration of Drupal\imageapi_optimize_avif_webp\Controller\ImageStyleDownloadController::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 /var/www/html/web/modules/contrib/imageapi_optimize_avif_webp/src/Controller/ImageStyleDownloadController.php on line 36
πŸ› Bug report
Status

Fixed

Version

1.1

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine quadrexdev Lutsk

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