[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 03:39:01 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 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:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list