Title: Duplicate Locations &#8211; error message while syncing
Last modified: August 31, 2016

---

# Duplicate Locations – error message while syncing

 *  Resolved [elduderino](https://wordpress.org/support/users/andiemacht/)
 * (@andiemacht)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/duplicate-locations-error-message-while-syncing/)
 * Hey.
 * Got another problem since I updated.
    I am getting the following error message
   while syncing on several events and a new location is created every time.
 *     ```
       Skipping already synchronized event: 1603
       Warning: mysqli_real_escape_string() expects parameter 2 to be string, array given in /homepages/3/d434234131/htdocs/pph-net/wp-includes/wp-db.php on line 1127
   
       Warning: mysqli_real_escape_string() expects parameter 2 to be string, array given in /homepages/3/d434234131/htdocs/pph-net/wp-includes/wp-db.php on line 1127
   
       Inserting location: 104
       ```
   
 * [https://wordpress.org/plugins/eme-sync-facebook-events/](https://wordpress.org/plugins/eme-sync-facebook-events/)

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

 *  Plugin Author [Franky](https://wordpress.org/support/users/liedekef/)
 * (@liedekef)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/duplicate-locations-error-message-while-syncing/#post-7018315)
 * Ok, can you check if this fixes it for you:
 * [http://plugins.trac.wordpress.org/changeset/1341385](http://plugins.trac.wordpress.org/changeset/1341385)
 *  Thread Starter [elduderino](https://wordpress.org/support/users/andiemacht/)
 * (@andiemacht)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/duplicate-locations-error-message-while-syncing/#post-7018329)
 * hey. you re tearing every record in response!
 * With this change the errormessage is gone and the syncing runs faster. But it
   still creates new locations on the same events. Guess its because these occure
   in locations which doesnt exist as specific location on facebook itself.
 *  Plugin Author [Franky](https://wordpress.org/support/users/liedekef/)
 * (@liedekef)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/duplicate-locations-error-message-while-syncing/#post-7018338)
 * Tx 🙂
    You can tune the location-thingie a bit in the plugin (so it searches 
   for existing locations based on e.g. the name or coordinates and not only on 
   the facebook location id)

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

The topic ‘Duplicate Locations – error message while syncing’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/eme-sync-facebook-events.svg)
 * [EME Sync Events](https://wordpress.org/plugins/eme-sync-facebook-events/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/eme-sync-facebook-events/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/eme-sync-facebook-events/)
 * [Active Topics](https://wordpress.org/support/plugin/eme-sync-facebook-events/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/eme-sync-facebook-events/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/eme-sync-facebook-events/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Franky](https://wordpress.org/support/users/liedekef/)
 * Last activity: [10 years, 4 months ago](https://wordpress.org/support/topic/duplicate-locations-error-message-while-syncing/#post-7018338)
 * Status: resolved