I understand we are to update to Phoca Maps 6.1.0 to patch a security vulnerability. However, when updating the component to 6.1.0 on Joomla 5.x sites, the maps break.
It appears there is no update for the Phoca Maps Content Plugin which also needs to be updated. I only see 6.0.2 available for download instead of 6.1.0.
I do see the 5.1.0 version, but we need the 6.1.0 version.
Phoca Maps Content Plugin Not Updated for 6.1.0 Component
-
ibweb
- Phoca Newbie

- Posts: 4
- Joined: 24 Jul 2026, 21:48
- Jan
- Phoca Hero

- Posts: 49514
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Phoca Maps Content Plugin Not Updated for 6.1.0 Component
Hi, the problematic part was in component, so such was fixed, but nothing changed regarding plugin, so the old version plugin can work with newest component. Do you get any error when using newest component and older plugin?
Jan
Jan
If you find Phoca extensions useful, please support the project
-
ibweb
- Phoca Newbie

- Posts: 4
- Joined: 24 Jul 2026, 21:48
Re: Phoca Maps Content Plugin Not Updated for 6.1.0 Component
Literally, the maps stops working/does not load when you upgrade the component to 6.1.0.
I tested this on two sites - same behavior - the map stops loading altogether.
In console, this error is present:
Uncaught SyntaxError: Unexpected identifier 'phocaMapRoute' (at contact:936:349)
contact:1053 Uncaught (in promise) ReferenceError: initMapPlgPM1 is not defined
at initMapsComcontentarticle7 (contact:1053:4)
at main.js:315:152
at main.js:314:146
I tested this on two sites - same behavior - the map stops loading altogether.
In console, this error is present:
Uncaught SyntaxError: Unexpected identifier 'phocaMapRoute' (at contact:936:349)
contact:1053 Uncaught (in promise) ReferenceError: initMapPlgPM1 is not defined
at initMapsComcontentarticle7 (contact:1053:4)
at main.js:315:152
at main.js:314:146
- Jan
- Phoca Hero

- Posts: 49514
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Phoca Maps Content Plugin Not Updated for 6.1.0 Component
Are you sure, some other part of your site does not render javascript error which then prevents from working other javascript on the site?
Do you get some error when displaying the map in component?
Testing both, testing the old plugin with new component, see no problem, I test on Joomla 6 but I don't expect, that in Joomla 5, there will be something different to J6 which can influence it
component: 6.1.1 https://www.phoca.cz/download/81-phoca- ... -component
plugin: 6.0.2 https://www.phoca.cz/download/81-phoca- ... aps-plugin
Everything is OK on my different servers
Do you get some error when displaying the map in component?
Testing both, testing the old plugin with new component, see no problem, I test on Joomla 6 but I don't expect, that in Joomla 5, there will be something different to J6 which can influence it
component: 6.1.1 https://www.phoca.cz/download/81-phoca- ... -component
plugin: 6.0.2 https://www.phoca.cz/download/81-phoca- ... aps-plugin
Everything is OK on my different servers
If you find Phoca extensions useful, please support the project
-
ibweb
- Phoca Newbie

- Posts: 4
- Joined: 24 Jul 2026, 21:48
Re: Phoca Maps Content Plugin Not Updated for 6.1.0 Component
Originally, we tested 6.1.0 component and 6.0.2 plugin on J5 sites. However, I just tested 6.1.1 that you released yesterday. Same issue - the map is not loading at all.
Respectfully, please actually test your 6.1.x component and 6.0.2 plugin on a J 5.4.7. As that's where the error is and your page clearly says both the component and plugin should work on 5.x and 6.x.
We don't display the map in a component, we display it using the shortcode like {phocamaps view=map|id=1}
I having a hard time understanding how you had to update the plugin from 5.0.2 to 5.1.0, but 6.0.2 didn't need to have updates for and go to 6.1.0 as a result
Respectfully, please actually test your 6.1.x component and 6.0.2 plugin on a J 5.4.7. As that's where the error is and your page clearly says both the component and plugin should work on 5.x and 6.x.
We don't display the map in a component, we display it using the shortcode like {phocamaps view=map|id=1}
I having a hard time understanding how you had to update the plugin from 5.0.2 to 5.1.0, but 6.0.2 didn't need to have updates for and go to 6.1.0 as a result
-
fpelliz
- Phoca Newbie

- Posts: 5
- Joined: 09 Mar 2026, 19:19
Phoca Maps not showing for 6.1.0 Component
Hi
Same issue here, maps not showing at all. Joomla 6.1.2, Maps 6.1.1, plugin 6.02.
Console says:
Uncaught (in promise) ReferenceError: initMapPlgPM1 is not defined
initMapsModcustomcontent [url]
jga https://maps.googleapis.com/maps-api-v3 ... ain.js:316
kga https://maps.googleapis.com/maps-api-v3 ... ain.js:315
promise callback*kga https://maps.googleapis.com/maps-api-v3 ... ain.js:315
Load https://maps.googleapis.com/maps/api/js ... g=async:38
<anonymous> https://maps.googleapis.com/maps-api-v3 ... ain.js:624
... (not allowing more urls)
Same issue here, maps not showing at all. Joomla 6.1.2, Maps 6.1.1, plugin 6.02.
Console says:
Uncaught (in promise) ReferenceError: initMapPlgPM1 is not defined
initMapsModcustomcontent [url]
jga https://maps.googleapis.com/maps-api-v3 ... ain.js:316
kga https://maps.googleapis.com/maps-api-v3 ... ain.js:315
promise callback*kga https://maps.googleapis.com/maps-api-v3 ... ain.js:315
Load https://maps.googleapis.com/maps/api/js ... g=async:38
<anonymous> https://maps.googleapis.com/maps-api-v3 ... ain.js:624
... (not allowing more urls)
-
ibweb
- Phoca Newbie

- Posts: 4
- Joined: 24 Jul 2026, 21:48
Re: Phoca Maps Content Plugin Not Updated for 6.1.0 Component
@Jan what's the status on this?