Uncaught InvalidValueError: <gmp-advanced-marker>: Cannot set property "content" to 1

Created on 23 April 2025, 1 day ago

When I click on the google map widget I get an error in the console:
main.js:144 Uncaught InvalidValueError: : Cannot set property "content" to 1: not an instance of

Node; and 1
at _.kj (main.js:144:123)
at uP.mh (main.js:379:184)
at set content (marker.js:121:177)
at new GoogleMapMarker (GoogleMapMarker.js:19:33)
at GoogleMaps.createMarker (GoogleMaps.js:123:12)
at GeolocationFieldWidgetMapConnector.onClick (GeolocationFieldWidgetMapConnector.js:144:31)
at GoogleMaps.js:79:29
at Array.forEach ()
at GoogleMaps.js:78:33

Attached screenshots:

  1. The content property is not a string but an object.
  2. Error.
🐛 Bug report
Status

Active

Version

4.0

Component

GoogleMapsAPI

Created by

🇷🇸Serbia super_romeo Belgrade

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

Comments & Activities

Production build 0.71.5 2024