Opened 2 years ago
Last modified 2 years ago
#59410 new defect (bug)
Getting waring related Warning: array_flip() expects parameter 1 to be array
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Awaiting Review | Priority: | normal |
| Severity: | normal | Version: | 6.3.1 |
| Component: | Administration | Keywords: | has-screenshots close 2nd-opinion reporter-feedback |
| Focuses: | administration | Cc: |
Description
Hey Core Team,
when I am using the switch user plugin and after switching user gets a warning on the top bar more information you can see the mentioned screenshot.
For more information see mentioned screenshot.
Attachments (3)
Change History (6)
#1
@
2 years ago
- Component changed from General to Administration
- Focuses coding-standards php-compatibility removed
- Keywords close 2nd-opinion added
Thanks for creating this ticket @sumitsingh!
If a plugin is filtering the menu order and returning an invalid value, I think it's okay that PHP shows a warning. The plugin author should see this warning and act to resolve the issue.
Adding close and 2nd-opinion.
Note: See
TracTickets for help on using
tickets.
Warning: array_flip() expects parameter 1 to be array, null given in wp-admin/includes/menu.php on line 307