User Access Manager
Database error (2 posts)

  1. la_ri_za
    Posted 3 years ago #

    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?


  2. Jussi
    Posted 3 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • User Access Manager
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic