Title: Can&#8217;t activate LSCache plugin
Last modified: February 1, 2022

---

# Can’t activate LSCache plugin

 *  Resolved [Germont](https://wordpress.org/support/users/alergic/)
 * (@alergic)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/cant-activate-lscache-plugin/)
 * Hello!
    The hosting company suggested the blog should migrate to a more performant
   server. But there I noticed that activation is not possible, and cause errors.
   This is for alt-php 8.0, and the site remains online.
 *     ```
       Stack trace:
       #0 /home/uniqueby/public_html/wp-content/plugins/litespeed-cache/src/cloud.cls.php(465): LiteSpeed\Cloud->_get()
       #1 /home/uniqueby/public_html/wp-content/plugins/litespeed-cache/src/cloud.cls.php(154): LiteSpeed\Cloud::get()
       #2 /home/uniqueby/public_html/wp-content/plugins/litespeed-cache/src/data.cls.php(247): LiteSpeed\Cloud::version_check()
       #3 /home/uniqueby/public_html/wp-content/plugins/litespeed-cache/src/conf.cls.php(92): LiteSpeed\Data->try_upgrade_conf_3_0()
       #4 /home/uniqueby/public_html/wp-content/plugins/litespeed-cache/src/conf.cls.php(33): LiteSpeed\Conf->_conf_db_init()
       #5 /home/uniqueby/public_html/wp-content/plugins/litespeed-cache/src/core.cls.php(44): LiteSpeed\Conf->init()
       #6 /home/uniqueby/public_html/wp-content/plugins/litespeed-cache/src/root.cls.php(197): LiteSpeed\Core->__construct()
       #7 /home/uniqueby/public_html/wp-content/plugins/litespeed-cache/litespeed-cache.php(178): LiteSpeed\Root::cls()
       #8 /home/uniqueby/public_html/wp-content/plugins/litespeed-cache/litespeed-cache.php(181): run_litespeed_cache()
       #9 /home/uniqueby/public_html/wp-admin/includes/plugin.php(2288): include_once('/home/uniqueby/...')
       #10 /home/uniqueby/public_html/wp-admin/plugins.php(192): plugin_sandbox_scrape()
       #11 {main}
         thrown in /home/uniqueby/public_html/wp-content/plugins/litespeed-cache/src/cloud.cls.php on line 505
       [01-Feb-2022 02:33:04 UTC] PHP Fatal error:  Uncaught TypeError: Cannot access offset of type string on string in /home/uniqueby/public_html/wp-content/plugins/litespeed-cache/src/cloud.cls.php:505
       ```
   
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcant-activate-lscache-plugin%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Thread Starter [Germont](https://wordpress.org/support/users/alergic/)
 * (@alergic)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/cant-activate-lscache-plugin/#post-15313770)
 * I setup another wp on a subdomain, and plugin can be enabled just fine.
    I am
   not sure which is the error for ea-php 8.0, but it render the site unusable, 
   some text on a white screen.
 *  Thread Starter [Germont](https://wordpress.org/support/users/alergic/)
 * (@alergic)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/cant-activate-lscache-plugin/#post-15317037)
 * Error details for ea-php 8.0
    ============== An error of type E_ERROR was caused
   in line of the file
 *     ```
       /home/uniqueby/public_html/wp-content/plugins/litespeed-cache/src/cloud.cls.php.
       Error message: Uncaught TypeError: Cannot access offset of type string on string in /home/uniqueby/public_html/wp-content/plugins/litespeed-cache/src/cloud.cls.php:505
       Stack trace:
       #0 /home/uniqueby/public_html/wp-content/plugins/litespeed-cache/src/cloud.cls.php(465): LiteSpeed\Cloud->_get('ver', Array)
       #1 /home/uniqueby/public_html/wp-content/plugins/litespeed-cache/src/cloud.cls.php(154): LiteSpeed\Cloud::get('ver', Array)
       #2 /home/uniqueby/public_html/wp-content/plugins/litespeed-cache/src/data.cls.php(247): LiteSpeed\Cloud::version_check('new')
       #3 /home/uniqueby/public_html/wp-content/plugins/litespeed-cache/src/conf.cls.php(92): LiteSpeed\Data->try_upgrade_conf_3_0()
       #4 /home/uniqueby/public_html/wp-content/plugins/litespeed-cache/src/conf.cls.php(33): LiteSpeed\Conf->_conf_db_init()
       #5 /home/uniqueby/public_html/wp-content/plugins/litespeed-cache/src/core.cls.php(44): LiteSpeed\Conf->init()
       #6 /home/uniqueby/public_html/wp-content/plugins/litespeed-cache/src/root.cls.php(197): LiteSpeed\Core->__construct(false)
       #7 /home/uniqueby/public_html/wp-content/plugins/litespeed-cache/litespeed-cache.php(178): LiteSpeed\Root::cls()
       #8 /home/uniqueby/public_html/wp-content/plugins/litespeed-cache/litespeed-cache.php(181): run_litespeed_cache()
       #9 /home/uniqueby/public_html/wp-settings.php(418): include_once('/home/uniqueby/...')
       #10 /home/uniqueby/public_html/wp-config.php(81): require_once('/home/uniqueby/...')
       #11 /home/uniqueby/public_html/wp-load.php(50): require_once('/home/uniqueby/...')
       #12 /home/uniqueby/public_html/wp-admin/admin.php(34): require_once('/home/uniqueby/...')
       #13 /home/uniqueby/public_html/wp-admin/plugins.php(10): require_once('/home/uniqueby/...')
       #14 {main}
         thrown
       ```
   
 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/cant-activate-lscache-plugin/#post-15317608)
 * Hi,
 * please create a ticket by mail to `support at litespeedtech.com` with reference
   link to this topic
 * we will investigate further
 * Best regards,

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

The topic ‘Can’t activate LSCache plugin’ 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/)

 * 3 replies
 * 2 participants
 * Last reply from: [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * Last activity: [4 years, 3 months ago](https://wordpress.org/support/topic/cant-activate-lscache-plugin/#post-15317608)
 * Status: resolved