impress-org / google-maps-builder

One Google Maps plugin to rule them all. Google Maps Builder is intuitive, sleek, powerful and easy to use. Forget the rest, use the best.
https://wordpress.org/plugins/google-maps-builder/
32 stars 9 forks source link

TypeError: $(...).qtip is not a function #259

Closed DarwinOnLine closed 6 years ago

DarwinOnLine commented 6 years ago

Hello,

When I try to create or update an existing map, I have this error : TypeError: $(...).qtip is not a function

Trace

gmb.initialize_tooltips     /wp-content/plugins/google-maps-builder/vendor/wordimpress/maps-builder-core/assets/js/admin/admin-google-map.min.js:1:28364
gmb.init                    /wp-content/plugins/google-maps-builder/vendor/wordimpress/maps-builder-core/assets/js/admin/admin-google-map.min.js:1:92
<anonyme>                   /wp-content/plugins/google-maps-builder/vendor/wordimpress/maps-builder-core/assets/js/admin/admin-google-map.min.js:1:29129
dispatch                    /wp-admin/load-scripts.php:3:12392
add/r.handle                /wp-admin/load-scripts.php:3:9156

Occurred on Wordpress 4.9.1 and plugin 2.1.2

mathetos commented 6 years ago

Hi @DarwinOnLine this is most often caused by one of the following:

1) Your site enqueue's a custom version of jQuery instead of WordPress's default version. 2) You have JS minification or concatenation via a caching plugin and it's causing our script to be loaded before jQuery.

Can you eliminate those two items from being the cause of this?

DarwinOnLine commented 6 years ago

Hello Matt,

Thank you for your response, I have some additional information about this issue. In the admin page, the HTML rendering seems to be brutally stopped after that :

<label for="gmb_theme_json">Custom Map Theme JSON</label>
</div>
    <div class="cmb-td">

So, actually the dedicated jQuery is not present since it is not declared...

No custom jQuery and no JS minification, problem occur in admin section (/wp-admin/post.php?post=1234&action=edit) and no custom behavior has been added.

DarwinOnLine commented 6 years ago

OK, problem solved. My web host have upgraded PHP version from 7.1 to 7.2. I went back to 7.1 and everything works fine.

DevinWalker commented 6 years ago

Closing in favor of #217

imansugirman commented 5 years ago

Error DIsable Open Map Builder jepretan layar 2018-09-19 pada 14 42 03

pimmesz commented 5 years ago

Error DIsable Open Map Builder jepretan layar 2018-09-19 pada 14 42 03

Same issue here!