Title: Plugin JS error
Last modified: April 30, 2018

---

# Plugin JS error

 *  Resolved [Sinisa Nikolic](https://wordpress.org/support/users/sin2384/)
 * (@sin2384)
 * [8 years ago](https://wordpress.org/support/topic/plugin-js-error-2/)
 * 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](https://wordpress.org/support/users/clickmaps/)
 * (@clickmaps)
 * [8 years ago](https://wordpress.org/support/topic/plugin-js-error-2/#post-10232717)
 * 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](https://www.wpmapplugins.com/assets/contact.html)
   us so we can get more information and be able to assist you.
 * Kind regards
    [wpmapplugins.com](https://www.wpmapplugins.com/) Support Team
 *  Thread Starter [Sinisa Nikolic](https://wordpress.org/support/users/sin2384/)
 * (@sin2384)
 * [8 years ago](https://wordpress.org/support/topic/plugin-js-error-2/#post-10238489)
 * 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](https://wordpress.org/support/users/clickmaps/)
 * (@clickmaps)
 * [8 years ago](https://wordpress.org/support/topic/plugin-js-error-2/#post-10242849)
 * 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](https://www.wpmapplugins.com/assets/contact.html) form.
 * Kind regards
    [wpmapplugins.com](https://www.wpmapplugins.com/) Support Team
 *  Thread Starter [Sinisa Nikolic](https://wordpress.org/support/users/sin2384/)
 * (@sin2384)
 * [8 years ago](https://wordpress.org/support/topic/plugin-js-error-2/#post-10243238)
 * 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.

 * ![](https://ps.w.org/interactive-us-map/assets/icon-256x256.png?rev=1789494)
 * [Interactive US Map](https://wordpress.org/plugins/interactive-us-map/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/interactive-us-map/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/interactive-us-map/)
 * [Active Topics](https://wordpress.org/support/plugin/interactive-us-map/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/interactive-us-map/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/interactive-us-map/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Sinisa Nikolic](https://wordpress.org/support/users/sin2384/)
 * Last activity: [8 years ago](https://wordpress.org/support/topic/plugin-js-error-2/#post-10243238)
 * Status: resolved