Title: SQL overload
Last modified: July 20, 2017

---

# SQL overload

 *  Resolved [Graham Cluley](https://wordpress.org/support/users/gcluley/)
 * (@gcluley)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/sql-overload-2/)
 * Hi there
 * My managed wordpress host (Pressidium) contacted me today saying that they had
   experienced a problem with this plugin, and asked me to pass on this message:
 * ===
    For the past few hours we have seen an extreme SQL resource abuse coming
   from one of your plugins [author-avatars].
 * More specifically the problem seems to be that a function called on every plugin
   initialization (thus on every WP load), that is used to do a check if the correct
   plugin version is installed, is running a version update through the WP options
   API, which always contain the same version number.
 * I have added the following on line 236 in file ‘wp-content/plugins/author-avatars/
   lib/AuthorAvatars.class.php, making it exit from install_check() ASAP:
 * return true;
 * which seems to have resolved the problem for the time being. Please contact the
   plugin author with the above info in case they can identify & fix the problem
   as the above change will be overwritten during the next update of the plugin 
   and the problem might reappear.
 * ===
 * I hope you’re able to look into this and resolve the issue.

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

 *  Plugin Author [Paul Bearne](https://wordpress.org/support/users/pbearne/)
 * (@pbearne)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/sql-overload-2/#post-9337922)
 * Thanks for the bug report
 * I will fix in the next version
 * Paul
 *  Thread Starter [Graham Cluley](https://wordpress.org/support/users/gcluley/)
 * (@gcluley)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/sql-overload-2/#post-9337954)
 * Thanks Paul!
 *  Plugin Author [Paul Bearne](https://wordpress.org/support/users/pbearne/)
 * (@pbearne)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/sql-overload-2/#post-9347624)
 * I have made a change that we fix this for the next version
 * Paul

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

The topic ‘SQL overload’ is closed to new replies.

 * ![](https://ps.w.org/author-avatars/assets/icon-256x256.png?rev=973937)
 * [Author Avatars List/Block](https://wordpress.org/plugins/author-avatars/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/author-avatars/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/author-avatars/)
 * [Active Topics](https://wordpress.org/support/plugin/author-avatars/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/author-avatars/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/author-avatars/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Paul Bearne](https://wordpress.org/support/users/pbearne/)
 * Last activity: [8 years, 10 months ago](https://wordpress.org/support/topic/sql-overload-2/#post-9347624)
 * Status: resolved