Title: Warning while saving settings
Last modified: August 22, 2016

---

# Warning while saving settings

 *  Resolved [Tom](https://wordpress.org/support/users/atomiktd/)
 * (@atomiktd)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/warning-while-saving-settings/)
 * I get an error while I try to save settings. Error reads:
 * `Warning: in_array() expects parameter 2 to be array, string given in /home/.../
   public_html/wp-content/plugins/wp-seo-tamer/includes/lib/class-wordpress-seo-
   tamer-admin-api.php on line 112`
 * It only shows up when I try to save settings with both boxes (Post & Pages) unchecked.
 * It desn’t matter if I try it for “Hide columns for these post types:” or “Hide
   meta box for these post types:”
 * For “Hide fields for these taxonomies:” it happens after all 3 boxes are unchecked.
 * After warning happens, no settings are updated.
 * How do I fix it?
 * [https://wordpress.org/plugins/wp-seo-tamer/](https://wordpress.org/plugins/wp-seo-tamer/)

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

 *  Plugin Author [Hugh Lashbrooke](https://wordpress.org/support/users/hlashbrooke/)
 * (@hlashbrooke)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/warning-while-saving-settings/#post-5566184)
 * Thanks for the report – I’ll have a look into this today, but i suspect it will
   be a simple fix.
 *  Plugin Author [Hugh Lashbrooke](https://wordpress.org/support/users/hlashbrooke/)
 * (@hlashbrooke)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/warning-while-saving-settings/#post-5566186)
 * I just released v1.2.1 with a fix for this – you should have the update available
   in your WordPress dashboard any minute 🙂
 *  Thread Starter [Tom](https://wordpress.org/support/users/atomiktd/)
 * (@atomiktd)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/warning-while-saving-settings/#post-5566197)
 * Thank you, you are lightning fast!
 * Warning vanished but still there is something weird going on.
 * I’m not sure what causes it but it looks like Post box negates Pages box. To 
   be specific, I get following effect i.e. for columns
 * Posts [ ] Pages [ ] – all columns displayed
    Posts [ ] Pages [x] – Posts displayed,
   Pages not displayed Posts [x] Pages [ ] – Posts not displayed, Pages not displayed
   Posts [x] Pages [x] – Posts not displayed, Pages displayed
 *  Plugin Author [Hugh Lashbrooke](https://wordpress.org/support/users/hlashbrooke/)
 * (@hlashbrooke)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/warning-while-saving-settings/#post-5566198)
 * Interesting – give me some time to look into this and I’ll see what I can work
   out.
 * Could you do me a quick favour and disable all of your plugins (except WordPress
   SEO and the Tamer) and then test this again? That would help rule out a plugin
   conflict. It would also be helpful if you could switch your site to one of the
   default themes (Twenty Twelve, etc.) just to be sure.
 * Thanks!
 *  Thread Starter [Tom](https://wordpress.org/support/users/atomiktd/)
 * (@atomiktd)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/warning-while-saving-settings/#post-5566199)
 * And now another problem.. it refused to work at all 🙁
    No SEO columns are displayed
   on any combination.
 *  Plugin Author [Hugh Lashbrooke](https://wordpress.org/support/users/hlashbrooke/)
 * (@hlashbrooke)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/warning-while-saving-settings/#post-5566202)
 * I thought I had the same issue at one point, but it was actually because I had
   deselected the WP SEO columns from the screen options tab (the little tab at 
   the top of the page when you’re viewing the post list tables). If you open up
   the screen options and the SEO tabs are available there then it means they would
   show if you selected them. The Tamer settings will remove the columns from the
   screen options entirely.
 *  Thread Starter [Tom](https://wordpress.org/support/users/atomiktd/)
 * (@atomiktd)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/warning-while-saving-settings/#post-5566204)
 * All plugins off except WP SEO and Tamer + 2014 theme + errors true
 * Effect is very random, mostly not working. Working very rare and random. Re-installing
   doesn’t help. No errors.
 * I’ll be back in 3 hours and have more time to test.
 * Thank you for helping 🙂
 *  Thread Starter [Tom](https://wordpress.org/support/users/atomiktd/)
 * (@atomiktd)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/warning-while-saving-settings/#post-5566205)
 * When columns are off, no options exist on option screen.
 *  Plugin Author [Hugh Lashbrooke](https://wordpress.org/support/users/hlashbrooke/)
 * (@hlashbrooke)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/warning-while-saving-settings/#post-5566208)
 * OK – that’s what should be happening with the columns.
 * Would you be able to give me your login details so I can test things out on your
   site directly? If you’re happy to do that then you can send them to me via the
   contact form on my site: [http://www.hughlashbrooke.com/](http://www.hughlashbrooke.com/)(
   bottom of the sidebar).
 *  Thread Starter [Tom](https://wordpress.org/support/users/atomiktd/)
 * (@atomiktd)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/warning-while-saving-settings/#post-5566246)
 * Yes, it’s better way, than sending results over and over again.
 * You have all details sent.

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

The topic ‘Warning while saving settings’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-seo-tamer.svg)
 * [Plugin Deleted](https://wordpress.org/plugins/wp-seo-tamer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-seo-tamer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-seo-tamer/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-seo-tamer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-seo-tamer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-seo-tamer/reviews/)

 * 10 replies
 * 2 participants
 * Last reply from: [Tom](https://wordpress.org/support/users/atomiktd/)
 * Last activity: [11 years, 5 months ago](https://wordpress.org/support/topic/warning-while-saving-settings/#post-5566246)
 * Status: resolved