Title: Plugin Conflict corrupts user_meta data
Last modified: August 30, 2016

---

# Plugin Conflict corrupts user_meta data

 *  [Radices](https://wordpress.org/support/users/radices/)
 * (@radices)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/plugin-conflict-corrupts-user_meta-data/)
 * Ver1.8 breaks when Pie Register plugin is active. [https://wordpress.org/plugins/pie-register/](https://wordpress.org/plugins/pie-register/)
 * The problem is that when a user is edited it corrupts the serialized data in 
   the user_meta table for both the admin doing the editing and the user being edited.
   The result is :
 *     ```
       a:13:{i:0;s:13:"administrator";s:26:"wpcf_custom_post_type_view";b:1;s:26:"wpcf_custom_post_type_edit";b:1;s:33:"wpcf_custom_post_type_edit_others";b:1;s:25:"wpcf_custom_taxonomy_view";b:1;s:25:"wpcf_custom_taxonomy_edit";b:1;s:32:"wpcf_custom_taxonomy_edit_others";b:1;s:22:"wpcf_custom_field_view";b:1;s:22:"wpcf_custom_field_edit";b:1;s:29:"wpcf_custom_field_edit_others";b:1;s:25:"wpcf_user_meta_field_view";b:1;s:25:"wpcf_user_meta_field_edit";b:1;s:32:"wpcf_user_meta_field_edit_others";b:1;}
       ```
   
 * [https://wordpress.org/plugins/types/](https://wordpress.org/plugins/types/)

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

 *  [Marcin Pietrzak](https://wordpress.org/support/users/iworks/)
 * (@iworks)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/plugin-conflict-corrupts-user_meta-data/#post-6446961)
 * Dear Radices
 * Could you describe hoe to reproduce this issue? Step by step?
 * Thanks,
    Marcin
 *  Thread Starter [Radices](https://wordpress.org/support/users/radices/)
 * (@radices)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/plugin-conflict-corrupts-user_meta-data/#post-6447001)
 * 1. Install the Pie Registration plugin and activate it.
 * 2. Edit a User profile and save it.
 * This should result in the wp_capabilities being corrupted in the wp_usermeta 
   table and you lose all capabilities as does the user you were editing. The only
   way back in is to edit the wp_capabilities using phpMyAdmin.
 * In 1.7.11 this is what is saved:
 * `a:13:{s:26:"wpcf_custom_post_type_view";b:1;s:26:"wpcf_custom_post_type_edit";
   b:1;s:33:"wpcf_custom_post_type_edit_others";b:1;s:25:"wpcf_custom_taxonomy_view";
   b:1;s:25:"wpcf_custom_taxonomy_edit";b:1;s:32:"wpcf_custom_taxonomy_edit_others";
   b:1;s:22:"wpcf_custom_field_view";b:1;s:22:"wpcf_custom_field_edit";b:1;s:29:"
   wpcf_custom_field_edit_others";b:1;s:25:"wpcf_user_meta_field_view";b:1;s:25:"
   wpcf_user_meta_field_edit";b:1;s:32:"wpcf_user_meta_field_edit_others";b:1;s:
   13:"administrator";b:1;}`
 * In 1.8 this is what is saved as noted:
 *     ```
       a:13:{i:0;s:13:"administrator";s:26:"wpcf_custom_post_type_view";b:1;s:26:"wpcf_custom_post_type_edit";b:1;s:33:"wpcf_custom_post_type_edit_others";b:1;s:25:"wpcf_custom_taxonomy_view";b:1;s:25:"wpcf_custom_taxonomy_edit";b:1;s:32:"wpcf_custom_taxonomy_edit_others";b:1;s:22:"wpcf_custom_field_view";b:1;s:22:"wpcf_custom_field_edit";b:1;s:29:"wpcf_custom_field_edit_others";b:1;s:25:"wpcf_user_meta_field_view";b:1;s:25:"wpcf_user_meta_field_edit";b:1;s:32:"wpcf_user_meta_field_edit_others";b:1;}
       ```
   
 * As you can see the s:13:”administrator”;**b:1;** part gets truncated and it breaks
   it. Also note that 1.7.11 prepends what’s there and 1.8 appends whats there but
   again deletes the bolded part.
 *  Thread Starter [Radices](https://wordpress.org/support/users/radices/)
 * (@radices)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/plugin-conflict-corrupts-user_meta-data/#post-6447257)
 * Were you able to duplicate the issue?
 *  [HaloPinay](https://wordpress.org/support/users/halopinay/)
 * (@halopinay)
 * [10 years ago](https://wordpress.org/support/topic/plugin-conflict-corrupts-user_meta-data/#post-6447361)
 * Did you ever solve this? I never installed Pie Register Conflict but I have a
   strange output on my Profile that is similar. `wpcf_custom_post_type_view, wpcf_custom_post_type_edit,
   wpcf_custom_post_type_edit_others, wpcf_custom_taxonomy_view, wpcf_custom_taxonomy_edit,
   wpcf_custom_taxonomy_edit_others, wpcf_custom_field_view, wpcf_custom_field_edit,
   wpcf_custom_field_edit_others, wpcf_user_meta_field_view, wpcf_user_meta_field_edit,
   wpcf_user_meta_field_edit_others`
 * Do you know what those things go to?
 *  Anonymous User 14808221
 * (@anonymized-14808221)
 * [10 years ago](https://wordpress.org/support/topic/plugin-conflict-corrupts-user_meta-data/#post-6447362)
 * We are currently on Types 2.0.1
 * Can you confirm this still happens with this version?
 * If so, please post the issue over at the [Free Type Forum](https://wp-types.com/forums/forum/general-and-pre-sales-questions/)
   and I will request some more details that can not be shared in a WordPress Public
   Support forum
 * Thank you
 * [@halopinay](https://wordpress.org/support/users/halopinay/) you see Capabilities,
   which are related to Types Plugin.
    This is not a bug or so. It’s capabilities
   Types Plugin adds for Admins.

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

The topic ‘Plugin Conflict corrupts user_meta data’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/types_ced1d3.svg)
 * [Toolset Types - Custom Post Types, Custom Fields and Taxonomies](https://wordpress.org/plugins/types/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/types/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/types/)
 * [Active Topics](https://wordpress.org/support/plugin/types/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/types/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/types/reviews/)

## Tags

 * [compatibility](https://wordpress.org/support/topic-tag/compatibility/)

 * 5 replies
 * 4 participants
 * Last reply from: Anonymous User 14808221
 * Last activity: [10 years ago](https://wordpress.org/support/topic/plugin-conflict-corrupts-user_meta-data/#post-6447362)
 * Status: not resolved