Started getting this ambiguous sql error
-
[15-Jan-2015 02:16:01 UTC] WordPress database error Column ‘post_date’ in where clause is ambiguous for query SELECT wp_2_posts.* FROM wp_2_posts INNER JOIN wp_2_term_relationships ON (wp_2_posts.ID = wp_2_term_relationships.object_id) LEFT JOIN wp_2_posts AS p2 ON (p2.ID = p2.ID) WHERE 1=1 AND (
wp_2_term_relationships.term_taxonomy_id IN (3)
) AND wp_2_posts.post_type = ‘attachment’ AND (((wp_2_posts.post_status = ‘inherit’) OR (wp_2_posts.post_status = ‘inherit’ AND (p2.post_status = ‘inherit’)))) AND (post_date
> ‘2014-12-15’ ORpost_type
!= ‘page’) GROUP BY wp_2_posts.ID ORDER BY wp_2_posts.post_title ASC made by require(‘d:\path\to\wp\wp-blog-header.php’), require_once(‘d:\path\to\wp\wp-includes\template-loader.php’), include(‘d:\path\to\wp\wp-content\themes\asd-custom\index.php’), get_template_part, locate_template, load_template, require(‘d:\path\to\wp\wp-content\themes\asd-custom\content.php’), custom_excerpt_length, do_shortcode, preg_replace_callback, do_shortcode_tag, call_user_func, MLAShortcodes::mla_gallery_shortcode, MLAShortcodes::mla_get_shortcode_attachments, WP_Query->query, WP_Query->get_postshttps://www.ads-software.com/plugins/media-library-assistant/
- The topic ‘Started getting this ambiguous sql error’ is closed to new replies.