I am receiving a SQL syntax error in my WordPress site from the PikList get_meta_sql() function in class-piklist-wordpress.php:134.
WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘AND GROUP BY post_id’ at line 1 for query SELECT post_id FROM wp_postmeta WHERE AND GROUP BY post_id
I am a little stumped as to how the WHERE clause is ending up empty.
Any ideas?