[wp-trac] [WordPress Trac] #55811: OrderBy rand in get_posts stopped working after updating to WordPress 6.0

WordPress Trac noreply at wordpress.org
Wed May 25 04:58:00 UTC 2022


#55811: OrderBy rand in get_posts stopped working after updating to WordPress 6.0
-------------------------------------------+---------------------
 Reporter:  itsabhineet                    |       Owner:  (none)
     Type:  defect (bug)                   |      Status:  new
 Priority:  normal                         |   Milestone:  6.0.1
Component:  Posts, Post Types              |     Version:  6.0
 Severity:  major                          |  Resolution:
 Keywords:  needs-patch reporter-feedback  |     Focuses:
-------------------------------------------+---------------------

Comment (by itsabhineet):

 The Redis Cache Plugin is already up-to-date at version 2.0.25 and still
 throwing error.

 However, I just noticed that the error occurs only when the Redis Object
 Cache is enabled.

 Also, this has happened after the WordPress 6.0 update. The same version
 of Redis Cache Plugin was working fine before the update.

 So, it seems that the Redis Cache Plugin has some issues with WordPress
 6.0.

 Thanks.

 Replying to [comment:5 costdev]:
 > @itsabhineet Thanks for this information, it really helps!
 >
 > I see that the **Redis Cache** plugin was updated to version 2.0.25 and
 [https://en-gb.wordpress.org/plugins/redis-cache/#developers the latest
 changelog entry] states:
 >
 >  Removed broken wp_cache_add_multiple() function
 >
 > Have you updated the **Redis Cache** plugin to version 2.0.25? If not,
 updating the plugin should hopefully resolve the issue. Let us know 🙂
 >
 > Otherwise, I'd suggest reaching out to the **Redis Cache** developers on
 [https://wordpress.org/support/plugin/redis-cache/ the support forum] so
 that they can do some digging and find out if the issue lies there.

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


More information about the wp-trac mailing list