Support » Plugin: User Access Manager » [Plugin: User Access Manager] Database error

  • I’m getting this error message:

    WordPress database error: [Duplicate entry ‘624-attachment-1’ for key ‘PRIMARY’]
    INSERT INTO wpsvt_uam_accessgroup_to_object ( group_id, object_id, object_type ) VALUES ( ‘1’, ‘624’, ‘attachment’ )

    This happens after I try to lock files atteched to some page.

    Ideas, anyone?

Viewing 1 replies (of 1 total)
  • Noticed that there are duplicate entries in the objectTypes array located in the class UamAccessHandler. Wrapped the array_merge() in two places with array_unique() to remove the duplicates. It seems working now, hopefully.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: User Access Manager] Database error’ is closed to new replies.