Title: Huge plugin initialization issue
Last modified: July 19, 2020

---

# Huge plugin initialization issue

 *  Resolved [Milan Petrovic](https://wordpress.org/support/users/gdragon/)
 * (@gdragon)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/huge-plugin-initialization-issue/)
 * I have noticed that Getwid runs 50+ SQL queries on every single administration
   page, regardless of what that page is, every single page loads! All queries look
   like this:
 *     ```
       SELECT option_value 
       FROM wp_options 
       WHERE option_name = 'getwid/icon::disabled' 
       LIMIT 1
       ```
   
 * It seems that the plugin checks each block individually if it is disabled or 
   not, and each one has its own option in the options table, and for each one ‘
   autoload’ is not used, ending in running quite a lot of SQL queries. Why do you
   need to run these queries outside of the editor pages in the first place? Can
   you please change how this part of the plugin works, and store these settings
   in a more optimal way? Right now your plugin accounts for 40% of all SQL queries
   run on the admin side on my website, it is really terrible method you used here
   for the otherwise excellent plugin.
 * Regards,
    Milan

Viewing 1 replies (of 1 total)

 *  Plugin Support [arsengunner](https://wordpress.org/support/users/arsengunner/)
 * (@arsengunner)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/huge-plugin-initialization-issue/#post-13143872)
 * Hi, [@gdragon](https://wordpress.org/support/users/gdragon/)! Thank you for the
   detailed issue description, I have passed it to our developers for further investigation.
   Once there is any feedback from them, I will immediately let you know.
 * Regards,
    Arsen

Viewing 1 replies (of 1 total)

The topic ‘Huge plugin initialization issue’ is closed to new replies.

 * ![](https://ps.w.org/getwid/assets/icon.svg?rev=2238400)
 * [Getwid - Gutenberg Blocks](https://wordpress.org/plugins/getwid/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/getwid/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/getwid/)
 * [Active Topics](https://wordpress.org/support/plugin/getwid/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/getwid/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/getwid/reviews/)

## Tags

 * [SQL queries](https://wordpress.org/support/topic-tag/sql-queries/)

 * 1 reply
 * 2 participants
 * Last reply from: [arsengunner](https://wordpress.org/support/users/arsengunner/)
 * Last activity: [5 years, 8 months ago](https://wordpress.org/support/topic/huge-plugin-initialization-issue/#post-13143872)
 * Status: resolved