[wp-trac] [WordPress Trac] #51957: "argument must be passed by reference, value given" in WP_Comment_Query::get_comments() (was: while using wordpress i encounter problem which seems to be a bug)

WordPress Trac noreply at wordpress.org
Tue Dec 8 11:41:44 UTC 2020


#51957: "argument must be passed by reference, value given" in
WP_Comment_Query::get_comments()
--------------------------+------------------------
 Reporter:  vanshuk       |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Comments      |     Version:
 Severity:  normal        |  Resolution:  duplicate
 Keywords:                |     Focuses:
--------------------------+------------------------
Changes (by SergeyBiryukov):

 * status:  new => closed
 * resolution:   => duplicate
 * component:  General => Comments
 * milestone:  Awaiting Review =>


Comment:

 Hi there, welcome to WordPress Trac! Thanks for the report.

 Are you using PHP 8? This exact issue was fixed in [48838] and [48961] /
 #50913 for WordPress 5.6.

 For some context, [https://wordpress.org/support/wordpress-
 version/version-5-5/ WordPress 5.5] was released in August, and
 [https://www.php.net/releases/8.0/en.php PHP 8.0] only less than two weeks
 ago.

 WordPress 5.6 (coming up later today) is the first version that
 [https://make.wordpress.org/core/2020/11/23/wordpress-and-php-8-0/ aims
 for (beta) compatibility with PHP 8.0].

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


More information about the wp-trac mailing list