Support » Plugin: OSM - OpenStreetMap » Not compatible with plugin autoptimize

  • Resolved brimbelle


    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 to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • I found out what it is.
    If you enable “Optimize JavaScript Code” then the incompatibility arises with autoptimize.

    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 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)

    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


    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.