Conflict with Hubspot plugin
-
When I have the WP Find Your Nearest and Hubspot plugins active at the same time and try to search by ZIP code, the wheel spins and spins. In the console, I have this warning:
“Warning: you have included the Google Maps API multiple times on this page. This may cause unexpected errors.”
The error refers to this file: https://maps.gstatic.com/intl/en_us/mapfiles/api-3/14/1/main.js
When I disable the Hubspot plugin, it works fine. When I revert back to the old version of the FYN plugin, its performance is hit and miss between browser/OS configurations. (It usually works fine for me on Mac/Chrome, but in other cases throws the error “Postcode not found!undefined, US”.)
Unfortunately, my client requires the Hubspot plugin so removing it is not an option. I’m assuming the conflict has something to do with how the Google Maps API is being called. Do you have any idea why the new FYN version would be causing conflicts where the previous version was not?
Thanks in advance!
- The topic ‘Conflict with Hubspot plugin’ is closed to new replies.