Title: V1.5 &#8211; SQL Error With WP-Mail
Last modified: August 18, 2016

---

# V1.5 – SQL Error With WP-Mail

 *  [silversir](https://wordpress.org/support/users/silversir/)
 * (@silversir)
 * [21 years, 4 months ago](https://wordpress.org/support/topic/v15-sql-error-with-wp-mail/)
 * My blog has been working fine, I can enter comments no problem but I tried to
   set up wp-mail and I get the following syntax error:
 * 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 category_id = 9’ at line 1]
    SELECT * FROM wp_post2cat WHERE post_id = AND
   category_id = 9
 * I am using WordPress 1.5 Beta

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [blueorder](https://wordpress.org/support/users/blueorder/)
 * (@blueorder)
 * [21 years, 4 months ago](https://wordpress.org/support/topic/v15-sql-error-with-wp-mail/#post-134599)
 * I am getting the same error and have posted to mosquito but nothing yet…
 * [http://wordpress.org/support/topic.php?id=21088](http://wordpress.org/support/topic.php?id=21088)
   
   [http://mosquito.wordpress.org/view.php?id=744](http://mosquito.wordpress.org/view.php?id=744)
 * Has anyone out there encountered this and found a workaround?…
 *  [tremaine](https://wordpress.org/support/users/tremaine/)
 * (@tremaine)
 * [20 years, 10 months ago](https://wordpress.org/support/topic/v15-sql-error-with-wp-mail/#post-134711)
 * Same error, I’ve posted a fair bit of info in another thread over here but no
   responses thus far. -> [http://wordpress.org/support/topic/38746](http://wordpress.org/support/topic/38746)

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘V1.5 – SQL Error With WP-Mail’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 3 participants
 * Last reply from: [tremaine](https://wordpress.org/support/users/tremaine/)
 * Last activity: [20 years, 10 months ago](https://wordpress.org/support/topic/v15-sql-error-with-wp-mail/#post-134711)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
