Enabling Minification in Hummingbird breaks Avada Map

When enabling the Minification module in Humminbird, even with NO files minified or combined, the maps in Avada stop working.

WP 4.7.5
Hummingbird 1.5.0
Avada 5.1.6

No debug.log output.

JS Console when Minification is enabled

(index):444 Uncaught ReferenceError: google is not defined
    at (index):444
(anonymous)	@	(index):444
  • Kasia Swiderska

    Hello Bastien,

    I'm very sorry for the late response. I had access to Avada and tested this issue on testing site where I could replicate the problem.
    Seems that when Minification is enabled, but files are not minified, combined and moved to footer it still does order enqueued files.
    In case of google maps scripts in Avada it moves google maps script from original place and puts it with other fusion scripts after the map.
    When we disable minification, script goes before map and then error is gone.

    I will discuss this with plugin developer and see what can be done there to avoid this issue. As soon I will get feedback, I will update thread.

    kind regards,

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.