Title: Errors in Apache Log
Last modified: August 24, 2016

---

# Errors in Apache Log

 *  Resolved [jefflazo](https://wordpress.org/support/users/jefflazo/)
 * (@jefflazo)
 * [11 years ago](https://wordpress.org/support/topic/errors-in-apache-log/)
 * I have errors in our apache log from every page load in our Woo Commerce Shop.
   We are using a them called Flatsome. The errors go away when I disabled the Post
   Types Order plugin.
 *     ```
       [Fri Apr 17 21:09:06 2015] [error] [client 173.73.147.128] 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 ')' at line 3 for query SELECT p.* FROM wp_posts AS p\n                         INNER JOIN wp_term_relationships AS tr ON p.ID = tr.object_id INNER JOIN wp_term_taxonomy tt ON tr.term_taxonomy_id = tt.term_taxonomy_id\n                        WHERE p.post_date > '2014-10-28 19:46:09' AND p.menu_order = '47' AND p.post_type = 'product' AND p.post_status = 'publish' AND tt.taxonomy = 'category' AND tt.term_id IN () made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/flatsome/woocommerce/single-product.php'), woocommerce_get_template_part, wc_get_template_part, load_template, require('/themes/flatsome/woocommerce/content-single-product.php'), next_post_link_product, adjacent_post_link_product, get_adjacent_post_product, apply_filters('get_next_post_where'), call_user_func_array, cpto_get_next_post_where, referer: http://www.prodpi.com/product-category/books/
       [Fri Apr 17 21:09:06 2015] [error] [client 173.73.147.128] 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 ')' at line 3 for query SELECT p.* FROM wp_posts AS p\n                         INNER JOIN wp_term_relationships AS tr ON p.ID = tr.object_id INNER JOIN wp_term_taxonomy tt ON tr.term_taxonomy_id = tt.term_taxonomy_id\n                        WHERE p.post_date < '2014-10-28 19:46:09'  AND p.menu_order = '47' AND p.post_type = 'product' AND p.post_status = 'publish' AND tt.taxonomy = 'category' AND tt.term_id IN () made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/flatsome/woocommerce/single-product.php'), woocommerce_get_template_part, wc_get_template_part, load_template, require('/themes/flatsome/woocommerce/content-single-product.php'), previous_post_link_product, adjacent_post_link_product, get_adjacent_post_product, apply_filters('get_previous_post_where'), call_user_func_array, cpto_get_previous_post_where, referer: http://www.prodpi.com/product-category/books/
       ```
   
 * [https://wordpress.org/plugins/post-types-order/](https://wordpress.org/plugins/post-types-order/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [nsp-code](https://wordpress.org/support/users/nsp-code/)
 * (@nsp-code)
 * [11 years ago](https://wordpress.org/support/topic/errors-in-apache-log/#post-6035834)
 * Can you make sure you use the latest plugin version?
    If the issue persist, which
   is the WooCommerce are you get this, i.e. category / single product / checkout
   etc.

Viewing 1 replies (of 1 total)

The topic ‘Errors in Apache Log’ is closed to new replies.

 * ![](https://ps.w.org/post-types-order/assets/icon-128x128.png?rev=1226428)
 * [Post Types Order](https://wordpress.org/plugins/post-types-order/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/post-types-order/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/post-types-order/)
 * [Active Topics](https://wordpress.org/support/plugin/post-types-order/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/post-types-order/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/post-types-order/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [nsp-code](https://wordpress.org/support/users/nsp-code/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/errors-in-apache-log/#post-6035834)
 * Status: resolved