Error after upgrading Drupal 10.2.7 to 10.3.0

Created on 21 June 2024, 7 days ago
Updated 28 June 2024, about 7 hours 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

Needs review

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.69.0 2024