Title: wp-blog-header.php errors in error_log file
Last modified: August 30, 2016

---

# wp-blog-header.php errors in error_log file

 *  [jassimath](https://wordpress.org/support/users/jassimath/)
 * (@jassimath)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/wp-blog-headerphp-errors-in-error_log-file/)
 * My error_log file is flooding with errors as follow:
    I didnt find any solution
   for this. Please suggest a solution.
 * [01-Oct-2015 14:26:21 UTC] WordPress database error Unknown column ‘jp_postmeta.
   meta_value’ in ‘order clause’ for query SELECT jp_posts.ID FROM jp_posts INNER
   JOIN jp_term_relationships ON (jp_posts.ID = jp_term_relationships.object_id)
   WHERE 1=1 AND (
    jp_term_relationships.term_taxonomy_id IN (71) ) AND jp_posts.
   post_type = ‘product’ AND ((jp_posts.post_status = ‘publish’)) GROUP BY jp_posts.
   ID ORDER BY jp_postmeta.meta_value+0 ASC, jp_posts.post_date DESC made by require(‘
   wp-blog-header.php’), wp, WP->main, WP->query_posts, WP_Query->query, WP_Query-
   >get_posts, do_action_ref_array, call_user_func_array, WC_Query->pre_get_posts,
   WC_Query->product_query, apply_filters(‘loop_shop_post_in’), call_user_func_array,
   WC_Query->layered_nav_query, get_posts, WP_Query->query, WP_Query->get_posts [
   01-Oct-2015 14:26:30 UTC] WordPress database error Unknown column ‘jp_postmeta.
   meta_value’ in ‘order clause’ for query SELECT jp_posts.ID FROM jp_posts INNER
   JOIN jp_term_relationships ON (jp_posts.ID = jp_term_relationships.object_id)
   WHERE 1=1 AND ( jp_term_relationships.term_taxonomy_id IN (71) ) AND jp_posts.
   post_type = ‘product’ AND ((jp_posts.post_status = ‘publish’)) GROUP BY jp_posts.
   ID ORDER BY jp_postmeta.meta_value+0 ASC, jp_posts.post_date DESC made by require(‘
   wp-blog-header.php’), wp, WP->main, WP->query_posts, WP_Query->query, WP_Query-
   >get_posts, do_action_ref_array, call_user_func_array, WC_Query->pre_get_posts,
   WC_Query->product_query, apply_filters(‘loop_shop_post_in’), call_user_func_array,
   WC_Query->layered_nav_query, get_posts, WP_Query->query, WP_Query->get_posts [
   01-Oct-2015 14:40:51 UTC] WordPress database error Unknown column ‘jp_postmeta.
   meta_value’ in ‘order clause’ for query SELECT jp_posts.ID FROM jp_posts INNER
   JOIN jp_term_relationships ON (jp_posts.ID = jp_term_relationships.object_id)
   WHERE 1=1 AND ( jp_term_relationships.term_taxonomy_id IN (50) ) AND jp_posts.
   post_type = ‘product’ AND ((jp_posts.post_status = ‘publish’)) GROUP BY jp_posts.
   ID ORDER BY jp_postmeta.meta_value+0 DESC, jp_posts.post_date DESC made by require(‘
   wp-blog-header.php’), wp, WP->main, WP->query_posts, WP_Query->query, WP_Query-
   >get_posts, do_action_ref_array, call_user_func_array, WC_Query->pre_get_posts,
   WC_Query->product_query, apply_filters(‘loop_shop_post_in’), call_user_func_array,
   WC_Query->layered_nav_query, get_posts, WP_Query->query, WP_Query->get_posts [
   01-Oct-2015 14:40:59 UTC] WordPress database error Unknown column ‘jp_postmeta.
   meta_value’ in ‘order clause’ for query SELECT jp_posts.ID FROM jp_posts INNER
   JOIN jp_term_relationships ON (jp_posts.ID = jp_term_relationships.object_id)
   WHERE 1=1 AND ( jp_term_relationships.term_taxonomy_id IN (50) ) AND jp_posts.
   post_type = ‘product’ AND ((jp_posts.post_status = ‘publish’)) GROUP BY jp_posts.
   ID ORDER BY jp_postmeta.meta_value+0 DESC, jp_posts.post_date DESC made by require(‘
   wp-blog-header.php’), wp, WP->main, WP->query_posts, WP_Query->query, WP_Query-
   >get_posts, do_action_ref_array, call_user_func_array, WC_Query->pre_get_posts,
   WC_Query->product_query, apply_filters(‘loop_shop_post_in’), call_user_func_array,
   WC_Query->layered_nav_query, get_posts, WP_Query->query, WP_Query->get_posts [
   01-Oct-2015 14:53:03 UTC] WordPress database error Unknown column ‘jp_postmeta.
   meta_value’ in ‘order clause’ for query SELECT jp_posts.ID FROM jp_posts INNER
   JOIN jp_term_relationships ON (jp_posts.ID = jp_term_relationships.object_id)
   WHERE 1=1 AND ( jp_term_relationships.term_taxonomy_id IN (186) ) AND jp_posts.
   post_type = ‘product’ AND ((jp_posts.post_status = ‘publish’)) GROUP BY jp_posts.
   ID ORDER BY jp_postmeta.meta_value+0 DESC, jp_posts.post_date DESC made by require(‘
   wp-blog-header.php’), wp, WP->main, WP->query_posts, WP_Query->query, WP_Query-
   >get_posts, do_action_ref_array, call_user_func_array, WC_Query->pre_get_posts,
   WC_Query->product_query, apply_filters(‘loop_shop_post_in’), call_user_func_array,
   WC_Query->layered_nav_query, get_posts, WP_Query->query, WP_Query->get_posts [
   01-Oct-2015 14:53:03 UTC] WordPress database error Unknown column ‘jp_postmeta.
   meta_value’ in ‘order clause’ for query SELECT jp_posts.ID FROM jp_posts INNER
   JOIN jp_term_relationships ON (jp_posts.ID = jp_term_relationships.object_id)
   WHERE 1=1 AND ( jp_term_relationships.term_taxonomy_id IN (75) ) AND jp_posts.
   post_type = ‘product’ AND ((jp_posts.post_status = ‘publish’)) GROUP BY jp_posts.
   ID ORDER BY jp_postmeta.meta_value+0 DESC, jp_posts.post_date DESC made by require(‘
   wp-blog-header.php’), wp, WP->main, WP->query_posts, WP_Query->query, WP_Query-
   >get_posts, do_action_ref_array, call_user_func_array, WC_Query->pre_get_posts,
   WC_Query->product_query, apply_filters(‘loop_shop_post_in’), call_user_func_array,
   WC_Query->layered_nav_query, get_posts, WP_Query->query, WP_Query->get_posts [
   01-Oct-2015 15:14:29 UTC] WordPress database error Unknown column ‘jp_postmeta.
   meta_value’ in ‘order clause’ for query SELECT jp_posts.ID FROM jp_posts INNER
   JOIN jp_term_relationships ON (jp_posts.ID = jp_term_relationships.object_id)
   WHERE 1=1 AND ( jp_term_relationships.term_taxonomy_id IN (187) ) AND jp_posts.
   post_type = ‘product’ AND ((jp_posts.post_status = ‘publish’)) GROUP BY jp_posts.
   ID ORDER BY jp_postmeta.meta_value+0 ASC, jp_posts.post_date DESC made by require(‘
   wp-blog-header.php’), wp, WP->main, WP->query_posts, WP_Query->query, WP_Query-
   >get_posts, do_action_ref_array, call_user_func_array, WC_Query->pre_get_posts,
   WC_Query->product_query, apply_filters(‘loop_shop_post_in’), call_user_func_array,
   WC_Query->layered_nav_query, get_posts, WP_Query->query, WP_Query->get_posts [
   01-Oct-2015 15:14:29 UTC] WordPress database error Unknown column ‘jp_postmeta.
   meta_value’ in ‘order clause’ for query SELECT jp_posts.ID FROM jp_posts INNER
   JOIN jp_term_relationships ON (jp_posts.ID = jp_term_relationships.object_id)
   WHERE 1=1 AND ( jp_term_relationships.term_taxonomy_id IN (75) ) AND jp_posts.
   post_type = ‘product’ AND ((jp_posts.post_status = ‘publish’)) GROUP BY jp_posts.
   ID ORDER BY jp_postmeta.meta_value+0 ASC, jp_posts.post_date DESC made by require(‘
   wp-blog-header.php’), wp, WP->main, WP->query_posts, WP_Query->query, WP_Query-
   >get_posts, do_action_ref_array, call_user_func_array, WC_Query->pre_get_posts,
   WC_Query->product_query, apply_filters(‘loop_shop_post_in’), call_user_func_array,
   WC_Query->layered_nav_query, get_posts, WP_Query->query, WP_Query->get_posts [
   01-Oct-2015 15:22:38 UTC] WordPress database error Unknown column ‘jp_postmeta.
   meta_value’ in ‘order clause’ for query SELECT jp_posts.ID FROM jp_posts INNER
   JOIN jp_term_relationships ON (jp_posts.ID = jp_term_relationships.object_id)
   WHERE 1=1 AND ( jp_term_relationships.term_taxonomy_id IN (44) ) AND jp_posts.
   post_type = ‘product’ AND ((jp_posts.post_status = ‘publish’)) GROUP BY jp_posts.
   ID ORDER BY jp_postmeta.meta_value+0 ASC, jp_posts.post_date DESC made by require(‘
   wp-blog-header.php’), wp, WP->main, WP->query_posts, WP_Query->query, WP_Query-
   >get_posts, do_action_ref_array, call_user_func_array, WC_Query->pre_get_posts,
   WC_Query->product_query, apply_filters(‘loop_shop_post_in’), call_user_func_array,
   WC_Query->layered_nav_query, get_posts, WP_Query->query, WP_Query->get_posts [
   01-Oct-2015 15:38:32 UTC] WordPress database error Unknown column ‘jp_postmeta.
   meta_value’ in ‘order clause’ for query SELECT jp_posts.ID FROM jp_posts INNER
   JOIN jp_term_relationships ON (jp_posts.ID = jp_term_relationships.object_id)
   WHERE 1=1 AND ( jp_term_relationships.term_taxonomy_id IN (44) ) AND jp_posts.
   post_type = ‘product’ AND ((jp_posts.post_status = ‘publish’)) GROUP BY jp_posts.
   ID ORDER BY jp_postmeta.meta_value+0 ASC, jp_posts.post_date DESC made by require(‘
   wp-blog-header.php’), wp, WP->main, WP->query_posts, WP_Query->query, WP_Query-
   >get_posts, do_action_ref_array, call_user_func_array, WC_Query->pre_get_posts,
   WC_Query->product_query, apply_filters(‘loop_shop_post_in’), call_user_func_array,
   WC_Query->layered_nav_query, get_posts, WP_Query->query, WP_Query->get_posts

The topic ‘wp-blog-header.php errors in error_log file’ is closed to new replies.

## Tags

 * [error_log](https://wordpress.org/support/topic-tag/error_log/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [jassimath](https://wordpress.org/support/users/jassimath/)
 * Last activity: [10 years, 8 months ago](https://wordpress.org/support/topic/wp-blog-headerphp-errors-in-error_log-file/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
