Dear Radices
Could you describe hoe to reproduce this issue? Step by step?
Thanks,
Marcin
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.
Were you able to duplicate the issue?
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)
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 and I will request some more details that can not be shared in a WordPress Public Support forum
Thank you
@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.