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

---

# [Plugin: WP Post Type UI] Errors in v.4.0

 *  [Rob](https://wordpress.org/support/users/rrbaker/)
 * (@rrbaker)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/plugin-wp-post-type-ui-errors-in-v40/)
 * Everything was going well with .3.3; created a couple of custom content types
   with a couple posts in each. Upgraded to .4.0 and the following error popped 
   in the administration section on the post type settings page.
 *     ```
       Warning: in_array() [function.in-array]: Wrong datatype for second argument in /public_html/wp-content/plugins/wp-post-type-ui/wp-post-type-ui.php on line 232
   
       Warning: in_array() [function.in-array]: Wrong datatype for second argument in /public_html/wp-content/plugins/wp-post-type-ui/wp-post-type-ui.php on line 232
       ```
   
 * There were actually some additional errors on the public site and on all pages
   in the admin but managed to limit it to this by deleting the custom content types.
   Running WP 3.0 with PHP 5.2.13. Thanks!

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

 *  [dinium](https://wordpress.org/support/users/dinium/)
 * (@dinium)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/plugin-wp-post-type-ui-errors-in-v40/#post-1591974)
 * Same as above (just so you know it’s not an isolated incident).
 *  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-v40/#post-1591975)
 * 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-v40/#post-1592004)
 * Bug fixed in 0.4.1

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

The topic ‘[Plugin: WP Post Type UI] Errors in v.4.0’ 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: [urlund](https://wordpress.org/support/users/codework/)
 * Last activity: [15 years, 10 months ago](https://wordpress.org/support/topic/plugin-wp-post-type-ui-errors-in-v40/#post-1592004)
 * Status: not resolved