Title: [Plugin: WP Post Type UI] Errors in 3.1.9
Last modified: August 19, 2016

---

# [Plugin: WP Post Type UI] Errors in 3.1.9

 *  [Mat](https://wordpress.org/support/users/mrosero/)
 * (@mrosero)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/plugin-wp-post-type-ui-errors-in-319/)
 * I installed the latest version of WP Post Type UI, and I get the following error
   twice when I go to the Settings > Post Types admin page:
 * > Warning: in_array() [function.in-array]: Wrong datatype for second argument
   > in /home/somethin/public_html/wp-content/plugins/wp-post-type-ui/wp-post-type-
   > ui.php on line 232
 * And once I add a post type, I get this error both in Post Types and Taxonomies:
 * > Warning: Invalid argument supplied for foreach() in /home/somethin/public_html/
   > wp-includes/post.php on line 886

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

 *  Plugin Author [urlund](https://wordpress.org/support/users/codework/)
 * (@codework)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/plugin-wp-post-type-ui-errors-in-319/#post-1588443)
 * I’ll look into it ASAP. It’s because some datatype was changed from string to
   array, in 0.4.0
 *  Plugin Author [urlund](https://wordpress.org/support/users/codework/)
 * (@codework)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/plugin-wp-post-type-ui-errors-in-319/#post-1588455)
 * Bug fixed in 0.4.1
 *  [lac582](https://wordpress.org/support/users/lac582/)
 * (@lac582)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-wp-post-type-ui-errors-in-319/#post-1588520)
 * I am getting this same error and I am running Version 0.5.2 of the plugin. It
   was working fine, then I updated one post type and added some new ones and suddenly
   the original one broke 🙁
 * I am running WP 3.0 in Multisite mode.

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

The topic ‘[Plugin: WP Post Type UI] Errors in 3.1.9’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-post-type-ui.svg)
 * [WP Post Type UI](https://wordpress.org/plugins/wp-post-type-ui/)
 * [Support Threads](https://wordpress.org/support/plugin/wp-post-type-ui/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-post-type-ui/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-post-type-ui/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-post-type-ui/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [lac582](https://wordpress.org/support/users/lac582/)
 * Last activity: [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-wp-post-type-ui-errors-in-319/#post-1588520)
 * Status: not resolved