Title: Deactivate Leaflet
Last modified: April 1, 2022

---

# Deactivate Leaflet

 *  Resolved [gaerber](https://wordpress.org/support/users/gaerber/)
 * (@gaerber)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/deactivate-leaflet/)
 * Hey there,
    I’m using a theme wich is already using Leaflet and the otter-blocks
   plugin is importing this too, this is the reason why elements of the theme aren’t
   working anymore. (Map)
 * Is there a way to deactivate it and use only the imported script from the theme?
 * kind regards
    Fabian
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdeactivate-leaflet%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Hardeep Asrani](https://wordpress.org/support/users/hardeepasrani/)
 * (@hardeepasrani)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/deactivate-leaflet/#post-15519134)
 * Hey [@gaerber](https://wordpress.org/support/users/gaerber/),
 * Are you using the Leaflet Block from Otter while wanting to use Leaflet script
   from the theme? Or are you also using the Leaflet map elements from the theme?
 * Thank you!
 *  Thread Starter [gaerber](https://wordpress.org/support/users/gaerber/)
 * (@gaerber)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/deactivate-leaflet/#post-15519789)
 * Hello [@hardeepasrani](https://wordpress.org/support/users/hardeepasrani/),
 * thanks for your reply I’m only using the map from the theme. In my case the Otter
   Map is not needed.
 * Thanks for your help.
 *  Plugin Author [Hardeep Asrani](https://wordpress.org/support/users/hardeepasrani/)
 * (@hardeepasrani)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/deactivate-leaflet/#post-15520386)
 * Hey [@gaerber](https://wordpress.org/support/users/gaerber/),
 * That’s weird, the leaflet map assets shouldn’t load if the map block is not used.
   I see that your Leaflet maps aren’t working so can you try to disable Otter for
   testing and see if Leaflet maps load?
 * Let me know what happens.
 *  Thread Starter [gaerber](https://wordpress.org/support/users/gaerber/)
 * (@gaerber)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/deactivate-leaflet/#post-15556153)
 * Hello [@hardeepasrani](https://wordpress.org/support/users/hardeepasrani/),
 * sorry for late reply. I now deactivated otter. This will result in a error 500
   for chrome but only on the frontpage I don’t know why. But it’s not important
   yet.
    If you visit [https://neogutachter.de/?s=&post_type=job_listing&search_type=listing&listing_sort=newest&explore_by=default&selected_country=0&saved_address=&saved_postcode=&listing_regions=96&listing_categories=&listing_amenities=](https://neogutachter.de/?s=&post_type=job_listing&search_type=listing&listing_sort=newest&explore_by=default&selected_country=0&saved_address=&saved_postcode=&listing_regions=96&listing_categories=&listing_amenities=)
 * you can see the map is now loading and no errors are thrown.
 * If you need credentials I can send them to you.
 * Thanks for your help
 * kind regards
    Fabian
 *  Plugin Author [Hardeep Asrani](https://wordpress.org/support/users/hardeepasrani/)
 * (@hardeepasrani)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/deactivate-leaflet/#post-15558239)
 * Hi [@gaerber](https://wordpress.org/support/users/gaerber/),
 * It will be great if you can contact us from [hardeep@themeisle.com](https://wordpress.org/support/topic/deactivate-leaflet/hardeep@themeisle.com?output_format=md)
   with the link to this thread. Thank you!

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Deactivate Leaflet’ is closed to new replies.

 * ![](https://ps.w.org/otter-blocks/assets/icon-256x256.gif?rev=3452114)
 * [Otter Blocks - Gutenberg Blocks, Page Builder for Gutenberg Editor & FSE](https://wordpress.org/plugins/otter-blocks/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/otter-blocks/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/otter-blocks/)
 * [Active Topics](https://wordpress.org/support/plugin/otter-blocks/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/otter-blocks/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/otter-blocks/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Hardeep Asrani](https://wordpress.org/support/users/hardeepasrani/)
 * Last activity: [4 years, 1 month ago](https://wordpress.org/support/topic/deactivate-leaflet/#post-15558239)
 * Status: resolved