Title: [Plugin: User Access Manager] WordPress database error : duplicate entry
Last modified: August 20, 2016

---

# [Plugin: User Access Manager] WordPress database error : duplicate entry

 *  Resolved [privard](https://wordpress.org/support/users/privard/)
 * (@privard)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-user-access-manager-wordpress-database-error-duplicate-entry/)
 * Hi,
 * I’ve recently started getting the following error (number of duplicate entry 
   errors changes from time to time) when I try to update any kind of post restricted
   to a user group.
 *     ```
       WordPress database error: [Duplicate entry '305-attachment-1' for key 'PRIMARY']
       INSERT INTO wp_uam_accessgroup_to_object ( group_id, object_id, object_type ) VALUES ( '1', '305', 'attachment' )
   
       WordPress database error: [Duplicate entry '305-attachment-1' for key 'PRIMARY']
       INSERT INTO wp_uam_accessgroup_to_object ( group_id, object_id, object_type ) VALUES ( '1', '305', 'attachment' )
   
       WordPress database error: [Duplicate entry '305-attachment-1' for key 'PRIMARY']
       INSERT INTO wp_uam_accessgroup_to_object ( group_id, object_id, object_type ) VALUES ( '1', '305', 'attachment' )
   
       WordPress database error: [Duplicate entry '305-attachment-1' for key 'PRIMARY']
       INSERT INTO wp_uam_accessgroup_to_object ( group_id, object_id, object_type ) VALUES ( '1', '305', 'attachment' )
       ```
   
 * My steps to get this error are this exactly: In the admin panel, select a page
   and click “edit”. Then on the edit page, press “update”. Then I get a blank page
   with the errors above.
 * Any ideas?
 * Thanks.
 * [http://wordpress.org/extend/plugins/user-access-manager/](http://wordpress.org/extend/plugins/user-access-manager/)

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

 *  [harishchand](https://wordpress.org/support/users/harishchand/)
 * (@harishchand)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/plugin-user-access-manager-wordpress-database-error-duplicate-entry/#post-2871197)
 * same issue with my site also….
 *  Plugin Author [gm_alex](https://wordpress.org/support/users/gm_alex/)
 * (@gm_alex)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/plugin-user-access-manager-wordpress-database-error-duplicate-entry/#post-2871198)
 * Could you try the latest version and give feedback? Thanks.
 *  Plugin Author [gm_alex](https://wordpress.org/support/users/gm_alex/)
 * (@gm_alex)
 * [13 years ago](https://wordpress.org/support/topic/plugin-user-access-manager-wordpress-database-error-duplicate-entry/#post-2871199)
 * Fixed in the newest version.

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

The topic ‘[Plugin: User Access Manager] WordPress database error : duplicate entry’
is closed to new replies.

 * ![](https://ps.w.org/user-access-manager/assets/icon.svg?rev=1563783)
 * [User Access Manager](https://wordpress.org/plugins/user-access-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/user-access-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/user-access-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/user-access-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/user-access-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/user-access-manager/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [gm_alex](https://wordpress.org/support/users/gm_alex/)
 * Last activity: [13 years ago](https://wordpress.org/support/topic/plugin-user-access-manager-wordpress-database-error-duplicate-entry/#post-2871199)
 * Status: resolved