Title: Error when saving settings with nothing selected
Last modified: April 7, 2017

---

# Error when saving settings with nothing selected

 *  Resolved [AntoineH](https://wordpress.org/support/users/antoineh/)
 * (@antoineh)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/error-when-saving-settings-with-nothing-selected/)
 * Version 2.4.1
 * Just a minor thing, but should be easy to fix: when saving the settings page 
   with no checkbox selected, the plugin crashes with a fatal error.
 * > Catchable fatal error: Argument 1 passed to Debug_Objects_Settings::validate_settings()
   > must be of the type array, null given in D:\dev\php\footballpool\wp-content\
   > plugins\debug-objects\inc\autoload\class-settings.php on line 602

Viewing 1 replies (of 1 total)

 *  Plugin Author [Frank Bueltge](https://wordpress.org/support/users/bueltge/)
 * (@bueltge)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/error-when-saving-settings-with-nothing-selected/#post-9014420)
 * Thanks a lot for the hint. I have change the type of this function to allow also
   null. The current dev version from github ([https://github.com/bueltge/debug-objects](https://github.com/bueltge/debug-objects))
   have the change include. I will update the stable version later, the issue is
   not a extremly problem for an prio update.

Viewing 1 replies (of 1 total)

The topic ‘Error when saving settings with nothing selected’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/debug-objects_d0d0d1.svg)
 * [Debug Objects](https://wordpress.org/plugins/debug-objects/)
 * [Support Threads](https://wordpress.org/support/plugin/debug-objects/)
 * [Active Topics](https://wordpress.org/support/plugin/debug-objects/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/debug-objects/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/debug-objects/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Frank Bueltge](https://wordpress.org/support/users/bueltge/)
 * Last activity: [9 years, 2 months ago](https://wordpress.org/support/topic/error-when-saving-settings-with-nothing-selected/#post-9014420)
 * Status: resolved