WordPress database error: [Not unique table/alias: 'tr']
SELECT t.*, tt.*, tr.object_id,tr.term_order FROM wp_dzjg5aagt0_terms AS t INNER JOIN wp_dzjg5aagt0_term_taxonomy AS tt ON t.term_id = tt.term_id INNER JOIN wp_dzjg5aagt0_term_relationships AS tr ON tr.term_taxonomy_id = tt.term_taxonomy_id LEFT JOIN wp_dzjg5aagt0_term_relationships AS tr ON (tr.term_taxonomy_id = tt.term_taxonomy_id AND tr.object_id = 0) WHERE tt.taxonomy IN ('team_category') AND tr.object_id IN (102) ORDER BY tr.term_order ASC,t.name ASC


Warning: Cannot modify header information - headers already sent by (output started at /var/www/wp-includes/wp-db.php:1520) in /var/www/wp-includes/pluggable.php on line 1329

Warning: Cannot modify header information - headers already sent by (output started at /var/www/wp-includes/wp-db.php:1520) in /var/www/wp-includes/pluggable.php on line 1332