Error after upgrading Drupal 10.2.7 to 10.3.0

Created on 21 June 2024, 5 months ago
Updated 9 July 2024, 4 months ago

Problem/Motivation

After updating Drupal 10.2.7 to 10.3.0 get a PHP Fatal error:

PHP Fatal error: Declaration of Drupal\wpf\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/www/modules/contrib/wpf/src/Controller/ImageStyleDownloadController.php on line 86

Steps to reproduce

After update just run: drush updb or drush cr

Proposed resolution

Make a small patch (0002-wpf.patch)

πŸ› Bug report
Status

Fixed

Version

1.1

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine Sutry

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