Opened 12 years ago
Closed 12 years ago
#30623 closed defect (bug) (fixed)
WP_Tax_Query + WP_Query::get_queried_object() fatal
| Reported by: | dd32 | Owned by: | boonebgorges |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.1 |
| Component: | Taxonomy | Version: | 4.1 |
| Severity: | major | Keywords: | |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
This is a similar issue to the one solved in [29901]. I will write a more focused test and patch it up.