Hi,
i created https://www.metropoljournal.com/auslagestellen and the map worked perfect. A few days ago i saw that the map won´t load anymore. If i set it to google maps (Api is created and written in the configuration) or to open streetview the Error is:
Uncaught (in promise) TypeError: Cannot read property 'setAttribute' of null
at initMap (auslagestellen:7)
at initMaps (auslagestellen:8)
at js?callback=initMaps&key=AIzaSyBaobZ9j13ReUkLhcNQOyX_NFBMeFzhDhI&language=german:152
at js?callback=initMaps&key=AIzaSyBaobZ9j13ReUkLhcNQOyX_NFBMeFzhDhI&language=german:152
Phoca Maps got the Version 3.0.11
Joomla! is at 3.9.26 Stable
have you got an idea how to solve the problem?
regards
Map doesn´t load
-
- Phoca Hero
- Posts: 2886
- Joined: 28 Nov 2010, 17:20
Re: Map doesn´t load
Hallo,
Nicht sicher, aber es sieht so aus, als dass Du (auch) Phoca Map Plugin benötigst. Weil PM ist in einem Beitrag?
Im Seitenquelltext sehe ich, dass das Script nicht geladen wird.
https://www.reisefotografien.eu/phoca-b ... aps-plugin
Liebe Grüße
Christine
Nicht sicher, aber es sieht so aus, als dass Du (auch) Phoca Map Plugin benötigst. Weil PM ist in einem Beitrag?
Im Seitenquelltext sehe ich, dass das Script nicht geladen wird.
https://www.reisefotografien.eu/phoca-b ... aps-plugin
Liebe Grüße
Christine
-
- Phoca Newbie
- Posts: 2
- Joined: 27 Apr 2021, 10:12
Re: Map doesn´t load
Hallo,
das Phoca Maps Plugin war schon installiert, da dran liegt es nicht.
PM ist über einen Menüpunkt eingebunden.
Trotzdem danke
das Phoca Maps Plugin war schon installiert, da dran liegt es nicht.
PM ist über einen Menüpunkt eingebunden.
Trotzdem danke
- Jan
- Phoca Hero
- Posts: 48689
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Map doesn´t load
Hi, there is a Javascript error, but difficult to debug.
Maybe you should try to create some simple map - no marker, only map to see if the problem comes with the map or then with markers.
Are you sure, there is no other extension (e.g. like system plugin, etc) which adds maps on your site?
You can even try to disable jchoptimize extension to test, if this is not caused when the JS is comprimed, etc.
Jan
Maybe you should try to create some simple map - no marker, only map to see if the problem comes with the map or then with markers.
Are you sure, there is no other extension (e.g. like system plugin, etc) which adds maps on your site?
You can even try to disable jchoptimize extension to test, if this is not caused when the JS is comprimed, etc.

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