[wp-trac] [WordPress Trac] #55890: Option 'user_count' not initalized or updated on single sites

WordPress Trac noreply at wordpress.org
Thu Jun 2 14:46:52 UTC 2022


#55890: Option 'user_count' not initalized or updated on single sites
--------------------------+------------------------------
 Reporter:  knutsp        |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Users         |     Version:  6.0
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+------------------------------

Comment (by knutsp):

 Replying to [comment:6 tharsheblows]:
 > The function previously wasn't available on a single site so using it
 incorrectly by passing a non-null `$network_id` on a single site should
 still be an error.

 That's ok.

 > On a single site, this is working for me correctly and when I delete the
 `user_count` option, it returns a value of -1 on the site health debug
 screen.

 How long time does it take, on your site, before this option is added back
 (updated) automatically and the correct number is shown?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/55890#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list