#55085 closed defect (bug) (worksforme)
Editing custom post type show warning when activate author sreen element in screen option
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 5.9 |
Component: | Editor | Keywords: | |
Focuses: | Cc: |
Description (last modified by )
panel: Author
Warning: array_filter() expects parameter 1 to be array, null given in \wp-includes\class-wp-user-query.php on line 452 Warning: array_keys() expects parameter 1 to be array, null given in \wordpress\wp-includes\class-wp-user-query.php on line 452 Warning: in_array() expects parameter 2 to be array, null given in \wordpress\wp-includes\class-wp-user-query.php on line 455
Attachments (1)
Change History (6)
#1
follow-up:
↓ 3
@
3 years ago
- Component changed from Posts, Post Types to Role/Capability
- Description modified (diff)
- Focuses administration removed
#3
in reply to:
↑ 1
@
3 years ago
This happen when use custom post type with plugin. But use function register_post_type of WordPress to create this custom post type.
Note: See
TracTickets for help on using
tickets.
Hi and thanks for the report!
Could you test whether this happens on regular post and page types in addition to a custom post type?
I also think this involves a plugin, so please try deactivating plugins until the errors disappear to locate the problem. (You probably need to keep two: the plugin that creates the custom post type plus Classic Editor or a similar plugin.)