[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 01:43:43 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:  Awaiting Review
Component:  Posts, Post Types              |     Version:  6.0
 Severity:  major                          |  Resolution:
 Keywords:  needs-patch reporter-feedback  |     Focuses:
-------------------------------------------+------------------------------

Comment (by itsabhineet):

 This is the error: Object of class stdClass could not be converted to
 string in .../wp-content/object-cache.php

 Replying to [comment:1 costdev]:
 > Hi @itsabhineet, welcome to Trac!
 >
 > Please comment with the error that you received.

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


More information about the wp-trac mailing list