Diagnosis

Duplicate Google Maps API

51

If two or more plugins (or theme) load the Google Maps API, and the library is loaded twice, a javascript error will occur and the maps will stop working.

Background

Themes and plugins that want to use Google Maps functionality load the Google Maps API javascript. However, this should only be loaded once.

The Problem

If two or more plugins (or theme) load the Google Maps API, and the library is loaded twice, a javascript error will occur and the maps will stop working.

Identifying the issue

When this occurs, an error will be printed to the javascript console related to the Google Maps API.

You have included the Google Maps API multiple times on this page. This may cause unexpected errors.

The Solution

Make sure you only load the Google Maps API once.

UberMenu 3

UberMenu’s can be disabled in the Control Panel

UberMenu Control Panel > General Settings > Assets

Uncheck Load Google Maps API

UberMenu 2

UberMenu’s can be disabled in the Control Panel > Descriptions, Shortcodes & Widgets > Advanced Content Capabilities > Load Google Maps.