Opened 13 years ago
Closed 13 years ago
#24460 closed defect (bug) (fixed)
Fatal error when adding non-existent user to a site
| Reported by: | duck_ | Owned by: | SergeyBiryukov |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.6 |
| Component: | Network Admin | Version: | 3.6 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: | multisite |
Description
Attempting to use site-users.php in the network admin to add a non-existent user to a site results in a fatal error since the call to get_user_by() will return false.
Fatal error: Call to a member function exists() on a non-object in wp-admin/network/site-users.php on line 89
Introduced in [23974]
Attachments (1)
Change History (2)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
In 24509: