Title: Not compatible with plugin autoptimize
Last modified: December 18, 2018

---

# Not compatible with plugin autoptimize

 *  Resolved [brimbelle](https://wordpress.org/support/users/brimbelle/)
 * (@brimbelle)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/not-compatible-with-plugin-autoptimize/)
 * OSM is notshowing a map whether in front end nor in back end when plugin autoprimize
   is enabled.
 * WP 5.0.1, cache empty
 * Thanks for an advice.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fnot-compatible-with-plugin-autoptimize%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Thread Starter [brimbelle](https://wordpress.org/support/users/brimbelle/)
 * (@brimbelle)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/not-compatible-with-plugin-autoptimize/#post-11002562)
 * I found out what it is.
    If you enable “Optimize JavaScript Code” then the incompatibility
   arises with autoptimize.
 *  [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/not-compatible-with-plugin-autoptimize/#post-11003142)
 * You’ll probably have to add OSM’s JS to the comma-separated JS optimization exclusion
   list. In that process you should keep an eye on your browser’s console for JS
   errors, as those will help you identify the problem.
 * [AO’s FAQ](https://wordpress.org/plugins/autoptimize/#faq) has more info on troubleshooting
   and how to exclude.
 * Weird that it doesn’t work on the backend though, as AO doesn’t optimized anything
   under wp-admin/ ..
 * hope this helps,
    frank (ao dev)
 *  Thread Starter [brimbelle](https://wordpress.org/support/users/brimbelle/)
 * (@brimbelle)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/not-compatible-with-plugin-autoptimize/#post-11006240)
 * Thanks for your help.
 * If I exclude “base-loader.js” the back end works, but not the front end.
 * I tried all .js from the browser console, maybe not quite right, but no map in
   the front end.
 * Therefore, I will not compresse the .js files and it works.
 *  Plugin Author [MiKa](https://wordpress.org/support/users/photoweblog/)
 * (@photoweblog)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/not-compatible-with-plugin-autoptimize/#post-11036381)
 * Thanks for the info!!

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

The topic ‘Not compatible with plugin autoptimize’ is closed to new replies.

 * ![](https://ps.w.org/osm/assets/icon-256x256.png?rev=2087144)
 * [OSM - OpenStreetMap](https://wordpress.org/plugins/osm/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/osm/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/osm/)
 * [Active Topics](https://wordpress.org/support/plugin/osm/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/osm/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/osm/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [MiKa](https://wordpress.org/support/users/photoweblog/)
 * Last activity: [7 years, 5 months ago](https://wordpress.org/support/topic/not-compatible-with-plugin-autoptimize/#post-11036381)
 * Status: resolved