• Resolved Simon Cox

    (@simoncox)


    Hi,

    I am aware you have stopped supporting the free version except for occasional security patches etc but the issue is that with PHP8 the free version now causes a error and the page the map is on crashes entirely. Here is the error:

    /wp-content/plugins/leaflet-maps-marker/inc/showmap.php on line 483
     
    This is the line:
     
                                    $mlm_count_temp{$mlmrowcount} = $wpdb->get_var('SELECT count(*) FROM <code>'.$table_name_layers.'</code> as l INNER JOIN <code>'.$table_name_markers.'</code> AS m ON l.id=m.layer WHERE l.id='.intval($mlmrowcount));

    Its probably a small change that needs to be done to be compatible with php8 but without it every single website running the free version will crash. Would it be possible to release an update to the free version to fix the issue as appose to trying to manually fix it? Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi Simon,

    thanks for the notice about the PHP8 incompatbility. As you stated correctly, we stopped supporting “Leaflet Maps Marker” more than 2 years ago and we are since focusing on our pro version “Maps Marker Pro” which is actively developed and maintained. See https://www.mapsmarker.com/changelog/pro for full development log.

    The fix for the issue reported is pretty easy – just replace
    $mlm_count_temp{$mlmrowcount}
    with
    $mlm_count_temp[$mlmrowcount]
    in /inc/shopmap.php and the fatal error on frontend will be gone.

    I also hotfixed the current release, so that new installs and updates from older version from today on will not experience this issue. If you already have the latest version, you can also download the current plugin package and replace the file /wp-content/plugins/leaflet-maps-marker/inc/showmap.php on your server.

    Just be aware, that the plugin is not fully functional (anymore) due progress in browsers and libraries used. Our recommendation is still to use the integrated upgrader to migrate your data from the (retired) free version to our pro version (which still works). If you are unsure if Maps Marker Pro is an upgrade worth for you, you can try it for free for 30 days – if you use the coupon code

    LMM-RETIREMENT

    on checkout, you will get 10% off any license package.
    best regards & happy mapping!

    Robert

    Thread Starter Simon Cox

    (@simoncox)

    Hi Robert,

    Thats great, thanks for you help and quick response, much appreciated. I will look into the Pro version.

    Simon

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP 8’ is closed to new replies.