Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Database error?? In server error_log

  1. #1
    Thread Starter
    Senior Member gordon's Avatar
    Join Date
    Oct 2011
    Location
    Canada
    Posts
    245
    Thanks
    11
    Thanked 1 Time in 1 Post

    Database error?? In server error_log

    I get this error in my error_log:

    WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND post_type IN ('ad_listing') AND post_status = 'publish'' at line 1 for query SELECT object_id, term_taxonomy_id FROM wp_term_relationships INNER JOIN wp_posts ON object_id = ID WHERE term_taxonomy_id IN () AND post_type IN ('ad_listing') AND post_status = 'publish' made by require, require_once, require_once, do_action, call_user_func_array, app_login_init, app_show_login, include_once, appthemes_header, do_action, call_user_func_array, cp_header, cp_cat_menu_drop_down, wp_list_categories, get_categories, get_terms, _pad_term_counts

    __________________________________________________ _______________

    WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND post_type IN ('ad_listing') AND post_status = 'publish'' at line 1 for query SELECT object_id, term_taxonomy_id FROM wp_term_relationships INNER JOIN wp_posts ON object_id = ID WHERE term_taxonomy_id IN () AND post_type IN ('ad_listing') AND post_status = 'publish' made by require, require_once, include, get_header, locate_template, load_template, require_once, appthemes_header, do_action, call_user_func_array, cp_header, cp_cat_menu_drop_down, wp_list_categories, get_categories, get_terms, _pad_term_counts

    __________________________________________________ ___________________

    WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND post_type IN ('ad_listing') AND post_status = 'publish'' at line 1 for query SELECT object_id, term_taxonomy_id FROM wp_term_relationships INNER JOIN wp_posts ON object_id = ID WHERE term_taxonomy_id IN () AND post_type IN ('ad_listing') AND post_status = 'publish' made by require, require_once, include, cp_cat_menu_drop_down, wp_list_categories, get_categories, get_terms, _pad_term_counts

  2. #2
    Veteran barukar's Avatar
    Join Date
    Sep 2010
    Location
    Brasil, São Paulo, SP
    Posts
    6,785
    Thanks
    186
    Thanked 742 Times in 623 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    -------------------------------------------------------------------------------------------
    Projects: ClassiNoiva - Classimóveis - vocênoenem - i50 - Clube DETRAN

  3. #3
    Thread Starter
    Senior Member gordon's Avatar
    Join Date
    Oct 2011
    Location
    Canada
    Posts
    245
    Thanks
    11
    Thanked 1 Time in 1 Post
    You must be an AppThemes customer and logged in to view this response. Join today!

  4. #4
    Thread Starter
    Senior Member gordon's Avatar
    Join Date
    Oct 2011
    Location
    Canada
    Posts
    245
    Thanks
    11
    Thanked 1 Time in 1 Post
    You must be an AppThemes customer and logged in to view this response. Join today!

  5. #5
    Veteran barukar's Avatar
    Join Date
    Sep 2010
    Location
    Brasil, São Paulo, SP
    Posts
    6,785
    Thanks
    186
    Thanked 742 Times in 623 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    -------------------------------------------------------------------------------------------
    Projects: ClassiNoiva - Classimóveis - vocênoenem - i50 - Clube DETRAN

  6. #6
    Rookie favorigrup's Avatar
    Join Date
    Jan 2012
    Location
    Turkey
    Posts
    8
    Thanks
    3
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  7. #7
    Veteran barukar's Avatar
    Join Date
    Sep 2010
    Location
    Brasil, São Paulo, SP
    Posts
    6,785
    Thanks
    186
    Thanked 742 Times in 623 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    -------------------------------------------------------------------------------------------
    Projects: ClassiNoiva - Classimóveis - vocênoenem - i50 - Clube DETRAN

  8. #8
    Rookie favorigrup's Avatar
    Join Date
    Jan 2012
    Location
    Turkey
    Posts
    8
    Thanks
    3
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  9. #9
    Veteran barukar's Avatar
    Join Date
    Sep 2010
    Location
    Brasil, São Paulo, SP
    Posts
    6,785
    Thanks
    186
    Thanked 742 Times in 623 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    -------------------------------------------------------------------------------------------
    Projects: ClassiNoiva - Classimóveis - vocênoenem - i50 - Clube DETRAN

  10. #10
    Thread Starter
    Senior Member gordon's Avatar
    Join Date
    Oct 2011
    Location
    Canada
    Posts
    245
    Thanks
    11
    Thanked 1 Time in 1 Post
    You must be an AppThemes customer and logged in to view this response. Join today!

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Error_Log filling up with one particular SQL error
    By frostiecuk in forum Report Clipper Bugs
    Replies: 1
    Last Post: January 16th, 2012, 07:41 AM
  2. Internal Server Error - ?!
    By verdelino in forum Report ClassiPress Bugs
    Replies: 1
    Last Post: January 18th, 2011, 07:20 AM
  3. Internal Server Error
    By verdelino in forum Help Using ClassiPress
    Replies: 1
    Last Post: January 18th, 2011, 06:48 AM