I’ve just got an error of:
Warning: in_array() expects parameter 2 to be array, null given in [snip]/custom-post-type-ui/inc/utility.php on line 670
In upgrading to 1.5.1, so there’s clearly an issue with the $extras array being dealt with in that line.
I’ll look into some more hardening of this spot.
1.5.1 had this added, but apparently not enough still to prevent notice creep:
if ( ! is_array( $extras['plugins'] ) ) {
return;
}
@hennell your error was in 1.5.0, but was thought to be fixed in 1.5.1, @leanderiversen’s error is still present because php is picky. 😀
Can both of you test https://github.com/WebDevStudios/custom-post-type-ui/archive/release152.zip and let me know if they disappear for you.
You’ll need to extract and rename the resulting folder to be just custom-post-type-ui
You can see the changes involved overall at https://github.com/WebDevStudios/custom-post-type-ui/blob/release152/readme.txt#L33-L35
Hi,
I’m getting this message too (Feb. 21, v.1.5.2):
Notice: Undefined index: show_in_menu in … /wp-content/plugins/custom-post-type-ui/inc/taxonomies.php on line 649
Notice: Undefined index: show_in_menu in … /wp-content/plugins/custom-post-type-ui/inc/taxonomies.php on line 650
Similar error, but different location @arielsfr. That one should clear itself up with a saving of the settings. It’s a spot that was added in version 1.4.0, which you may have just recently upgraded past.