Maps not showing

This topic contains 8 replies, has 3 voices, and was last updated by  Paolo 10 years, 4 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #32821

    Jose Salazar
    Free User
    Post count: 3

    Hi!

    After setting up the plugin and adding dummy data, my maps are not showing at all.

    Found the following errors:

    1) In geodirectory.js: undefined is not a function => jQuery(‘#post-gallery a’).lightBox({

    2) In map.js: undefined is not a function => // Create map
    jQuery(“#” + map_canvas).goMap(options);

    Any suggestions? Thank you in advance

    #32853

    Simone
    Expired Member
    Post count: 3515

    Hello Jose, please post url and login details so we can have a look, thanks.

    #32864

    Jose Salazar
    Free User
    Post count: 3
    This reply has been marked as private.
    #32871

    Simone
    Expired Member
    Post count: 3515

    Hi, could please test it with another theme? It might be a theme Issue, also, what plugins do you have activated on your main network plugin section?

    #32912

    Paolo
    Site Admin
    Post count: 31211

    I see several problems.

    jQuery is called 3 times.

    1 from within wordpress, 1 from Google CDN, 1 from jQuery CDN.

    There is also a theme script in header as Simone suggested. You should change all jQuery declaration made with $ to jQuery.

    I’m referring to this:

    
    
    <script>
    $(document).ready(function () {
        var sticky = $('.s-nav'),
            defaultHeader = $('.b-nav'),
            header = $('#masthead'),
            defaultShowing = true,
            didScroll = false;
    
        $(window).on("scroll", function (e) {
            didScroll = true;
        }); .... continues 

    I would also try to deactivate all non GD plugins to see if the problem goes away and if it does, reactivate 1 by 1 until the culprit is discovered.

    Let us know,

    Thx

    #32915

    Jose Salazar
    Free User
    Post count: 3

    Hi, I installed the plugin on a diff theme and it worked…so i guess that was the issue, but if I would like to keep using that theme there is no way to fix this particular issue?

    Thanks

    #32917

    Paolo
    Site Admin
    Post count: 31211

    Yes, you will have to fix the theme scripts as suggested above. I think it is definitely feasible…

    Thanks

    #32933

    Jose Salazar
    Free User
    Post count: 3

    Awesome guys! that did the job.

    Really appreciate your help!

    Thanks again!

    #32934

    Paolo
    Site Admin
    Post count: 31211
    This reply has been marked as private.
Viewing 9 posts - 1 through 9 (of 9 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount