Google Maps JavaScript API error: ApiNotActivatedMapError

Permalink Browser Info Environment
Hi Ryan, I'm having some issues with the Location Map add on.

I've enabled both Geocoding and Maps Javascript API's in the google project and both are showing as enabled but the map is not appearing and I'm getting the following error in the console:

Google Maps JavaScript API error: ApiNotActivatedMapError

It's strange as the API is working and finding the long/latitude for my locations ok. It's just the actual map that is falling over.

I'm also getting an error:
You have included the Google Maps JavaScript API multiple times on this page. This may cause unexpected errors.

The only map I have on the page is yours.

Any ideas?

Type: Ticket
Status: In Progress
soupmedia
View Replies:
soupmedia replied on at Permalink Reply
soupmedia
Sorry, it was an issue with the theme I was using. I swapped out to a default theme and the location map is now working fine.
mesuva replied on at Permalink Reply
mesuva
No worries, thanks for the update.

I actually think I've seen this before - what theme is it?

-Ryan

concrete5 Environment Information

# concrete5 Version
Core Version - 8.5.4
Version Installed - 8.5.4
Database Version - 20200609145307

# Database Information
Version: 5.7.35-0ubuntu0.18.04.1
SQL Mode: ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION

# concrete5 Packages
Background Image Slideshow (1.1.0), ExchangeCore reCAPTCHA (1.1.1), HW hCaptcha (0.9.2), Isotope Gallery (0.0.1), Location Map (1.0.12), Medifit Select 2016 (0.0.1), Medifit Theme (0.0.1), Simple Math Captcha (1.1)

# concrete5 Overrides
css/file-manager.css

# concrete5 Cache Settings
Block Cache - On
Overrides Cache - On
Full Page Caching - Off
Full Page Cache Lifetime - Every 6 hours (default setting).

# Server Software
Apache/2.4.29 (Ubuntu)

# Server API
apache2handler

# PHP Version
7.2.24-0ubuntu0.18.04.8

# PHP Extensions
apache2handler, bz2, calendar, Core, ctype, curl, date, dom, exif, fileinfo, filter, ftp, gd, gettext, hash, iconv, json, libxml, mbstring, mysqli, mysqlnd, openssl, pcre, PDO, pdo_mysql, Phar, posix, readline, Reflection, session, shmop, SimpleXML, sockets, sodium, SPL, standard, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xml, xmlreader, xmlwriter, xsl, Zend OPcache, zip, zlib

# PHP Settings
max_execution_time - 30
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 1000
memory_limit - 512M
post_max_size - 16M
upload_max_filesize - 16M
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 7200
opcache.max_accelerated_files - 10000
opcache.max_file_size - 0
opcache.max_wasted_percentage - 5

Browser User-Agent String

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.131 Safari/537.36

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.