Google Maps does not show

Phoca Maps - displaying maps in Joomla! CMS
RalphS52
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 10 Mar 2024, 17:02

Google Maps does not show

Post by RalphS52 »

Google Maps does not display anymore and console is showing the below message.
Due to other reasons I am still on Joomla 3.10

Does anyone have a solution?

Full message:
This site overrides Array.from() with an implementation that doesn't support iterables, which could cause Google Maps JavaScript API v3 to not work correctly. js:223:415
bca https://maps.googleapis.com/maps/api/js ... WbabAE:223
gca https://maps.googleapis.com/maps/api/js ... WbabAE:218
Load https://maps.googleapis.com/maps/api/js ... fWbabAE:14
<anonym> https://maps.googleapis.com/maps/api/js ... WbabAE:389
<anonym> https://maps.googleapis.com/maps/api/js ... WbabAE:389
christine
Phoca Hero
Phoca Hero
Posts: 2808
Joined: 28 Nov 2010, 17:20

Re: Google Maps does not show

Post by christine »

Hi,

Generell infos:
https://www.phoca.cz/phocamaps
https://www.phoca.cz/documentation/82-p ... ps-api-key

Code: Select all

This site overrides Array.from() with an implementation that doesn't support iterables, which could cause Google Maps JavaScript API v3 to not work correctly
The cause can be: Loading of Mootools. See an example here (although from a different extension) but similar:

https://yootheme.com/support/question/160576
https://github.com/joomla/joomla-cms/issues/29121

Kind regards
Christine
RalphS52
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 10 Mar 2024, 17:02

Re: Google Maps does not show

Post by RalphS52 »

Thank you very much Christine!
I installed Mootools Disabler plugin and now maps is displaying again.
RalphS52
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 10 Mar 2024, 17:02

Re: Google Maps does not show

Post by RalphS52 »

...but with mootools disabled now other features of the website are not working anymore, like a tab on top of the home page to switch the language, see www.jelwana.net
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48345
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Google Maps does not show

Post by Jan »

Hi, then unfortunately, you need to decide, what to do now: Modernize the website (stop using very very obsolete Mootools method which is in conflict with jQuery mostly) or somehow with hel of Javascript solve the conflicts between Mootools and other Javascript parts on the website :idea: Unfortunatelly, there is no other clue advice :-(

Jan
If you find Phoca extensions useful, please support the project
Post Reply