Avatar of glepiza
glepiza asked on

Error when editing users

Dear experts,

For some reason I am unable to edit users on my drupal 7 installation. Everytime I try to update anything on an user account I get this error:

PDOException: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'user-28-0-page_manager' for key 'PRIMARY': INSERT INTO {panelizer_entity} (entity_type, entity_id, revision_id, did, view_mode) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4); Array ( [:db_insert_placeholder_0] => user [:db_insert_placeholder_1] => 28 [:db_insert_placeholder_2] => 0 [:db_insert_placeholder_3] => 0 [:db_insert_placeholder_4] => page_manager ) in drupal_write_record()

Do you know how can I work around on that error?

Thanks in advance,

DrupalWeb-Based CMSContent Management

Avatar of undefined
Last Comment

8/22/2022 - Mon
Matthew Kelly

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question

Hi Matt,

Thank you for your answer. And yes, I do have the latest drupal version. I am going to apply the patch you mentioned on the link and see what happens.
I will be back in a few.


Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy