Title: Manage database fields : Dropdown options
Last modified: March 28, 2019

---

# Manage database fields : Dropdown options

 *  Resolved [aulemahal](https://wordpress.org/support/users/aulemahal/)
 * (@aulemahal)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/manage-database-fields-dropdown-options/)
 * I just installed your plugin and it looks quite nice.
    However, I was unable 
   to populate the dropdown options of my fields or update any other options for
   fields in the Manage database fields section. When I click update, it simply 
   disappears. Rolling back to the 1.8.4.9 version, the problem disappeared and 
   I was able to update the fields with more than the default values.
 * However, my dropdown field still doesn’t work. I put in : `Msc Student, Phd Candidate,
   Postdoctoral Fellow, Professor, Collaborator, Advisor` and this all appears as
   a single option in the “Add new” backend form. Am I doing something wrong?
 * My server is using PhP 5.4 I believe and I get the warning about this. I’ll be
   happy to give any info you need to help me troubleshoot the problem…

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

 *  Plugin Author [xnau webdesign](https://wordpress.org/support/users/xnau/)
 * (@xnau)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/manage-database-fields-dropdown-options/#post-11371861)
 * I suggest you go to the latest version of Participants Database and solve the
   problem from there.
 * Do you have a large number of fields in the group?
 *  Thread Starter [aulemahal](https://wordpress.org/support/users/aulemahal/)
 * (@aulemahal)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/manage-database-fields-dropdown-options/#post-11371911)
 * I rolled forward to the latest version. The two problems still happen.
 * Right now I have 5 fields in the group, I didn’t touch the other groups yet, 
   so they are at default. That’s 4 “text-line” and one “dropdown-list”. I tried
   to change the help text of one of them, clicked update and it disappeared.
 * Also, I entered values in the “options” field for my dropdown when I was still
   at v1.8.4.9, and they stayed when I upgraded to 1.9.3.1. But the “Add new” page
   still shows me only one option. (In between, I tried changing the dropdown to
   radio buttons, but same thing : only one choice) I believe something is not happening
   with the string parsing. I don’t have much experience, but is there a console
   ouput or some kind of journal to see if php failed to parse the string at some
   point?
 *  Plugin Author [xnau webdesign](https://wordpress.org/support/users/xnau/)
 * (@xnau)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/manage-database-fields-dropdown-options/#post-11371973)
 * When you say it disappeared, what disappeared…the whole field? or just the setting
   you tried to change?
 * I suggest you try turning the Debugging on in the plugin settings under the advanced
   tab. Then try to update your field definition and see what comes into the log.
   The log will be an item in the plugin admin menu.
 *  Thread Starter [aulemahal](https://wordpress.org/support/users/aulemahal/)
 * (@aulemahal)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/manage-database-fields-dropdown-options/#post-11371989)
 * Oh, sorry. Only the content of the settings I try to change disappears. It goes
   back as if I hadn’t done anything.
 * For example, I changed some settings when I was on 1.8.4.9, they are untouched
   when I update the fields, even when up to date. But changing any settings from
   the default value is now impossible.
 * I’ll try the debugging, thanks!
 *  Thread Starter [aulemahal](https://wordpress.org/support/users/aulemahal/)
 * (@aulemahal)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/manage-database-fields-dropdown-options/#post-11372033)
 * Log output when trying to add some help text to a text-line field.
 *     ```
       [03/29/19 7:24pm UTC]
       Use of undefined constant ARRAY_FILTER_USE_KEY - assumed 'ARRAY_FILTER_USE_KEY'
       in /var/www/html/pascal/wp-content/plugins/participants-database/classes/PDb_Manage_Fields_Updates.class.php on line 185
   
       [03/29/19 7:24pm UTC]
       array_filter() expects at most 2 parameters, 3 given
       in /var/www/html/pascal/wp-content/plugins/participants-database/classes/PDb_Manage_Fields_Updates.class.php on line 185
   
       [03/29/19 7:24pm UTC]
       Invalid argument supplied for foreach()
       in /var/www/html/pascal/wp-content/plugins/participants-database/classes/PDb_Manage_Fields_Updates.class.php on line 188
       ```
   
 *  Plugin Author [xnau webdesign](https://wordpress.org/support/users/xnau/)
 * (@xnau)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/manage-database-fields-dropdown-options/#post-11374447)
 * That’s is… you need to have a minimum php version of 5.6
 * you should upgrade it anyway, even 5.6 is pretty old, and php 7 is much faster.
 *  Thread Starter [aulemahal](https://wordpress.org/support/users/aulemahal/)
 * (@aulemahal)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/manage-database-fields-dropdown-options/#post-11374735)
 * Ok, thanks for the help!

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

The topic ‘Manage database fields : Dropdown options’ is closed to new replies.

 * ![](https://ps.w.org/participants-database/assets/icon-256x256.jpg?rev=1389807)
 * [Participants Database](https://wordpress.org/plugins/participants-database/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/participants-database/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/participants-database/)
 * [Active Topics](https://wordpress.org/support/plugin/participants-database/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/participants-database/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/participants-database/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [aulemahal](https://wordpress.org/support/users/aulemahal/)
 * Last activity: [7 years, 2 months ago](https://wordpress.org/support/topic/manage-database-fields-dropdown-options/#post-11374735)
 * Status: resolved