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

WordPress Trac noreply at wordpress.org
Mon Jul 4 23:29:23 UTC 2022

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

Comment (by SergeyBiryukov):

 Replying to [comment:16 spacedmonkey]:
 > I believe the fix for this is a simple as change the database version
 and ensuring that caches are flushed. This is done in [53496] that should
 be backported into 6.0.1.

 Thanks! At glance, it does seem like not bumping `$wp_db_version`
 previously in [53011] would lead to the `upgrade_600()` routine not
 running, which would cause the `user_count` option to be missing.

 In that case, bumping the DB version in [53496] should resolve the issue.

 Related: comment:32:ticket:55837

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

More information about the wp-trac mailing list