Problem/Motivation
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)
Proposed resolution
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.