Title: SQL errors in error log
Last modified: August 21, 2016

---

# SQL errors in error log

 *  [Jared Atchison](https://wordpress.org/support/users/jaredatch/)
 * (@jaredatch)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/sql-errors-in-error-log/)
 * I’n my error log, I’m getting SQL errors from the plugin, fairly frequently.
 * Example
 *     ```
       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 '5.3554128450985E+19, 12' at line 5 for query SELECT SQL_CALC_FOUND_ROWS  wp_posts.ID FROM wp_posts  INNER JOIN wp_term_relationships ON (wp_posts.ID = wp_term_relationships.object_id) INNER JOIN wp_postmeta ON (wp_posts.ID = wp_postmeta.post_id) LEFT JOIN wp_postmeta wphptbl ON wp_posts.ID = wphptbl.post_id and wphptbl.me
   
       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 '9.8609947944605E+19, 12' at line 5 for query SELECT SQL_CALC_FOUND_ROWS  wp_posts.ID FROM wp_posts  INNER JOIN wp_term_relationships ON (wp_posts.ID = wp_term_relationships.object_id) INNER JOIN wp_postmeta ON (wp_posts.ID = wp_postmeta.post_id) LEFT JOIN wp_postmeta wphptbl ON wp_posts.ID = wphptbl.post_id and wphptbl.me
       ```
   
 * Any ideas?
 * [http://wordpress.org/plugins/wp-hide-post/](http://wordpress.org/plugins/wp-hide-post/)

The topic ‘SQL errors in error log’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-hide-post.svg)
 * [WP Hide Post](https://wordpress.org/plugins/wp-hide-post/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-hide-post/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-hide-post/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-hide-post/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-hide-post/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-hide-post/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Jared Atchison](https://wordpress.org/support/users/jaredatch/)
 * Last activity: [12 years, 5 months ago](https://wordpress.org/support/topic/sql-errors-in-error-log/)
 * Status: not resolved