• Hi,

    the last WordPress upgrade 5.6 introduced a new jquery version (“jquery.min.js?ver=3.5.1”). This killed on my site the drawing of the map.

    I will downgrade for now to the last WordPress version, but this is not a permanent solution. Could you kindly take a look to upgrade jquery dependencies? Thanks.

    br, Martin

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Thread Starter mogli235

    (@mogli235)

    Appearantly everything works fine on a clean install. Nevertheless I expierenced the situation as following with my freshly upgraded installation (to 5.6): The jquery script has been loaded later, than the wp_gpx_maps files.

    I fixed this by adding a script tag with src=”https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js” to my header file. Sure this is not an elegant solution, yet working for the time being.

    By the way: Since the update (probably to PHP 7.4) there are error messages in my php.log about line 152 in wp-gpx-maps-utils.php. A cast to an array fixed this:
    $count = count( (array) $points->lat );

Viewing 1 replies (of 1 total)
  • The topic ‘jquery.min.js?ver=3.5.1’ is closed to new replies.