Title: Error in php error log when moving marker
Last modified: March 31, 2020

---

# Error in php error log when moving marker

 *  Resolved [chrisselwyn](https://wordpress.org/support/users/chrisselwyn/)
 * (@chrisselwyn)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/error-in-php-error-log-when-moving-marker/)
 * 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](https://wordpress.org/support/users/perryrylance/)
 * (@perryrylance)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/error-in-php-error-log-when-moving-marker/#post-12605690)
 * Hi [@chrisselwyn](https://wordpress.org/support/users/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](https://wordpress.org/support/users/chrisselwyn/)
 * (@chrisselwyn)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/error-in-php-error-log-when-moving-marker/#post-12610479)
 * 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
 *  [perryrylance](https://wordpress.org/support/users/perryrylance/)
 * (@perryrylance)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/error-in-php-error-log-when-moving-marker/#post-12610998)
 * Hi [@chrisselwyn](https://wordpress.org/support/users/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.

 * ![](https://ps.w.org/wp-google-maps/assets/icon-256x256.png?rev=3058363)
 * [WP Go Maps - Google Maps, OpenStreetMap, Leaflet Map](https://wordpress.org/plugins/wp-google-maps/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-google-maps/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-google-maps/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-google-maps/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-google-maps/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-google-maps/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [perryrylance](https://wordpress.org/support/users/perryrylance/)
 * Last activity: [6 years, 2 months ago](https://wordpress.org/support/topic/error-in-php-error-log-when-moving-marker/#post-12610998)
 * Status: resolved