Title: [Plugin: Pie Register] Custom fields data returning &#039;Array&#039;
Last modified: August 20, 2016

---

# [Plugin: Pie Register] Custom fields data returning 'Array'

 *  [chriskemm](https://wordpress.org/support/users/chriskemm/)
 * (@chriskemm)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-pie-register-custom-fields-data-returning-array/)
 * Custom fields not showing stored information correctly
 * When viewing profile information is displayed in each field as ‘array’ if you
   update information array is still shown.
 * I assume the information is being stored in the array but not being displayed.
 * [http://wordpress.org/extend/plugins/pie-register/](http://wordpress.org/extend/plugins/pie-register/)

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

 *  [m266](https://wordpress.org/support/users/m266/)
 * (@m266)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-pie-register-custom-fields-data-returning-array/#post-2465888)
 * I found the same problem 🙁
 *  [deodato](https://wordpress.org/support/users/deodato/)
 * (@deodato)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-pie-register-custom-fields-data-returning-array/#post-2465894)
 * Here’s the quick fix for this bug,
 * Open up Pie-Register.php in a texteditor scroll down to the function “Add2Profile()”
   inside this function scroll about 15 lines down you will see the following code:
   
   $value = get_user_meta( $user_ID, $id); replace the above code with the following
   code: $value = get_user_meta( $user_ID, $id, true );
 * it worked
 *  [m266](https://wordpress.org/support/users/m266/)
 * (@m266)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-pie-register-custom-fields-data-returning-array/#post-2465895)
 * Hi deodato,
 * I have changed the code and I can add custom fields. But later, the new custom
   fields deleted. What do you think abaout this?
 *  [Stanko Metodiev](https://wordpress.org/support/users/metodiew/)
 * (@metodiew)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-pie-register-custom-fields-data-returning-array/#post-2465903)
 * This $value = get_user_meta( $user_ID, $id, true ); helped me a lot. Thanks for
   the code snippet!
 *  [mkbain67](https://wordpress.org/support/users/mkbain67/)
 * (@mkbain67)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-pie-register-custom-fields-data-returning-array/#post-2465917)
 * Hello, I am having the same problem. I performed the code switch, and now the
   custom field passes a blank value to the profile.
    Thanks
 *  [MrCroquette](https://wordpress.org/support/users/mrcroquette/)
 * (@mrcroquette)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-pie-register-custom-fields-data-returning-array/#post-2465921)
 * It works for me too
    Thx
 *  [mkbain67](https://wordpress.org/support/users/mkbain67/)
 * (@mkbain67)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-pie-register-custom-fields-data-returning-array/#post-2465922)
 * In my case, I have nailed this issue down to a conflict with the New User Approve
   plugin.

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

The topic ‘[Plugin: Pie Register] Custom fields data returning 'Array'’ is closed
to new replies.

 * ![](https://ps.w.org/pie-register/assets/icon-256x256.png?rev=2467686)
 * [Pie Register – User Registration, Profiles & Content Restriction](https://wordpress.org/plugins/pie-register/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pie-register/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pie-register/)
 * [Active Topics](https://wordpress.org/support/plugin/pie-register/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pie-register/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pie-register/reviews/)

 * 7 replies
 * 6 participants
 * Last reply from: [mkbain67](https://wordpress.org/support/users/mkbain67/)
 * Last activity: [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-pie-register-custom-fields-data-returning-array/#post-2465922)
 * Status: not resolved