Title: Errors when saving options
Last modified: August 22, 2016

---

# Errors when saving options

 *  Resolved [Hugh Lashbrooke](https://wordpress.org/support/users/hlashbrooke/)
 * (@hlashbrooke)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/errors-when-saving-options/)
 * I’ve just installed the plugin (v2.0.1) and I’m getting the following PHP errors
   when I try to save the options after including any number of plugin slugs (1 
   or more) in the dashboard widget:
 * Warning: array_unique() expects parameter 1 to be array, null given in …/wp-content/
   plugins/wp-plugin-info-card/wp-plugin-info-card-admin.php on line 294
 * Warning: Invalid argument supplied for foreach() in …/wp-content/plugins/wp-plugin-
   info-card/wp-plugin-info-card-admin.php on line 296
 * _(I removed the full path from the errors so it’s not published publicly)_
 * It looks like there’s another issue report of this that was fixed a month ago,
   but I’m getting a similar error now.
 * I have debug mode switched off.
 * [https://wordpress.org/plugins/wp-plugin-info-card/](https://wordpress.org/plugins/wp-plugin-info-card/)

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

 *  Plugin Author [Brice Capobianco](https://wordpress.org/support/users/brikou/)
 * (@brikou)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/errors-when-saving-options/#post-5566621)
 * Hi Hugh,
    Thanks for reporting this issue… it looks like I missed something (
   again)… Will be fixed soon. Cheerse.
 *  Thread Starter [Hugh Lashbrooke](https://wordpress.org/support/users/hlashbrooke/)
 * (@hlashbrooke)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/errors-when-saving-options/#post-5566624)
 * Thanks 🙂
 *  Plugin Author [Brice Capobianco](https://wordpress.org/support/users/brikou/)
 * (@brikou)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/errors-when-saving-options/#post-5566711)
 * It should be fix.
    Please let me know if it’s ok 😉
 *  Thread Starter [Hugh Lashbrooke](https://wordpress.org/support/users/hlashbrooke/)
 * (@hlashbrooke)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/errors-when-saving-options/#post-5566720)
 * Awesome – it works perfectly now. Thanks for the quick turn around time 🙂

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

The topic ‘Errors when saving options’ is closed to new replies.

 * ![](https://ps.w.org/wp-plugin-info-card/assets/icon.svg?rev=1031164)
 * [WP Plugin Info Card](https://wordpress.org/plugins/wp-plugin-info-card/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-plugin-info-card/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-plugin-info-card/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-plugin-info-card/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-plugin-info-card/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-plugin-info-card/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Hugh Lashbrooke](https://wordpress.org/support/users/hlashbrooke/)
 * Last activity: [11 years, 6 months ago](https://wordpress.org/support/topic/errors-when-saving-options/#post-5566720)
 * Status: resolved