Title: Error when saving settings
Last modified: September 7, 2017

---

# Error when saving settings

 *  [Candace](https://wordpress.org/support/users/aunrea/)
 * (@aunrea)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/error-when-saving-settings-2/)
 * Everytime I update anything in the Attachments > General I get this error:
 *     ```
       Warning: array_map(): Argument #2 should be an array in /wp-content/plugins/download-attachments/includes/settings.php on line 555
   
       Warning: in_array() expects parameter 2 to be array, null given in /wp-content/plugins/download-attachments/includes/settings.php on line 555
   
       Warning: Cannot modify header information - headers already sent by (output started at /wp-content/plugins/download-attachments/includes/settings.php:555) in public_html/wp-includes/pluggable.php on line 1210
       ```
   
 * The first two lines are repeated several times, same words.
    -  This topic was modified 8 years, 8 months ago by [Candace](https://wordpress.org/support/users/aunrea/).

Viewing 1 replies (of 1 total)

 *  Plugin Author [dFactory](https://wordpress.org/support/users/dfactory/)
 * (@dfactory)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/error-when-saving-settings-2/#post-9478721)
 * You’re right – there’s a small bug indeed.
    The next release of DA will include
   a fix for it.

Viewing 1 replies (of 1 total)

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

 * ![](https://ps.w.org/download-attachments/assets/icon-256x256.png?rev=1018456)
 * [Download Attachments](https://wordpress.org/plugins/download-attachments/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/download-attachments/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/download-attachments/)
 * [Active Topics](https://wordpress.org/support/plugin/download-attachments/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/download-attachments/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/download-attachments/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [dFactory](https://wordpress.org/support/users/dfactory/)
 * Last activity: [8 years, 8 months ago](https://wordpress.org/support/topic/error-when-saving-settings-2/#post-9478721)
 * Status: not resolved