Title: Log Spam &#8211; sql error problem
Last modified: August 20, 2016

---

# Log Spam – sql error problem

 *  [Dirty Bill](https://wordpress.org/support/users/dirty-bill/)
 * (@dirty-bill)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/log-spam-sql-error-problem/)
 * The sql error still exists. It appears you have hardcoded a wordpress table prefix“
   wp_” that is causing the problem.
 * From the apache2 error log:
 *     ```
       [Wed Feb 13 07:50:03 2013] [error] [client 50.56.68.61] WordPress database error Unknown column 'wp_postmeta.meta_value' in 'where clause' for query SELECT SQL_CALC_FOUND_ROWS  xx_posts.ID, xx_posts.guid, xx_posts.post_title, xx_postmeta.meta_value FROM xx_posts  INNER JOIN xx_postmeta ON (xx_posts.ID = xx_postmeta.post_id) WHERE 1=1  AND (xx_postmeta.meta_key = '_feedwordpress_retire_me_46' AND wp_postmeta.meta_value = '1') AND (xx_posts.post_status <> 'fwpretired') GROUP BY xx_posts.ID ORDER BY xx_posts.post_date DESC LIMIT 0, 10 made by require('wp-blog-header.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), call_user_func_array, FeedWordPress->init, FeedWordPress->update_magic_url, FeedWordPress->update, do_action('feedwordpress_update_complete'), call_user_func_array, SyndicatedLink->process_retirements, WP_Query->__construct, WP_Query->query, WP_Query->get_posts
       ```
   
 * [http://wordpress.org/extend/plugins/feedwordpress/](http://wordpress.org/extend/plugins/feedwordpress/)

The topic ‘Log Spam – sql error problem’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/feedwordpress_a6a79a.svg)
 * [FeedWordPress](https://wordpress.org/plugins/feedwordpress/)
 * [Support Threads](https://wordpress.org/support/plugin/feedwordpress/)
 * [Active Topics](https://wordpress.org/support/plugin/feedwordpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/feedwordpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/feedwordpress/reviews/)

## Tags

 * [hardcoded](https://wordpress.org/support/topic-tag/hardcoded/)
 * [sql-error](https://wordpress.org/support/topic-tag/sql-error/)

 * 0 replies
 * 1 participant
 * Last reply from: [Dirty Bill](https://wordpress.org/support/users/dirty-bill/)
 * Last activity: [13 years, 3 months ago](https://wordpress.org/support/topic/log-spam-sql-error-problem/)
 * Status: not resolved