WordPress database error: [Unknown column 'v.percent' in 'ORDER BY']
SELECT SQL_CALC_FOUND_ROWS hvf_posts.*
FROM hvf_posts LEFT JOIN hvf_postmeta ON ( hvf_posts.ID = hvf_postmeta.post_id ) LEFT JOIN hvf_postmeta AS mt1 ON ( hvf_posts.ID = mt1.post_id AND mt1.meta_key = '_item_expired' )
WHERE 1=1 AND (
hvf_posts.ID NOT IN (
SELECT object_id
FROM hvf_term_relationships
WHERE term_taxonomy_id IN (61)
)
) AND (
( hvf_postmeta.meta_key = '_item_expired' AND hvf_postmeta.meta_value != '1' )
OR
mt1.post_id IS NULL
) AND hvf_posts.post_type = 'post' AND ((hvf_posts.post_status = 'publish'))
GROUP BY hvf_posts.ID
ORDER BY v.percent DESC, hvf_posts.post_date DESC
LIMIT 0, 18
WordPress database error: [Unknown column 'v.percent' in 'ORDER BY']
SELECT hvf_posts.*
FROM hvf_posts
WHERE 1=1 AND hvf_posts.ID IN (29412,29729) AND hvf_posts.post_type = 'post' AND ((hvf_posts.post_status = 'publish'))
ORDER BY v.percent DESC, hvf_posts.post_date DESC
LIMIT 0, 2