Title: Undefined function litespeed_oc_disable_ext_cache
Last modified: July 1, 2026

---

# Undefined function litespeed_oc_disable_ext_cache

 *  Resolved [Rolf Allard van Hagen](https://wordpress.org/support/users/ravanh/)
 * (@ravanh)
 * [4 days, 16 hours ago](https://wordpress.org/support/topic/undefined-function-litespeed_oc_disable_ext_cache/)
 * Hi, when filling out the Object Cache settings the first time and saving, I got
   this error:
 *     ```wp-block-code
       Une erreur de type E_ERROR a été causée dans la ligne 586 du fichier /home/xxx/xxx.fr/wp-content/plugins/litespeed-cache/src/object-cache.cls.php. Message d’erreur : Uncaught Error: Call to undefined function LiteSpeed\litespeed_oc_disable_ext_cache() in /home/xxx/xxx.fr/wp-content/plugins/litespeed-cache/src/object-cache.cls.php:586Stack trace:#0 /home/xxx/xxx.fr/wp-content/plugins/litespeed-cache/src/object-cache.cls.php(444): LiteSpeed\Object_Cache->_connect()#1 /home/xxx/xxx.fr/wp-content/plugins/litespeed-cache/src/object-cache.cls.php(389): LiteSpeed\Object_Cache->_reconnect()#2 /home/xxx/xxx.fr/wp-content/plugins/litespeed-cache/src/activation.cls.php(338): LiteSpeed\Object_Cache->update_file()#3 /home/xxx/xxx.fr/wp-content/plugins/litespeed-cache/src/conf.cls.php(511): LiteSpeed\Activation->update_files()#4 /home/xxx/xxx.fr/wp-content/plugins/litespeed-cache/src/admin-settings.cls.php(295): LiteSpeed\Conf->update_confs()#5 /home/xxx/xxx.fr/wp-content/plugins/litespeed-cache/src/admin.cls.php(146): LiteSpeed\Admin_Settings->save()#6 /home/xxx/xxx.fr/wp-content/plugins/litespeed-cache/src/admin.cls.php(70): LiteSpeed\Admin->_proceed_admin_action()#7 /home/xxx/xxx.fr/wp-includes/class-wp-hook.php(341): LiteSpeed\Admin->admin_init()#8 /home/xxx/xxx.fr/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters()#9 /home/xxx/xxx.fr/wp-includes/plugin.php(522): WP_Hook->do_action()#10 /home/xxx/xxx.fr/wp-admin/admin.php(180): do_action()#11 {main}  thrown
       ```
   
 * Refreshing the page and even modifying settings did not cause the error anymore.
   It only happened once.
 * I should note that the first settings I did, after which the error occurred, 
   were: Redis with socket path set and port 0, but leaving empty the password (
   which the server setup actually requires). So I was expecting the connection 
   test to fail, but instead I got this error. But like I said: only ONE time. Not
   after removing the password again or switching between Memcached and Redis or
   anything…

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

 *  Plugin Support [litetim](https://wordpress.org/support/users/litetim/)
 * (@litetim)
 * [4 days, 14 hours ago](https://wordpress.org/support/topic/undefined-function-litespeed_oc_disable_ext_cache/#post-18953142)
 * [@ravanh](https://wordpress.org/support/users/ravanh/) sorry for inconvenience.
   This is a known issue and will be fixed in 7.9
   It will come this month ASAP 🙂
   Thank you for understanding
 *  Thread Starter [Rolf Allard van Hagen](https://wordpress.org/support/users/ravanh/)
 * (@ravanh)
 * [4 days, 14 hours ago](https://wordpress.org/support/topic/undefined-function-litespeed_oc_disable_ext_cache/#post-18953155)
 * Perfect 🙂
 *  [Charlie Laubin](https://wordpress.org/support/users/charlie45100/)
 * (@charlie45100)
 * [1 day, 3 hours ago](https://wordpress.org/support/topic/undefined-function-litespeed_oc_disable_ext_cache/#post-18956077)
 * Same error here, thank for your fixed !

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

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fundefined-function-litespeed_oc_disable_ext_cache%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](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/)

 * 3 replies
 * 3 participants
 * Last reply from: [Charlie Laubin](https://wordpress.org/support/users/charlie45100/)
 * Last activity: [1 day, 3 hours ago](https://wordpress.org/support/topic/undefined-function-litespeed_oc_disable_ext_cache/#post-18956077)
 * Status: resolved