• Resolved chrisselwyn

    (@chrisselwyn)


    I get an error in my php error.log file saying

     WordPress database error Unknown column 'lnglat' in 'field list' for query UPDATE wp_wpgmza
     SET lat='51.32707321710987',
                            lng='-2.4781300968505793',
                            latlng=ST_GeomFromText('POINT(51.32707321711 -2.4781300968506)'),
                            lnglat=ST_GeomFromText('POINT(51.32707321711 -2.4781300968506)')
                            WHERE id=2 made by require_once('wp-admin/admin-header.php'), do_action('admin_head'), WP_Hook->do_action, WP_Hook->apply_filters, wpgmaps_head_pro, WPGMZA\ProMarker->__set, WPGMZA\Marker->__set, WPGMZA\Marker->update_latlng

    There is a comment in wpGoogleMaps.php saying ” Removed experimental lnglat column”
    I’m not sure that the removal was done completely.

    I am using 8.0.21 of maps and 8.0.25 of pro.

Viewing 3 replies - 1 through 3 (of 3 total)
  • perryrylance

    (@perryrylance)

    Hi @chrisselwyn

    Thank you very much for bringing this to our attention,

    We can confirm this issue is present in 8.0.21 and reproducible at our end, we’ve patched this in 8.0.22 which we will put to release in the next 24 – 48 hours.

    If you need an immediate fix, you can manually add that column (POINT) in phpMyAdmin, or feel free to reach out to us for a pre-release if this is urgent.

    Does that help?

    Kind regards
    – Perry

    Thread Starter chrisselwyn

    (@chrisselwyn)

    Thanks for the info. I took the opposite approach to solving the problem locally. I assumed that the lnglat column should indeed not be there so I removed the lines from the SQL that update the lnglat column. I will get your new release when it happens.

    Chris

    Hi @chrisselwyn

    I can confirm we’ve applied exactly the same change at our end, so you can rest assured that this won’t come again after applying the next update.

    Thank you again for your time in bringing this to our attention!

    Kind regards
    – Perry

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error in php error log when moving marker’ is closed to new replies.