not loading maps

  • miltos
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
1 week 6 days ago - 1 week 6 days ago #16686 by miltos
not loading maps was created by miltos
Hi dima.
I uploaded my website from localhost, to live server (ofline mode), but zhOSM is not loading the maps.
In my console it gives these errors: (foto zh1, zh2).
In debug (maximum) I get these errors:
Deprecated: preg_match_all(): Passing null to parameter #2 ($subject) of type string is deprecated in /home/customer/www/index.xxxxxx.gr/public_html/plugins/content/plgzhosmmap/plgzhosmmap.php on line 112

Deprecated: preg_match_all(): Passing null to parameter #2 ($subject) of type string is deprecated in /home/customer/www/index.xxxxxx.gr/public_html/plugins/content/plgzhosmmap_article_overview/plgzhosmmap_article_overview.php on line 109

Deprecated: mb_strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/customer/www/index.xxxxxxx.gr/public_html/libraries/vendor/joomla/string/src/phputf8/mbstring/core.php on line 41

The php I am using is 8.2

Miltos

The problem was solved by disabling Geocoder.
Attachments:
Last edit: 1 week 6 days ago by miltos.

Please Log in or Create an account to join the conversation.

More
1 week 4 days ago - 1 week 4 days ago #16690 by Dima
Replied by Dima on topic not loading maps
Hi Miltos
I'll check Geocoder, where I use it, I think I use it only in admin panel to search position for placemark by text address.

As for "Depricated..." - I can't reproduce it, I use PHP 8.3.16 and can't downgrade.
Moreover, parameter #2 - it is an article body, and I can't understand why it is null.

Check you are using last version of extension
Package    16.25.02.12    Zh OpenStreetMap Package
Component    16.25.02.12    Zh OpenStreetMap
Module    6.25.02.12    Zh OpenStreetMap Module
Module    5.25.02.12    Zh OpenStreetMap Module - Article Overview Map
Plugin    6.25.02.12    Zh OpenStreetMap Plugin
Plugin    5.25.02.12    Zh OpenStreetMap Plugin - Article Overview Map

Can you try to use the other version of PHP?

Don't forget support my developments: post review in JED , donate , help with translation ;)
Last edit: 1 week 4 days ago by Dima.

Please Log in or Create an account to join the conversation.

More
1 week 4 days ago #16692 by Dima
Replied by Dima on topic not loading maps
And in your console all messages about JQuery migrate.
Probably, you are using some other extension or template parameter. Try to use native JQuery library, which is not loaded automatically, but it is in joomla core, and you can use it.

For example, in component option to load it you can set "Load JQuery" to Joomla, and I will load it.

Don't forget support my developments: post review in JED , donate , help with translation ;)

Please Log in or Create an account to join the conversation.

Time to create page: 0.359 seconds
Powered by Kunena Forum