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,

Who is Participating?
Matthew KellyConnect With a Mentor Commented:
What version of 7? 7.23 is the latest, released August 8th, 2013.

It appears to be a problem with the panelizer code and requires an update/patch:

Unable to tell if the bug fix is included in an update or requires the patch file based on the release notes:
glepizaAuthor Commented:
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.

glepizaAuthor Commented:
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.