Skip to content

Craft 5 - Multiple map embeds Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'Mo') #408

@jamesmacwhite

Description

@jamesmacwhite

We are seeing some errors with Google Maps on the front end:

Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'Mo')

Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'UE')

It appears to be when multiple maps are embedded on the same page. The test case where these errors are happening is using a Map field in a matrix block called block.map.embed()

Both in the CP and front end we are getting errors related to the above.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions