Title: Arnoud's Replies | WordPress.org

---

# Arnoud

  [  ](https://wordpress.org/support/users/derice/)

 *   [Profile](https://wordpress.org/support/users/derice/)
 *   [Topics Started](https://wordpress.org/support/users/derice/topics/)
 *   [Replies Created](https://wordpress.org/support/users/derice/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/derice/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/derice/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/derice/engagements/)
 *   [Favorites](https://wordpress.org/support/users/derice/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 144 total)

1 [2](https://wordpress.org/support/users/derice/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/derice/replies/page/3/?output_format=md)…
[8](https://wordpress.org/support/users/derice/replies/page/8/?output_format=md)
[9](https://wordpress.org/support/users/derice/replies/page/9/?output_format=md)
[10](https://wordpress.org/support/users/derice/replies/page/10/?output_format=md)
[→](https://wordpress.org/support/users/derice/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Geo2 Maps Add-on for NextGEN Gallery] Plugin increases page load time to 90 seconds](https://wordpress.org/support/topic/plugin-increases-page-load-time-to-90-seconds/)
 *  Thread Starter [Arnoud](https://wordpress.org/support/users/derice/)
 * (@derice)
 * [1 year ago](https://wordpress.org/support/topic/plugin-increases-page-load-time-to-90-seconds/#post-18544578)
 * The login can be found in your mailbox. 🙂
   Thanks again for the assist.PHP version
   is 8.4.8 for both the test-site and the actual website.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Geo2 Maps Add-on for NextGEN Gallery] Plugin increases page load time to 90 seconds](https://wordpress.org/support/topic/plugin-increases-page-load-time-to-90-seconds/)
 *  Thread Starter [Arnoud](https://wordpress.org/support/users/derice/)
 * (@derice)
 * [1 year ago](https://wordpress.org/support/topic/plugin-increases-page-load-time-to-90-seconds/#post-18543976)
 * **How would this look like on a vanilla website?**
 * I’ve done some testing, on the hosting server (not locally, yet):
   – Created a
   new subdomain + empty wordpress.– Installed NextGen Gallery, NextGen Gallery 
   Pro, Geo2Maps & Code Profiler.– No proxy via Cloudflare.Uploaded the content:
   28 GPX files (40MB) & 590 images (~1GB)Created the 26 galleries in which these
   images are displayed.Copy/pasted the code from the same blogpost I have been 
   testing with.Updated the shortocde for all galleries in the code to reflect the
   correct/new gallery ID.Example:` [geo2 id=1 xmlurl="/wp-content/uploads/2022/
   05/sGPX_2022050608435231.gpx"] `Updated the first 2 pages of the blog (24 pages
   in total) to show the correct images in the blog. Example: `[thumb id="30,31"]`
   Added the API key for Azure Maps to the plugin & added the test URL to the CORS
   page in Azure.Viewing the page results in a gray box where the map is supposed
   to be. Ran another test, and unfortunately the same results in the admin edit
   mode.`/wp-admin/post.php?post=351&action=edit`
 * ![](https://i0.wp.com/i.imgur.com/YE3Pziy.png?ssl=1)
 * If you want, I can share a login for this test site? Just let me know how to 
   provide the login details.
   In code profiler I do notice the following remark:
   _Code Profiler has detected that the following components, sorted by execution
   order, are using Composer dependency manager:1: **NextGEN Gallery**, 2: **NextGEN
   Pro**.**Why does Code Profiler warn me that I have multiple plugins using Composer?**
   Composer, a tool for dependency management in PHP, is included in many popular
   plugins and themes. It is used to autoload PHP classes.Code Profiler will inform
   you if two or more activated plugins use it because you will need to take it 
   into consideration when reading and interpreting the results. Let’s take an example:
   Assuming you have four plugins, #1, #2, #3 and #4. Both plugins #1 and #4 include
   and require Composer. WordPress will start and load plugin #1, which will run
   an instance of Composer to load its classes. Immediately after, WordPress will
   load plugins #2 and #3. Then, it will load plugin #4, which too will need to 
   load its classes. However, plugin #4 will not start a new instance of Composer
   but, instead, will rely on the one from plugin #1 to load its own classes.As 
   a result, the execution time of plugin #1 will increase (its instance of Composer
   is used to load classes for plugin #4 too), while the execution time of plugin#
   4 will decrease (it doesn’t need to start a new instance of Composer). Therefore,
   if you have a dozen or more plugins using Composer, it is important to take into
   consideration that the execution time of plugin #1 may be much higher than other
   plugins.Also, assuming you are a developer and just want to profile a plugin 
   that you wrote and that includes Composer, you will need to disable any other
   plugin using Composer in order to get the most accurate results for your plugin
   only.
 * Without the Geo2maps on the test-site, the results are:
 * ![](https://i0.wp.com/i.imgur.com/PeL1IpZ.png?ssl=1)
    -  This reply was modified 1 year ago by [Arnoud](https://wordpress.org/support/users/derice/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Geo2 Maps Add-on for NextGEN Gallery] Plugin increases page load time to 90 seconds](https://wordpress.org/support/topic/plugin-increases-page-load-time-to-90-seconds/)
 *  Thread Starter [Arnoud](https://wordpress.org/support/users/derice/)
 * (@derice)
 * [1 year ago](https://wordpress.org/support/topic/plugin-increases-page-load-time-to-90-seconds/#post-18543777)
 * Hi Pablo,
   The hosting provider also tested this from their end, and they see 
   the same behavior as when I test it.Therefore, it’s not an end-user device / 
   browser / infrastructure related issue. Also everything is up-to-date, WordPress,
   all plugins & the database.PHP version is 8.4.8.As a test, I’ve also downloaded
   my website, content & database, to a local system (docker).Also here I see a 
   delay in loading the page, less significant than on the hosted environment, still
   almost 4,5 seconds.
 * ![](https://i0.wp.com/i.imgur.com/KbSF5yA.png?ssl=1)
 * A 2nd test, with all other plugins disabled, also shows that this plugin needs
   the most time to load on the edit page.
 * ![](https://i0.wp.com/i.imgur.com/TJctXUd.png?ssl=1)
 * Questions that I now have are:
   – Is this normal behavior for the plugin? That
   it loads slower than all other plugins.– How does the graph look like on your
   end?– Anything I should look for in logs? As I also run it locally now, I have
   full access.– How would this look like on a vanilla website? (I can set this 
   up, will take some time though).
    -  This reply was modified 1 year ago by [Arnoud](https://wordpress.org/support/users/derice/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Geo2 Maps Add-on for NextGEN Gallery] Plugin increases page load time to 90 seconds](https://wordpress.org/support/topic/plugin-increases-page-load-time-to-90-seconds/)
 *  Thread Starter [Arnoud](https://wordpress.org/support/users/derice/)
 * (@derice)
 * [1 year ago](https://wordpress.org/support/topic/plugin-increases-page-load-time-to-90-seconds/#post-18537725)
 * Hi Pablo,
 * NextGen & NextGen Pro are two separate plugins.
   The Pro version is a paid add-
   on for some additional features I use on my website. For the test, I’ve deactivated.
   As per request, I deactivated all other plugins and ran the code profiler again
   for the edit version of the page, unfortunately still the same result:
 * ![](https://i0.wp.com/i.imgur.com/W86uZQl.png?ssl=1)
 * What else can I test/troubleshoot to mitigate the issue?
   Arnoud.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Geo2 Maps Add-on for NextGEN Gallery] Plugin increases page load time to 90 seconds](https://wordpress.org/support/topic/plugin-increases-page-load-time-to-90-seconds/)
 *  Thread Starter [Arnoud](https://wordpress.org/support/users/derice/)
 * (@derice)
 * [1 year ago](https://wordpress.org/support/topic/plugin-increases-page-load-time-to-90-seconds/#post-18535663)
 * Hi Pablo,
 * When loading a post without the shortcode, I don’t see the plugin being loaded,
   for example:
 * ![](https://i0.wp.com/i.imgur.com/tAOUNJW.png?ssl=1)
 * I’ve changed the theme to Twenty Twelve, no change.
   For reference, my theme is“
   Photocrati”.
 * The console in the browser shows this (also when editing other posts)
   To me, 
   this seems unrelated to the plugin?
 * ![](https://i0.wp.com/i.imgur.com/8K7YVxi.png?ssl=1)
    -  This reply was modified 1 year ago by [Arnoud](https://wordpress.org/support/users/derice/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Geo2 Maps Add-on for NextGEN Gallery] Plugin increases page load time to 90 seconds](https://wordpress.org/support/topic/plugin-increases-page-load-time-to-90-seconds/)
 *  Thread Starter [Arnoud](https://wordpress.org/support/users/derice/)
 * (@derice)
 * [1 year ago](https://wordpress.org/support/topic/plugin-increases-page-load-time-to-90-seconds/#post-18530661)
 * Hi Pablo,
   I’ve followed up already on removing the API key for Azure Maps.It 
   makes no change.Do note, that the issue is NOT on the public viewable post, but
   on the admin part, when editing the message: [https://example.com/wp-admin/post.php?post=22196&action=edit](https://example.com/wp-admin/post.php?post=22196&action=edit)
   When I browse to the public page: [https://example.com/?p=22196](https://example.com/?p=22196)
   it loads as expected and within a normal timeframe. Note: I also tried the “loadmap
   on demand” option, that also makes no difference, it’s always loaded it seems.
   In editing mode, I do not see a map at all, only the shortcode. For Geocoding,
   if you’re asking if my images are provided with GPS coordinates, to show them
   on the map: Then yes, I use geocoding. When loading, eventually Cloudflare shows“
   host error”, due to >100 seconds loading time, which is their limit.In order 
   to determine if Cloudflare is the issue, I turned off the proxy option there.
   Also a locally modified hosts file with a direct entry to the hosting IP.Both
   show the same result, after waiting for about 2 minutes, the edit page shows.
   No browser errors what so ever. Where can I find the notifications / query monitor
   you are referring to? (I use Edge).Arnoud.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Geo2 Maps Add-on for NextGEN Gallery] Plugin increases page load time to 90 seconds](https://wordpress.org/support/topic/plugin-increases-page-load-time-to-90-seconds/)
 *  Thread Starter [Arnoud](https://wordpress.org/support/users/derice/)
 * (@derice)
 * [1 year ago](https://wordpress.org/support/topic/plugin-increases-page-load-time-to-90-seconds/#post-18525776)
 * Hi Pablo,
   There are no outstanding invoices. Since I’ve used Azure Maps, no excess
   usage at all.Hosting provider asks what API’s the plugin is using. I already 
   mentioned atlas.microsoft.com.Perhaps there are more the plugin uses, even when
   I am not using other map providers? That might clarify the slowness. They suspect
   an IP-ban or IP-based usage limit. Do you have an overview?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Geo2 Maps Add-on for NextGEN Gallery] Plugin increases page load time to 90 seconds](https://wordpress.org/support/topic/plugin-increases-page-load-time-to-90-seconds/)
 *  Thread Starter [Arnoud](https://wordpress.org/support/users/derice/)
 * (@derice)
 * [1 year ago](https://wordpress.org/support/topic/plugin-increases-page-load-time-to-90-seconds/#post-18519923)
 * Hi Pablo,
 * Fair question on Azure Maps. My website has less than 100 visitors a month. 
   
   I also did not receive any message from Azure about overspent (I assume they 
   do that when approaching/exceeding the limit). I can’t imagine that this amount
   of visitors will cause an overpend of Azure Maps.
 * What I noticed while editing the site earlier this month, it was sluggish when
   going to edit a post, and eventually timing out.
   I’m not sure what was changed(
   if anything at all), I was just copying some text from the site to a local photo
   album I am making for print. I did not keep track of any updates to WordPress,
   etc. Also, may be important, when I run the exact same website/database/files
   locally, there is still some delay (4 seconds) on the plugin, no where near the
   90 seconds of the hosting.Hosting provider suggests to resolve it with the plugin
   developer (you), as they state the 4 seconds locally is also too much. To some
   degree, yes, but I feel it’s more a case now of bouncing their customer around
   and not willing to look into an issue on their end, which from my point ( and
   you response) might be a certainty. If you feel otherwise, let me know, I’m willing
   to help debug.Arnoud.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Geo2 Maps Add-on for NextGEN Gallery] Bing Maps – End of Life – migrate to Azure maps mandatory](https://wordpress.org/support/topic/bing-maps-end-of-life-migrate-to-azure-maps-mandatory/)
 *  Thread Starter [Arnoud](https://wordpress.org/support/users/derice/)
 * (@derice)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/bing-maps-end-of-life-migrate-to-azure-maps-mandatory/#post-18223901)
 * Thank you [@pablo2](https://wordpress.org/support/users/pablo2/) ! Well ahead
   of the deadline from Microsoft. Well done! 🙂
   Just managed to get the Azure Maps
   key. All works as expected on my end. Getting the key & account was quite easy.
   Hope my usage stays within the free tier. 😉You can mark this one as resolved.
   😀
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Geo2 Maps Add-on for NextGEN Gallery] Bing Maps – End of Life – migrate to Azure maps mandatory](https://wordpress.org/support/topic/bing-maps-end-of-life-migrate-to-azure-maps-mandatory/)
 *  Thread Starter [Arnoud](https://wordpress.org/support/users/derice/)
 * (@derice)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/bing-maps-end-of-life-migrate-to-azure-maps-mandatory/#post-18181337)
 * Take your time! There is still 6 months of time before Bing Maps is phased out.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Geo2 Maps Add-on for NextGEN Gallery] Bing Maps – End of Life – migrate to Azure maps mandatory](https://wordpress.org/support/topic/bing-maps-end-of-life-migrate-to-azure-maps-mandatory/)
 *  Thread Starter [Arnoud](https://wordpress.org/support/users/derice/)
 * (@derice)
 * [2 years ago](https://wordpress.org/support/topic/bing-maps-end-of-life-migrate-to-azure-maps-mandatory/#post-17848307)
 * Thanks, feel free to ping me if a test is needed. Happy 2 help.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Geo2 Maps Add-on for NextGEN Gallery] Route/Track not shown](https://wordpress.org/support/topic/route-track-not-shown/)
 *  Thread Starter [Arnoud](https://wordpress.org/support/users/derice/)
 * (@derice)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/route-track-not-shown/#post-14936121)
 * You’re a bit behind on your WordPress and PHP version.
    Any reason why you’re
   not yet on PHP8 and WP 5.8.1? What version of the plugin are you using? Updating
   to 2.0.4 fixed it for me.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Geo2 Maps Add-on for NextGEN Gallery] Route/Track not shown](https://wordpress.org/support/topic/route-track-not-shown/)
 *  Thread Starter [Arnoud](https://wordpress.org/support/users/derice/)
 * (@derice)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/route-track-not-shown/#post-14793166)
 * I’m suggesting to include the SQL query (I still need to write) into the plugin.
   
   So others might easily migrate from WP GPX Maps to Geo2Maps. The query would 
   replace the SGPX tag with the geo2 tag syntax. As both are quite similar it’s
   an easy “find and replace’ SQL query.
 * The relative path works just fine. I always use relative paths, so I can run 
   2 copies of my website. 1 for test/dev and one for production. 🙂
    Saves me the
   hassle of updating paths within posts, when testing.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Geo2 Maps Add-on for NextGEN Gallery] Route/Track not shown](https://wordpress.org/support/topic/route-track-not-shown/)
 *  Thread Starter [Arnoud](https://wordpress.org/support/users/derice/)
 * (@derice)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/route-track-not-shown/#post-14791844)
 * Thanks id=1 and lowercase xmlurl fixed my issue. 🙂
 * Now for me to write a SQL script to replace the
    `[sgpx nggalleries=324 gpx="/
   wp-content/uploads/2021/08/GPXFILE.gpx"]` with `[geo2 id=1 xmlurl=/wp-content/
   uploads/2021/08/GPXFILE.gpx]` (the actual URL doesn’t need to be included in 
   the statement).
 * But that’s relatively simple (backup first ofcourse).
    Might be interesting to
   include in the plugin (or documentation) for others that would like to migrate
   from WP GPX Maps ([https://nl.wordpress.org/plugins/wp-gpx-maps/](https://nl.wordpress.org/plugins/wp-gpx-maps/))?
   That plugin is no longer maintained it seems (and only 1.7.0.2 works as it should.
   Not PHP8 compatible either).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Geo2 Maps Add-on for NextGEN Gallery] Route/Track not shown](https://wordpress.org/support/topic/route-track-not-shown/)
 *  Thread Starter [Arnoud](https://wordpress.org/support/users/derice/)
 * (@derice)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/route-track-not-shown/#post-14791594)
 * Thanks, it seems to work when I use a Nextgen gallery into a post.
    But not when
   I combine the “PID” tag for example with the “xmlUrl”
 * How I build up my posts is:
 *     ```
       <text>
       <selected images from a gallery>
       <text>
       <selected image from the same gallery>
       <map with route + gallery thumbnails>
       ```
   
 * With GPX Maps that would be a code like:
    `sgpx nggalleries=324 gpx="/wp-content/
   uploads/2021/08/GPXFILE.gpx"]`
 * As there is no such option in Geo2Maps, I tried the following:
    `[geo2 pid=10374,10372,10375,10373,10376,10375,10377,10379,10378,10380,10382,10384,10381,10383,10350,10352,10347,10346,10348,10349,10361,10363,10385,10354,10351,10355,10357,10353,10356,10358,10360,10359,10362,10364,10365,10369,10370
   xmlUrl=/wp-content/uploads/2021/08/GPXFILE.gpx]`
 * This results in the thumbnails being displayed, but not the route.
 * The route is only displayed when I build up the post like:
 *     ```
       <text>
       <text>
       <text>
       <text>
       [ngg src="galleries" ids="1" display="basic_thumbnail"]
       [geo2 xmlUrl=/wp-content/uploads/2021/08/GPXFILE.gpx] 
       ```
   
 * Is there a way to make it work like my current setup? Specify the gallery to 
   display in the tag like WP GPX Maps, or make both the xmlURL & PID tag work together?

Viewing 15 replies - 1 through 15 (of 144 total)

1 [2](https://wordpress.org/support/users/derice/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/derice/replies/page/3/?output_format=md)…
[8](https://wordpress.org/support/users/derice/replies/page/8/?output_format=md)
[9](https://wordpress.org/support/users/derice/replies/page/9/?output_format=md)
[10](https://wordpress.org/support/users/derice/replies/page/10/?output_format=md)
[→](https://wordpress.org/support/users/derice/replies/page/2/?output_format=md)