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

WordPress Trac noreply at wordpress.org
Tue Jun 7 16:17:17 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:  6.0.1
Component:  Users         |     Version:  6.0
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:

Comment (by knutsp):

 Replying to [comment:14 spacedmonkey]:

 > You mention the number of plugins, you have installed. Can detail some
 of these. Maybe one of these is effecting the count.

 I discovered this bug on a site with no plugins, little visited, but I
 visited it myself and waited to next day, checked again, nothing changed.
 Then installed "WP Crontrol" and can see task `wp_update_user_countsยด is
 scheduled "Twice Daily". No fatals on PHP log.

 I have now inspected over 20 single (client) sites, all show -1 in Site
 Health, except those where user(s) have been added/registered after update
 to 6.0.

 All sites, PHP 8.0 or 8.1.

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

More information about the wp-trac mailing list