Dr. Alexandra Strampfer

KundeDr. Alexandra Strampfer
JobartWebdesign

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-06-01 10:14:36' AND p.post_type = 'portfolio' AND tt.taxonomy = 'portfolio_tag' AND tt.term_id IN (145) AND p.post_status = 'publish' AND tt.taxonomy = 'portfolio_category' AND tt.term_id IN (141,139) 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-06-01 10:14:36' AND p.post_type = 'portfolio' AND tt.taxonomy = 'portfolio_tag' AND tt.term_id IN (145) AND p.post_status = 'publish' AND tt.taxonomy = 'portfolio_category' AND tt.term_id IN (141,139) ORDER BY p.post_date ASC LIMIT 1