Skip Navigation

[Resolved] All Maps disappear after WordPress 4.9.1 update

This thread is resolved. Here is a description of the problem and solution.

Problem: All the maps I created with Toolset Maps and Views have disappeared after I updated to WordPress 4.9.1

Solution: There is a blocking JavaScript error related to the custom theme in use:

wp-mediaelement.min.js?ver=4.9.1:1 Uncaught TypeError: b(...).not(...).filter(...).mediaelementplayer is not a function
    at HTMLDocument.a (wp-mediaelement.min.js?ver=4.9.1:1)
    at i (jquery.min.js:2)
    at Object.fireWith [as resolveWith] (jquery.min.js:2)
    at Function.ready (jquery.min.js:2)
    at HTMLDocument.J (jquery.min.js:2)

The same maps tested in a default theme like Twenty Seventeen function correctly, so it seems there is a conflict in the custom theme that must be resolved.

This support ticket is created 6 years, 11 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 2 replies, has 2 voices.

Last updated by BD 6 years, 11 months ago.

Assisted by: Christian Cox.

Author
Posts
#596030

BD

After updating all plugins to the latest versions, maps worked fine. I then updated to WordPress 4.9.1 and now none of the maps appear. I have tried the instructions on this page: https://toolset.com/errata/map-fails-to-load-after-refreshing-the-page/ but it didn't help.

Please could you advise? Thanks, Nick

#596103

Hi, I see a JavaScript error on your destination pages. It's blocking all subsequent JavaScript execution, including Maps initialization scripts:

wp-mediaelement.min.js?ver=4.9.1:1 Uncaught TypeError: b(...).not(...).filter(...).mediaelementplayer is not a function
    at HTMLDocument.a (wp-mediaelement.min.js?ver=4.9.1:1)
    at i (jquery.min.js:2)
    at Object.fireWith [as resolveWith] (jquery.min.js:2)
    at Function.ready (jquery.min.js:2)
    at HTMLDocument.J (jquery.min.js:2)

I activated the Twenty Seventeen theme, then I created a Content Template for GW Destination posts, and added the following code:

[wpv-map-render map_id='location' single_zoom='3' marker_icon='/wp-content/uploads/2016/06/grey-wolf-marker.png'][wpv-map-marker map_id='location' marker_id='locationmarker' marker_field='wpcf-location'][/wpv-map-marker]

The map shows up as expected, and the mediaelement error isn't logged...so something is going on in your theme that results in this error being thrown. Can you confirm the same behavior on your site?

#596196

BD

Hi Christian, Thanks very much - sorry, I missed that one. All fixed, Nick