[wp-trac] [WordPress Trac] #40397: PHP 7.1.x problem in WP_Query

WordPress Trac noreply at wordpress.org
Sat Apr 8 23:08:22 UTC 2017


#40397: PHP 7.1.x problem in WP_Query
--------------------------+-----------------------------
 Reporter:  dglingren     |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Database      |    Version:  4.7.3
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 I believe I have found another instance of the defect reported in Trac
 #37772. This was reported in my plugin's support forum:

 https://wordpress.org/support/topic/warning-parameter-2-to-mlaquery

 The first post there includes the PHP message:

 Warning: Parameter 2 to MLAQuery::mla_query_posts_search_filter() expected
 to be a reference, value given in /home/prodport/staging/1/wp-includes
 /class-wp-hook.php on line 298

 A later post from @adrianb includes a call trace showing the call to
 `apply_filters()` from line 1995 in WP_Query.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/40397>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list