Title: [Plugin: Yet Another Related Posts Plugin] SQL Syntax error in logs
Last modified: August 20, 2016

---

# [Plugin: Yet Another Related Posts Plugin] SQL Syntax error in logs

 *  Resolved [technabob](https://wordpress.org/support/users/technabob/)
 * (@technabob)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-yet-another-related-posts-plugin-sql-syntax-error-in-logs/)
 * I’m currently running YARPP 3.5.2 on my site, and have noticed the following 
   errors in my error log a few times each day.
 *     ```
       [05-Sep-2012 21:53:39] 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 1 for query delete from wp_yarpp_keyword_cache where ID in () made by do_action_ref_array, call_user_func_array, wp_delete_auto_drafts, wp_delete_post, do_action('delete_post'), call_user_func_array, YARPP_Cache->delete_post, YARPP_Cache_Tables->clear
       ```
   
 * Not sure if anything is breaking as a result but thought I’d mention it. Let 
   me know if you need any further details to find the cause.
 * [http://wordpress.org/extend/plugins/yet-another-related-posts-plugin/](http://wordpress.org/extend/plugins/yet-another-related-posts-plugin/)

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

 *  Thread Starter [technabob](https://wordpress.org/support/users/technabob/)
 * (@technabob)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-yet-another-related-posts-plugin-sql-syntax-error-in-logs/#post-3022973)
 * Oh, and I’m running MySQL 5.0.92 if that helps.
 *  [mitcho (Michael Yoshitaka Erlewine)](https://wordpress.org/support/users/mitchoyoshitaka/)
 * (@mitchoyoshitaka)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-yet-another-related-posts-plugin-sql-syntax-error-in-logs/#post-3022996)
 * Thanks for the report. I believe this is fixed in the latest beta:
 * [http://downloads.wordpress.org/plugin/yet-another-related-posts-plugin.3.5.3b1.zip](http://downloads.wordpress.org/plugin/yet-another-related-posts-plugin.3.5.3b1.zip)
 * Please let me know if you continue to see these or similar errors. Thank you!

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

The topic ‘[Plugin: Yet Another Related Posts Plugin] SQL Syntax error in logs’ 
is closed to new replies.

 * ![](https://ps.w.org/yet-another-related-posts-plugin/assets/icon-256x256.png?
   rev=2549977)
 * [YARPP - Yet Another Related Posts Plugin](https://wordpress.org/plugins/yet-another-related-posts-plugin/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/yet-another-related-posts-plugin/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/yet-another-related-posts-plugin/)
 * [Active Topics](https://wordpress.org/support/plugin/yet-another-related-posts-plugin/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/yet-another-related-posts-plugin/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/yet-another-related-posts-plugin/reviews/)

## Tags

 * [cache](https://wordpress.org/support/topic-tag/cache/)
 * [sql](https://wordpress.org/support/topic-tag/sql/)
 * [YARPP](https://wordpress.org/support/topic-tag/yarpp/)

 * 2 replies
 * 2 participants
 * Last reply from: [mitcho (Michael Yoshitaka Erlewine)](https://wordpress.org/support/users/mitchoyoshitaka/)
 * Last activity: [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-yet-another-related-posts-plugin-sql-syntax-error-in-logs/#post-3022996)
 * Status: resolved