Lautischer Steuerberatungs GmbH

KundeLautischer Steuerberatungs GmbH
JobartCorporate Design

WordPress-Datenbank-Fehler: [Not unique table/alias: 'tr']
SELECT p.ID FROM wp_posts AS p INNER JOIN wp_term_relationships AS tr ON p.ID = tr.object_id INNER JOIN wp_term_taxonomy AS tt ON tr.term_taxonomy_id = tt.term_taxonomy_id INNER JOIN wp_term_relationships AS tr ON p.ID = tr.object_id INNER JOIN wp_term_taxonomy tt ON tr.term_taxonomy_id = tt.term_taxonomy_id WHERE p.post_date < '2016-11-10 11:44:26' AND p.post_type = 'portfolio' AND tt.taxonomy = 'portfolio_tag' AND tt.term_id IN (142) AND p.post_status = 'publish' AND tt.taxonomy = 'portfolio_category' AND tt.term_id IN (141,137) ORDER BY p.post_date DESC LIMIT 1

WordPress-Datenbank-Fehler: [Not unique table/alias: 'tr']
SELECT p.ID FROM wp_posts AS p INNER JOIN wp_term_relationships AS tr ON p.ID = tr.object_id INNER JOIN wp_term_taxonomy AS tt ON tr.term_taxonomy_id = tt.term_taxonomy_id INNER JOIN wp_term_relationships AS tr ON p.ID = tr.object_id INNER JOIN wp_term_taxonomy tt ON tr.term_taxonomy_id = tt.term_taxonomy_id WHERE p.post_date > '2016-11-10 11:44:26' AND p.post_type = 'portfolio' AND tt.taxonomy = 'portfolio_tag' AND tt.term_id IN (142) AND p.post_status = 'publish' AND tt.taxonomy = 'portfolio_category' AND tt.term_id IN (141,137) ORDER BY p.post_date ASC LIMIT 1