Title: Cannot load litespeed-toolbox.
Last modified: June 17, 2022

---

# Cannot load litespeed-toolbox.

 *  Resolved [markc369](https://wordpress.org/support/users/markc369/)
 * (@markc369)
 * [3 years, 12 months ago](https://wordpress.org/support/topic/cannot-load-litespeed-toolbox/)
 * Like others, I am getting the errors about not being able to load pages both 
   from the database tab and the toolbox tab of the plugin.
 * Example: From Database tab – Select **“Expired Transients”** Result = **“Cannot
   load litespeed-db_optm.”**
 * But on refresh, the action seems to have taken place and they are removed – if
   that helps.
 * From toolbox tab – Select **“Purge Front Page”** Result = **“Cannot load litespeed-
   toolbox.”**
 * This is the same for everything in these sections.
 * I did follow the instructions about disabling everything, but the result was 
   the same.
 * I see three litespeed tables in the database:
    wp_litespeed_avatar wp_litespeed_url
   wp_litespeed_url_file
 * I followed instructions to see if the caching is working and I am getting “hit”
   not “miss” on the pages so that sees to be fine.
 * Checking in cPanel LiteSpeed Web Cache Manager is showing as enabled.
 * I did uninstall and reinstall the plugin to see if it would reset anything – 
   but same issues.
 * And nothing is broken on the website – which is a relief.
 * If you need any further info, then just let me know and I will try to help.
 * Thanks.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcannot-load-litespeed-toolbox%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [3 years, 12 months ago](https://wordpress.org/support/topic/cannot-load-litespeed-toolbox/#post-15747918)
 * ![](https://i0.wp.com/www.litespeedshare.net/2022/06/56dde3-ScreenShot2022-06-
   18_01.02.47.png?ssl=1)
 * if you hover the mouse on that button , and wait for the full link shows up as
   my screenshot , please share that link
 *  Thread Starter [markc369](https://wordpress.org/support/users/markc369/)
 * (@markc369)
 * [3 years, 12 months ago](https://wordpress.org/support/topic/cannot-load-litespeed-toolbox/#post-15748392)
 * Thanks for getting back to me.
 * Here is the link for the Purge Front Page Button (When I hover over it).
 * [https://www.cafedelmarydelsol.com/wp-admin/admin.php?page=litespeed-toolbox&post_type=post&LSCWP_CTRL=purge&LSCWP_NONCE=7a20bca604&litespeed_type=purge_frontpage](https://www.cafedelmarydelsol.com/wp-admin/admin.php?page=litespeed-toolbox&post_type=post&LSCWP_CTRL=purge&LSCWP_NONCE=7a20bca604&litespeed_type=purge_frontpage)
 * The result of clicking on the button is:
 * Cannot load litespeed-toolbox.
 * When I compare the sample that you sent and my own, I do note that there is an
   extra query string “post_type=post” which is not in yours – could this be relevant?
 * Thank you.
 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/cannot-load-litespeed-toolbox/#post-15749513)
 * yes , that is the cause
 * something (other plugin) added that query string to the URI and it breaks our
   page
 *  Thread Starter [markc369](https://wordpress.org/support/users/markc369/)
 * (@markc369)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/cannot-load-litespeed-toolbox/#post-15751913)
 * Thanks for getting back to me and for letting me know that this is the problem.
 * It seems to be being added by the actual them that I am using, rather than another
   plugin, so I have contacted their support to see what they say.
 * If this is something that they cannot / will not change, is there a fix that 
   you might be able to recommend?
 * Thanks again for all your help.
 * Mark.
 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/cannot-load-litespeed-toolbox/#post-15758491)
 *     ```
       if (strpos($_SERVER['REQUEST_URI'], "post_type=post") !== false){
           if ( strpos($_SERVER['REQUEST_URI'], "wp-admin/admin.php?page=litespeed") !== false) {
           $tmp = $_SERVER['REQUEST_URI'];
           $tmp = str_replace("post_type=post", "", $tmp);
           echo "<script>location.replace(\"$tmp\");</script>";
           exit();
       }
       }
       ```
   
 * add this at top of your wp-config.php , take it as last resort to workaround 
   it …
 *  Thread Starter [markc369](https://wordpress.org/support/users/markc369/)
 * (@markc369)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/cannot-load-litespeed-toolbox/#post-15759599)
 * Thank you for getting back to me.
 * I will continue to see if the theme provider can provide a fix, but if not, then
   I will consider your suggested fix.
 * Or I might have to opt for another plugin – don’t really want to waste more time.
   🙂
 * Many thanks and really appreciate your help.
 * Mark.

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

The topic ‘Cannot load litespeed-toolbox.’ is closed to new replies.

 * ![](https://ps.w.org/litespeed-cache/assets/icon-256x256.png?rev=2554181)
 * [LiteSpeed Cache](https://wordpress.org/plugins/litespeed-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/litespeed-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/litespeed-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/litespeed-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/litespeed-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/litespeed-cache/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [markc369](https://wordpress.org/support/users/markc369/)
 * Last activity: [3 years, 11 months ago](https://wordpress.org/support/topic/cannot-load-litespeed-toolbox/#post-15759599)
 * Status: resolved