Too few arguments to function Drupal\\leaflet\\LeafletService::__construct(), 7 passed ... 8 expected

Created on 26 March 2024, 9 months ago
Updated 19 June 2024, 6 months ago

Problem/Motivation

After updating leaflet module to 10.2.8 or above a PHP exception occures:
"Too few arguments to function Drupal\\leaflet\\LeafletService::__construct(), 7 passed in ../leaflet_maptiler/src/MaptilerLeafletServiceDecorator.php on line 57 and exactly 8 expected"

The attached patch solves the problem, but it is probably not backwards compatible with earlier versions of the leaflet module

🐛 Bug report
Status

Fixed

Component

Code

Created by

🇭🇺Hungary fox mulder

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

Comments & Activities

Production build 0.71.5 2024