• Hello!

    I just downloaded the plugin to replace another SVG-based interactive map plugin and set up everything that I wanted. Unfortunately, I cannot get the map to display on any page, but I can see that it is there using Chrome Inspector.

    In addition to the page listed above, I also have the map on this page https://www.ericnisall.com/quick-cheap-llc-formation/ with the same issue.

    On the Settings page I do have this message: Warning: call_user_func() expects parameter 1 to be a valid callback, function ‘rvm_section_main’ not found or invalid function name in /home/fallen8/public_html/ericnisall.com/wp-admin/includes/template.php on line 1332

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter Eric J. Nisall

    (@fallen8)

    Oh, just so you know, the map that is showing on the page is from the other plugin. I tried deactivating it and that didn’t solve the problem, but I need to have something on the page so that’s why it remains for now.

    Plugin Author Enrico Urbinati

    (@enrico-urbinati)

    Hi fallen8,

    I think the problem is jQuery: jQuery is loaded in the footer, while map js library are loaded earlier then jQuery (which is the default library of WordPress).

    Do you somehow load javascript in the footer? If the answer is yes, could you try excluding jQuery to be loaded on footer and see if it works?

    Thanks for reaching me out and using RVM

    Thread Starter Eric J. Nisall

    (@fallen8)

    Ok, yes that worked.

    The reason I had JavaScript loading in the footer is that every single resource on the subject of improving site speed and performance suggests it.

    If I may suggest, you may want to consider that in your next update of the plug-in so that it works with this feature, especially if you consider how important it is.

    Thanks for the reply and the assistance!

    Plugin Author Enrico Urbinati

    (@enrico-urbinati)

    Hi fallen8,

    Thanks for the advice. I know loading javascript in the footer may benefit pages loading speed, but actually is the only way to make the svg be generated when page loads. By the way the other javascript related to single map generation is loaded in the footer.
    Only jQuery needs to be loaded in the head.

    All the best.

    P.S.: Just out of curiosity, why you wanted to use RVM instead of the other plugin you’re using for USA?

    Thanks

    Thread Starter Eric J. Nisall

    (@fallen8)

    I was just saying because the other plugin works with the JS loaded in the footer which is why I didn’t think of that as being the issue here.

    In all honesty, the other one is from Envato Market and that system doesn’t update through the WordPress backend like yours would. I find that to be a very annoying process to have to take those extra steps to download and then manually overwriting the plugin files.

    Plugin Author Enrico Urbinati

    (@enrico-urbinati)

    Thanks for your prompt and kind reply.

    All the best for your projects and have a lovely day!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Map isn’t Visible’ is closed to new replies.