Closed (fixed)
Project:
Geofield Map
Version:
3.0.11
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Aug 2023 at 06:43 UTC
Updated:
13 Sep 2023 at 23:59 UTC
Jump to comment: Most recent
I'm getting the following notice:
Deprecated function: preg_quote(): Passing null to parameter #1 ($str) of type string is deprecated in Drupal\geofield_map\Services\MarkerIconService->setMarkersFilesList() (line 196 of /var/www/html/docroot/modules/contrib/geofield_map/src/Services/MarkerIconService.php)
Adding an extra check before calling the preg_quote function
| Comment | File | Size | Author |
|---|---|---|---|
| geofield_map-fix_preg_quote_deprecation.patch | 747 bytes | jasdeba |
Comments
Comment #2
shreya_th commented@jasdeba i had applied your patch and run this module in local setup and its working fine not getting error.
Kindly merge this patch file in source code.
Comment #3
keshavv commentedComment #5
itamair commentedprovided patch committed into dve, will be part of next Geofield Map release.