Title: Strange Error
Last modified: February 13, 2019

---

# Strange Error

 *  Resolved [PegWeb](https://wordpress.org/support/users/pegweb/)
 * (@pegweb)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/strange-error-27/)
 * We are seeing a strange error on the client side.
 * Warning: Invalid argument supplied for foreach() in /home/ppwcc/public_html/wp-
   content/plugins/participants-database/classes/PDb_Form_Field_Def.class.php on
   line 301
 * It also appears to be blocking our ability to sort the columns. Any idea what
   is causing this?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fstrange-error-27%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Roland Barker](https://wordpress.org/support/users/xnau/)
 * (@xnau)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/strange-error-27/#post-11207108)
 * Make sure all your fields that require values (dropdowns, checkboxes, etc.) are
   fully configured with values.
 *  Thread Starter [PegWeb](https://wordpress.org/support/users/pegweb/)
 * (@pegweb)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/strange-error-27/#post-11207370)
 * If I go in and edit the listing that shows the error all I do is pull it up and
   hit submit. It just moves the error to the next one. Do I have to edit and submit
   each one for some reason now?
 *  Plugin Author [Roland Barker](https://wordpress.org/support/users/xnau/)
 * (@xnau)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/strange-error-27/#post-11207460)
 * Have you configured all the fields that need to have values defined? You only
   need to check those fields.
 *  Thread Starter [PegWeb](https://wordpress.org/support/users/pegweb/)
 * (@pegweb)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/strange-error-27/#post-11207468)
 * It’s been setup and running for a couple years. We didn’t change anything to 
   my knowledge. Like I said if I open a listing I don’t make any changes to it 
   I just hit submit. Then the error leaves that row and goes to the next one. So
   I haven’t changed any values or anything.
 *  Plugin Author [Roland Barker](https://wordpress.org/support/users/xnau/)
 * (@xnau)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/strange-error-27/#post-11207565)
 * To address this, the first step is to confirm that your fields are configured
   correctly, the error indicates that you may have fields that are not.
 *  Thread Starter [PegWeb](https://wordpress.org/support/users/pegweb/)
 * (@pegweb)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/strange-error-27/#post-11207614)
 * Do you mean the fields for each record listing or do you mean the fields as in
   the Manage Database Feilds section?
 *  Plugin Author [Roland Barker](https://wordpress.org/support/users/xnau/)
 * (@xnau)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/strange-error-27/#post-11211361)
 * Sorry, that wasn’t clear…on the Manage Database Fields page, make sure all your
   fields that require “values” are set up…checkboxes, dropdowns, radio buttons,
   etc.
 *  Thread Starter [PegWeb](https://wordpress.org/support/users/pegweb/)
 * (@pegweb)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/strange-error-27/#post-11211659)
 * Yes we only have two that are required. First and Last Name. Every record has
   those filled out.
 *  Plugin Author [Roland Barker](https://wordpress.org/support/users/xnau/)
 * (@xnau)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/strange-error-27/#post-11211878)
 * OK, what I am talking about are any fields such as checkboxes, dropdowns, and
   radio buttons which require a list of values. Not looking at required fields 
   at all, just the fields that need to have “values” defined. This is on the Manage
   Database fields page. Actually has nothing to do with what is in the records,
   only with the configuration of your form fields.
 *  Thread Starter [PegWeb](https://wordpress.org/support/users/pegweb/)
 * (@pegweb)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/strange-error-27/#post-11212243)
 * So, for example, a checkbox should have what in the values field? I assumed this
   is just a boolean so it is either a 1 or a 0?
 *  Plugin Author [Roland Barker](https://wordpress.org/support/users/xnau/)
 * (@xnau)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/strange-error-27/#post-11213734)
 * The value is up to you, a checkbox can have one or two values. This is explained
   here: [Defining Participants Database Fields](https://xnau.com/work/wordpress-plugins/participants-database/participants-database-documentation/defining-participants-database-fields/)
   look for the “Values” section.
 *  Thread Starter [PegWeb](https://wordpress.org/support/users/pegweb/)
 * (@pegweb)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/strange-error-27/#post-11213938)
 * Ok this seems to have fixed the issue.
    -  This reply was modified 7 years, 5 months ago by [PegWeb](https://wordpress.org/support/users/pegweb/).
 *  Plugin Author [Roland Barker](https://wordpress.org/support/users/xnau/)
 * (@xnau)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/strange-error-27/#post-11214588)
 * thanks

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

The topic ‘Strange Error’ 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/)

 * 13 replies
 * 2 participants
 * Last reply from: [Roland Barker](https://wordpress.org/support/users/xnau/)
 * Last activity: [7 years, 5 months ago](https://wordpress.org/support/topic/strange-error-27/#post-11214588)
 * Status: resolved