[wp-trac] [WordPress Trac] #30623: WP_Tax_Query + WP_Query::get_queried_object() fatal

WordPress Trac noreply at wordpress.org
Sun Dec 7 13:32:11 UTC 2014


#30623: WP_Tax_Query + WP_Query::get_queried_object() fatal
--------------------------+-------------------
 Reporter:  dd32          |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  4.1
Component:  Taxonomy      |    Version:  trunk
 Severity:  major         |   Keywords:
  Focuses:                |
--------------------------+-------------------
 Seeing a Fatal error in get_queried_object related to the new nested
 taxonomy queries.

 Haven't had a chance to fully investigate it, but attaching a unit test
 that hits the failure point.

 {{{
 Warning: Illegal string offset 'terms' in wp-includes/query.php on line
 3875
 Warning: Illegal string offset 'field' in wp-includes/query.php on line
 3876
 Fatal error: Only variables can be passed by reference in wp-
 includes/query.php on line 3879
 }}}

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


More information about the wp-trac mailing list