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

Created on 26 March 2024, 3 months ago
Updated 19 June 2024, 9 days 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.69.0 2024