• Hi,

    I’m getting this error in the console: “Uncaught ReferenceError: usr_config is not defined” in map-interact.js on line 13. This error blocks everything in wordpress backend, so please fix it. I can’t click on text, visual, or anything JS related.

    Thanks in advance.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author WP Map Plugins

    (@clickmaps)

    Hi Sinisa,

    That could be conflict with another plugin, you can deactivate other plugins one by one and see which one is conflicting with the map.

    If you still have that issue, please contact us so we can get more information and be able to assist you.

    Kind regards
    wpmapplugins.com
    Support Team

    Thread Starter Sinisa Nikolic

    (@sin2384)

    Hi,

    yes, plugin conflicts with Divi Builder, not sure why though. I searched for the variable usr_config and us_config in the Divi builder – didn’t find it.
    Just to be clear, I’m using Version 2.2.3 and plugin name is US MAP in production, not US REGIONAL MAP. This is a client’s site, and I’m not sure if there are multiple versions of the plugin. Can you explain this?

    However, this error happens only in the back end, in both plugin versions (US MAP and US REGIONAL MAP). It happens because map-interact.js is loaded in the back end, and I don’t see the reason why?

    As soon as I delete shortcode [usr_map] Divi builder starts working.

    Plugin Author WP Map Plugins

    (@clickmaps)

    Hi Sinisa,

    The US regional map is a free plugin that you can use as a regional map or use it as a trial version before you purchase the premium US map with clickable states.

    We recently received a message regarding a conflict with divi builder and we did investigated the issue and we found that the map is working perfectly in the WordPress admin panel dashboard and you should be able to edit and customize the map as you wish, also the map is working just fine in the frontend page.

    However when you use the map shortcode in divi builder in the backend, the builder stop working. The problem is that divi builder is trying to display everything in the builder (in general that could be good thing to facilitate editing of content), but it fails to load the interactive map with its related scripts and gives errors, maybe because the builder is designed to handle specific or simple content (images, text, or preset content).

    We got in touch with the friendly divi team and offered them a suggestion of a possible fix for this conflict by simply displaying the shortcode as a text (just like default WordPress workflow) instead of trying to display the interactive map with all its supporting files, and they said they will added this to their bug tracker for investigation by their Dev team. They will be investigating it and if it is something they can fix that would be done in the next couple of releases.

    Meanwhile, I suggest that you deactivate either the map plugin or the divi builder while editing that specific page.

    I hope that gives you a clear answer to your questions.

    If you have any specific questions related to the premium US map, please use this contact form.

    Kind regards
    wpmapplugins.com
    Support Team

    Thread Starter Sinisa Nikolic

    (@sin2384)

    Thank you very much for the detailed answer!

    Best regards,
    Sinisa

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Plugin JS error’ is closed to new replies.