Values stored in user meta for second user are stored as arrays
-
Hello
I have a website with an Ultimate Member registration form which has fields for two users to be added, one is given the Director role and the other one has the Admin role, both roles were created in UM. When the form is completed and submitted, two user accounts are created in the wp_users table and the relevant values from the form are added to the wp_usermeta table. The fields for the Director role in the wp_usermeta table are correct but the fields for the Admin role in that table are stored as arrays.
Some examples:
The values for the member_type field:
Director: Member Organisation
Admin: a:1:{i:0;s:19:”Member Organisation”;}
Any form field that was left blank when the form was submitted:
Director:
Admin: a:1:{i:0;s:0;””;}How can this be corrected so that the Admin’s fields have the same information as the Director’s
The “Assign role to form” setting for the registration form has been set to Director, I don’t know if this is partly why the values for the Director are correct but aren’t for the Admin.
- The topic ‘Values stored in user meta for second user are stored as arrays’ is closed to new replies.