Title: Checkbox Error
Last modified: December 3, 2018

---

# Checkbox Error

 *  Resolved [Dabrem](https://wordpress.org/support/users/bigsexy0413/)
 * (@bigsexy0413)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/checkbox-error-2/)
 * Loving the plugin!!
    Having a little issue with pulling data from check boxes
   of xprofiles.
 * Using this shortcode: Hair Color:
 * [bpps_profile_field field=”Hair Color”]
 * On the page it give this response:
 * Hair Color: a:1:{i:0;s:8:”Brunette”;}
 * Not sure what is causing this. Do you have a solution?

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

 *  Thread Starter [Dabrem](https://wordpress.org/support/users/bigsexy0413/)
 * (@bigsexy0413)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/checkbox-error-2/#post-10940350)
 * Also, if you change the “base” tab name to anything other then “base” you will
   get a error:
 * Examples:
 * “Base” tab name: Hair Color: a:1:{i:0;s:8:”Brunette”;}
    “Dirty Deets” tab name:
   Hair Color: The tab name is invalid
 * Using the same shortcode: [bpps_profile_field field=”Hair Color”]
 *  Plugin Author [Venutius](https://wordpress.org/support/users/venutius/)
 * (@venutius)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/checkbox-error-2/#post-10940511)
 * Try using option=”Two” instead of declaring the tab
    -  This reply was modified 7 years, 6 months ago by [Venutius](https://wordpress.org/support/users/venutius/).
 *  Thread Starter [Dabrem](https://wordpress.org/support/users/bigsexy0413/)
 * (@bigsexy0413)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/checkbox-error-2/#post-10943673)
 * Using option=”Two” worked but still displaying the info as:
 * Hair Color: a:1:{i:0;s:8:”Brunette”;}
 * Shortcode used:
 * Hair Color: [bpps_profile_field field=”Hair Color” option=”Two”]
 * Just to let you know. This shortcode is calling on an xprofile checkbox field
 *  Plugin Author [Venutius](https://wordpress.org/support/users/venutius/)
 * (@venutius)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/checkbox-error-2/#post-10943789)
 * That’s because you are saving an array, it’s only designed for strings. I’ll 
   have to think about adding support for one dimensional arrays. Can you let me
   know what type of xprofile field you set that up with?
 *  Thread Starter [Dabrem](https://wordpress.org/support/users/bigsexy0413/)
 * (@bigsexy0413)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/checkbox-error-2/#post-10943803)
 * Its the “Checkboxes” Field
 * Admin > Users > Profile Fields > Add New Field > Title (Hair Color) > Type: Checkboxes
   
   > Sort Order (Custom) > 7 Different options > Required > Visibility (everyone)
   > Autolink (enabled)
 * Those are my exact settings for the profile field
 *  Plugin Author [Venutius](https://wordpress.org/support/users/venutius/)
 * (@venutius)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/checkbox-error-2/#post-10944071)
 * Hi there,
 * I found a simple way to handle single option arrays in my code, there’s a new
   version which should work for you. Please update.
 *  Thread Starter [Dabrem](https://wordpress.org/support/users/bigsexy0413/)
 * (@bigsexy0413)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/checkbox-error-2/#post-10945909)
 * Perfect! Tested and everything works now 🙂 great job!!
 * Thank you
 *  Plugin Author [Venutius](https://wordpress.org/support/users/venutius/)
 * (@venutius)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/checkbox-error-2/#post-10946473)
 * That’s great!

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

The topic ‘Checkbox Error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/bp-profile-shortcodes-extra_2e3232.
   svg)
 * [BP Profile Shortcodes Extra](https://wordpress.org/plugins/bp-profile-shortcodes-extra/)
 * [Support Threads](https://wordpress.org/support/plugin/bp-profile-shortcodes-extra/)
 * [Active Topics](https://wordpress.org/support/plugin/bp-profile-shortcodes-extra/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/bp-profile-shortcodes-extra/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/bp-profile-shortcodes-extra/reviews/)

 * 8 replies
 * 2 participants
 * Last reply from: [Venutius](https://wordpress.org/support/users/venutius/)
 * Last activity: [7 years, 6 months ago](https://wordpress.org/support/topic/checkbox-error-2/#post-10946473)
 * Status: resolved