Skip to:
Content
Pages
Categories
Search
Top
Bottom

These field options are invalid error

  • @bradleyrf

    Participant

    Hey there,
    Regarding profile fields (Users>Profile Fields), I have several hundred of one type that’s a drop down select. I moved web hosts two days ago and ever since moving hosts I have been unable to add new options to this one profile field. When I try to add a new option I get an error message at the top that reads “These field options are invalid.”

    If I change the field type to check box, then it works but then I can not change the field type back to drop box, unless I do so in the database. I contacted the host company and they said it’s not a server-side error.

    Any ideas?

    I’m using WordPress 4.6, BuddyPress 2.6.2 and it happens with Twenty Sixteen.

Viewing 2 replies - 1 through 2 (of 2 total)
  • @dcavins

    Keymaster

    I really have no idea, but checking the code base, that error is thrown when a field type supports options (like a dropdown or checkbox set) and the data posted at save is unpopulated or is not an array. If you’re familiar with the developer tools in Firefox or Chrome, visit that page and submit the form, then see what the $_POST payload looks like.

    Code reference: https://buddypress.trac.wordpress.org/browser/trunk/src/bp-xprofile/classes/class-bp-xprofile-field.php#L1074

    I can’t see what moving hosts would change here, but the internet is a fragile thing. 🙂

    @evillizard

    Participant

    mine says The link you followed has expired. ,,anytime i click update

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Skip to toolbar