Will your plugin fix this?
-
Hi there,
I just have 1 error in my error_log. Will your plugin fix this?[06-Jun-2016 23:46:12 UTC] WordPress-databasefejl Not unique table/alias: 'wp_comments' for forespørgslen SELECT SQL_CALC_FOUND_ROWS wp_posts.*, AVG( wp_commentmeta.meta_value ) as average_rating , AVG( wp_commentmeta.meta_value ) as average_rating FROM wp_posts INNER JOIN wp_term_relationships ON (wp_posts.ID = wp_term_relationships.object_id) INNER JOIN wp_postmeta ON ( wp_posts.ID = wp_postmeta.post_id ) INNER JOIN wp_postmeta AS mt1 ON ( wp_posts.ID = mt1.post_id ) LEFT OUTER JOIN wp_comments ON(wp_posts.ID = wp_comments.comment_post_ID) LEFT JOIN wp_commentmeta ON(wp_comments.comment_ID = wp_commentmeta.comment_id) LEFT OUTER JOIN wp_comments ON(wp_posts.ID = wp_comments.comment_post_ID) LEFT JOIN wp_commentmeta ON(wp_comments.comment_ID = wp_commentmeta.comment_id) WHERE 1=1 AND ( wp_term_relationships.term_taxonomy_id IN (113) ) AND ( ( wp_postmeta.meta_key = '_visibility' AND CAST(wp_postmeta.meta_value AS CHAR) IN ('visible','catalog') ) AND ( mt1.meta_key = '_visibility' AND CAST(mt1.meta_value AS CHAR) IN ('visible','catalog') ) ) AND wp_posts.post_type = 'product' AND (wp_posts.post_status = 'publish') AND ( wp_commentmeta.meta_key = 'rating' OR wp_commentmeta.meta_key IS null ) AND ( wp_commentmeta.meta_key = 'rating' OR wp_commentmeta.meta_key IS null ) GROUP BY wp_posts.ID ORDER BY average_rating DESC, wp_posts.post_date DESC LIMIT 0, 16 fra require('wp-blog-header.php'), wp, WP->main, WP->query_posts, WP_Query->query, WP_Query->get_posts
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Will your plugin fix this?’ is closed to new replies.