Title: wfFileMods table duplicate entry
Last modified: August 30, 2016

---

# wfFileMods table duplicate entry

 *  [tonton_mtl](https://wordpress.org/support/users/tonton_mtl/)
 * (@tonton_mtl)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/wffilemods-table-duplicate-entry/)
 * Hi,
    We use WP Migrate DB Pro to sync our different environments. When it tries
   to copy the wfFileMods table the sync process stops because of a duplicate entry
   for primary key. Do you know what could cause this? Thank you, j.
 * [https://wordpress.org/plugins/wordfence/](https://wordpress.org/plugins/wordfence/)

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

 *  [WFBrian](https://wordpress.org/support/users/wfbrian/)
 * (@wfbrian)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/wffilemods-table-duplicate-entry/#post-6260645)
 * Is the table large. My guess is the auto increment on the primary key isn’t working
   correctly. You could try clearing the table and let it start to repopulate. I’m
   linking you to an older post on how to do it.
 * [https://wordpress.org/support/topic/clearing-wffilemods](https://wordpress.org/support/topic/clearing-wffilemods)
 * Thanks,
    Brian
 *  Thread Starter [tonton_mtl](https://wordpress.org/support/users/tonton_mtl/)
 * (@tonton_mtl)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/wffilemods-table-duplicate-entry/#post-6260809)
 * Hi,
 * No the table isn’t so large : 15k lines / 2MB.
 * So I’ll just empty the table and try again…
 *  [WFSupport](https://wordpress.org/support/users/wfsupport/)
 * (@wfsupport)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/wffilemods-table-duplicate-entry/#post-6260816)
 * You can always just install the plugin manually and export/import the settings.
 * tim

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

The topic ‘wfFileMods table duplicate entry’ is closed to new replies.

 * ![](https://ps.w.org/wordfence/assets/icon.svg?rev=2070865)
 * [Wordfence Security - Firewall, Malware Scan, and Login Security](https://wordpress.org/plugins/wordfence/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordfence/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordfence/)
 * [Active Topics](https://wordpress.org/support/plugin/wordfence/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordfence/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordfence/reviews/)

## Tags

 * [duplicate](https://wordpress.org/support/topic-tag/duplicate/)
 * [entry](https://wordpress.org/support/topic-tag/entry/)
 * [MySQL](https://wordpress.org/support/topic-tag/mysql/)

 * 3 replies
 * 3 participants
 * Last reply from: [WFSupport](https://wordpress.org/support/users/wfsupport/)
 * Last activity: [10 years, 10 months ago](https://wordpress.org/support/topic/wffilemods-table-duplicate-entry/#post-6260816)
 * Status: not resolved