WordPress.org

Ready to get started?Download WordPress

Forums

Simple Real Estate Pack
[resolved] SRP 1.2.9 loads Google Maps API on EVERY page (4 posts)

  1. Mike
    Member
    Posted 1 year ago #

    I noticed that some of my Google maps were not working after updating SRP. Console showed the following warning:

    Warning: you have included the Google Maps API multiple times on this page. This may cause unexpected errors.

    I viewed source of a page with no SRP modules and no other Google maps and found that the Google Maps API was still being loaded. Disabled SRP and it went away.

    SRP should not be loading Google Maps API on pages where it is not called for. I'll be rolling back to a previous version until this is corrected.

    Incidentally, why is 1.2.8 missing in the Changelog? Is that not a stable version?

    http://wordpress.org/extend/plugins/simple-real-estate-pack-4/

  2. Mike
    Member
    Posted 1 year ago #

    Well, I guess SRP has been doing this a while and I just hadn't noticed. I rolled all the way back to 1.2.6 and it still loads Google Maps API on every page. Hope this gets fixed soon.

  3. Max Chirkov
    Member
    Plugin Author

    Posted 1 year ago #

    That is true. I've changes something things and new update v.1.2.10 should load Google Maps API only on the pages with maps.

  4. Mike
    Member
    Posted 1 year ago #

    Sweet, thanks for the fix!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.