- Issue created by @quadrexdev
- Status changed to Needs review
6 months ago 11:45am 20 May 2024 - Status changed to Fixed
5 months ago 6:50am 27 June 2024
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
Fixed
1.1
Code