Want more features on Pastebin? Sign Up, it's FREE!


By: a guest on Oct 23rd, 2012  |  syntax: MySQL  |  size: 0.32 KB  |  views: 48  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print  |  QR code  |  clone
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. WordPress database error: [Unknown column 'wp_postmeta.meta_value' in 'order clause']
  2. SELECT SQL_CALC_FOUND_ROWS wp_posts.ID FROM wp_posts WHERE 1=1 AND wp_posts.post_type = 'galleries' AND (wp_posts.post_status = 'publish' OR wp_posts.post_status = 'private') ORDER BY wp_postmeta.meta_value+0 DESC, post_title DESC LIMIT 0, 2
clone this paste RAW Paste Data