Opened 10 years ago
Closed 10 years ago
#30623 closed defect (bug) (fixed)
WP_Tax_Query + WP_Query::get_queried_object() fatal
Reported by: | dd32 | Owned by: | boonebgorges |
---|---|---|---|
Milestone: | 4.1 | Priority: | normal |
Severity: | major | Version: | 4.1 |
Component: | Taxonomy | Keywords: | |
Focuses: | Cc: |
Description
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
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
This is a similar issue to the one solved in [29901]. I will write a more focused test and patch it up.