I seem to have this error: WordPress database error ERROR: column p.id does not exist LINE 1: SELECT p.id FROM wp_posts AS p WHERE p.post_date > '2013-01... Coming from this block of code: <?php $posts=$wpdb->get_results($wpdb->prepare( "SELECT post_id, meta_value FROM $wpdb->postmeta WHERE meta_key = %s " . "ORDER BY CHAR_LENGTH(meta_value) DESC, meta_value DESC LIMIT 5", '_wp-svbtle-kudos' )); ?
![WordPress database error: column p.id does not exist | Wordpress using Postgres](https://cdn-ak-scissors.b.st-hatena.com/image/square/98d6f053a97a87156775f60757c60865d0f2c47d/height=288;version=1;width=512/https%3A%2F%2Fcdn.sstatic.net%2FSites%2Fstackoverflow%2FImg%2Fapple-touch-icon%402.png%3Fv%3D73d79a89bded)