Main menu

Forum


× Help Forum English

JavaScript error relating to Google maps

  • softforge
  • Autore della discussione
  • Junior Member
  • Junior Member
Di più
13 Anni 2 Mesi fa - 13 Anni 2 Mesi fa #4750 da softforge
JavaScript error relating to Google maps è stato creato da softforge
Hello,

There is a JavaScript error on some pages which is causing further JavaScript on the page not to execute. The error can be seen on these pages:

demo.joomlic.com/en/icagenda-en/all-events
demo.joomlic.com/en/icagenda-en/all-even...ftwerk/event_details

This is the error outputted from the Web Developer Toolbar in Firefox:

Timestamp: 26/08/2013 17:20:34
Error: TypeError: a is null
Source File: maps.gstatic.com/intl/en_us/mapfiles/api-3/14/0/main.js
Line: 33

It seems to be looking for a script tag but not finding it. I have tried a few hacks to fix the issue but no luck.

Any idea how to solve this? It is causing other modules on my pages not to function correctly.

Many thanks :)
Ultima Modifica 13 Anni 2 Mesi fa da softforge.

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • Lyr!C
  • Avatar di Lyr!C
  • Administrator
  • Administrator
  • Lead Developer
Di più
13 Anni 2 Mesi fa #4761 da Lyr!C
Risposta da Lyr!C al topic JavaScript error relating to Google maps

softforge ha scritto:
Error: TypeError: a is null
Source File: maps.gstatic.com/intl/en_us/mapfiles/api-3/14/0/main.js


Just try by removing this line in file site/js/icmap.js :
google.maps.event.addDomListener(window, 'load', initialize);

In fact, not needed, as onload initialize in php code.

Keep me informed if it is working for you ! B)

Latest version : iCagenda 4.0.17 Joomla! 4 > Joomla! 6
We recommend every user to keep iCagenda updated.
Support for iCagenda version 3.9 (the final version compatible with Joomla 3) ended on October 13, 2026
Extended security support for the iCagenda PRO 3.9 version until October 13, 2027 (to benefit from this extended support, you must have a Pro subscription: www.joomlic.com/extensions/icagenda)
Don't forget to have your Joomla!® up-to-date!

Do you like iCagenda?
I would appreciate if you could take 5 minutes to post a review on JED (Joomla Extensions Directory) .

File allegato:

Si prega Accedi o Crea un account a partecipare alla conversazione.

Moderatori: Lyr!C
Tempo creazione pagina: 0.068 secondi

Follow Us

Create your Joomla templates with Template Creator CK

acymailing logo new