Title: Quotes widget causing server overload
Last modified: April 14, 2023

---

# Quotes widget causing server overload

 *  Resolved [Mariette](https://wordpress.org/support/users/mariettej/)
 * (@mariettej)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/quotes-widget-causing-server-overload/)
 * Hi
 * I have recently installed your plugin (to replace Quotes Collection) and have
   since had repeated server overloads due to huge increases in programme executions(
   a spike of over 75,000/hour in one case). I have been advised (by SiteGround 
   support) that this is being caused by a high number of admin-ajax.php executions.“
   There have been more admin-ajax.php executions than index.php, which usually 
   indicates a plugin/theme issue with the site that continuously executes the script
   more than once per visit”. They have identified this as the cause:
 * quotes_select .
   ./quotes-llama/class-quotesllama.php./quotes-llama/quotes-llama.
   js
 * I had added your widget to a sidebar to display random quotes but have now removed
   it and deactivated the plugin and all seems to be well again.
 * Can you advise if this is something you are aware of and if you are planning 
   to resolve the issue?
 * many thanks

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

 *  Plugin Author [oooorgle](https://wordpress.org/support/users/oooorgle/)
 * (@oooorgle)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/quotes-widget-causing-server-overload/#post-16656751)
 * Hi Mariette, Yes I am currently working on resolving this.
 * I have no beta testers atm. If you would be interested in helping test this, 
   let me know via email @ llama at oooorgle dot com, I’ll keep you updated.
 *  Plugin Author [oooorgle](https://wordpress.org/support/users/oooorgle/)
 * (@oooorgle)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/quotes-widget-causing-server-overload/#post-16658339)
 * Committed 2.1.3. If you are able to test it please let me know how it works out?
   Thanks.
 *  Plugin Author [oooorgle](https://wordpress.org/support/users/oooorgle/)
 * (@oooorgle)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/quotes-widget-causing-server-overload/#post-16662054)
 * When you can try it out the update and let me know? It should hopefully address
   the issues you are having.
 * Thanks.
 *  Thread Starter [Mariette](https://wordpress.org/support/users/mariettej/)
 * (@mariettej)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/quotes-widget-causing-server-overload/#post-16662724)
 * I had deleted the plugin on the affected site (and also had to add a temporary
   rule to the .htaccess to stop the admin-ajax.php executions which didn’t seem
   to stop on deactivation). However, I have now reinstalled it and updated to the
   latest version and so far I can’t see any repeat of the issues I was having. 
   I will monitor it and let you know if the problem returns.
 * Fo info, I had also installed your plugin on 5 other sites but these did not 
   have the same issue. It is very odd. Can you let me know what the issue was please?
   Is it possible that not all code related to your plugin were removed on deativation/
   deletion?
 * Many thanks for hopefully finding a fix – apart from that strange overload issue
   I was really pleased to have found a replacement to the Quotes Collection.
 *  Plugin Author [oooorgle](https://wordpress.org/support/users/oooorgle/)
 * (@oooorgle)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/quotes-widget-causing-server-overload/#post-16662987)
 * That’s great to hear it’s working again.
 * The change is related with separating dead code from the plugin. Instead of loading
   script and styles on every page, it only loads what is needed. It seems I misplaced
   the script call within the short-code, when it should have been in the function
   instead. Basically, any refresh or loading of another quote on a page would duplicate
   the ajax.
 * I was not getting that result myself and yes it’s been all sorts of people saying
   it works and others saying it doesn’t with it that way. And I’m still not quite
   sure why but I am sure it’s not supposed to be in the short-code, which seems
   to make it more consistent with everyone.
 * Yes, please let me know if it gives you any further problems.
 * Thanks!
 *  Thread Starter [Mariette](https://wordpress.org/support/users/mariettej/)
 * (@mariettej)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/quotes-widget-causing-server-overload/#post-16664654)
 * Thanks for the explanation, and happy to report that all is still well 🙂

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

The topic ‘Quotes widget causing server overload’ is closed to new replies.

 * ![](https://ps.w.org/quotes-llama/assets/icon-128x128.png?rev=1332185)
 * [Quotes llama](https://wordpress.org/plugins/quotes-llama/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/quotes-llama/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/quotes-llama/)
 * [Active Topics](https://wordpress.org/support/plugin/quotes-llama/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/quotes-llama/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/quotes-llama/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [Mariette](https://wordpress.org/support/users/mariettej/)
 * Last activity: [3 years, 1 month ago](https://wordpress.org/support/topic/quotes-widget-causing-server-overload/#post-16664654)
 * Status: resolved