[wp-trac] [WordPress Trac] #45582: PHP Notice in WP Site Query

WordPress Trac noreply at wordpress.org
Tue Dec 11 12:51:53 UTC 2018


#45582: PHP Notice in WP Site Query
--------------------------------+-----------------------------
 Reporter:  spacedmonkey        |      Owner:  (none)
     Type:  defect (bug)        |     Status:  new
 Priority:  normal              |  Milestone:  5.0.1
Component:  Networks and Sites  |    Version:  4.6
 Severity:  normal              |   Keywords:  has-patch php73
  Focuses:  multisite           |
--------------------------------+-----------------------------
 While running multisite in PHP 7.3, I get the following notice error.

 {{{#!php
 `Notice: compact(): Undefined variable: groupby in /var/www/html/wordpress
 /wp-includes/class-wp-site-query.php on line 597`
 }}}

 This only appears on uncached site query calls, so it harder to notice.

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


More information about the wp-trac mailing list