Title: Fatal Error when running WP CLI
Last modified: October 17, 2019

---

# Fatal Error when running WP CLI

 *  Resolved [therealgilles](https://wordpress.org/support/users/chamois_blanc/)
 * (@chamois_blanc)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-when-running-wp-cli/)
 * I am getting the following fatal error when running WP CLI. Please fix:
 *     ```
       Fatal error: Uncaught Error: Cannot use object of type stdClass as array in .../public_html/wp-content/plugins/ocean-extra/includes/freemius/includes/managers/class-fs-key-value-storage.php:154
       Stack trace:
       #0 .../public_html/wp-content/plugins/ocean-extra/includes/freemius/includes/managers/class-fs-key-value-storage.php(129): FS_Key_Value_Storage->load()
       #1 .../public_html/wp-content/plugins/ocean-extra/includes/freemius/includes/managers/class-fs-key-value-storage.php(107): FS_Key_Value_Storage->__construct('admin_notices', 'global', 0)
       #2 .../public_html/wp-content/plugins/ocean-extra/includes/freemius/includes/managers/class-fs-admin-notice-manager.php(123): FS_Key_Value_Storage::instance('admin_notices', 'global', 0)
       #3 .../public_html/wp-content/plugins/ocean-extra/includes/freemius/includes/managers/class-fs-admin-notice-manage in .../public_html/wp-content/plugins/ocean-extra/includes/freemius/includes/managers/class-fs-key-value-storage.php on line 154
       Error: The site is experiencing technical difficulties.
       ```
   

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

 *  Thread Starter [therealgilles](https://wordpress.org/support/users/chamois_blanc/)
 * (@chamois_blanc)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-when-running-wp-cli/#post-12040719)
 * Nevermind, looks like it is a problem created by a redis-cache plugin 1.5.0 update.
 *  [Sebastien SERRE](https://wordpress.org/support/users/sebastienserre/)
 * (@sebastienserre)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-when-running-wp-cli/#post-12042139)
 * Hello [@chamois_blanc](https://wordpress.org/support/users/chamois_blanc/)
    How
   did you solve this problem? Deactivating [https://fr.wordpress.org/plugins/redis-cache/](https://fr.wordpress.org/plugins/redis-cache/)
   didn’t solve this error on my side.
 *  Thread Starter [therealgilles](https://wordpress.org/support/users/chamois_blanc/)
 * (@chamois_blanc)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-when-running-wp-cli/#post-12043893)
 * Hi Sébastien,
 * You can try to temporarily put this in wp-config.php:
 *     ```
       // Force disable redis cache
       define('WP_REDIS_DISABLED', true)
       ```
   
 * It’s possible you still have the wp-content/object-cache.php file in place. I
   restored from a previous day backup (files + database) to get my site back up.

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

The topic ‘Fatal Error when running WP CLI’ is closed to new replies.

 * ![](https://ps.w.org/ocean-extra/assets/icon.svg?rev=2814940)
 * [Ocean Extra](https://wordpress.org/plugins/ocean-extra/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ocean-extra/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ocean-extra/)
 * [Active Topics](https://wordpress.org/support/plugin/ocean-extra/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ocean-extra/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ocean-extra/reviews/)

## Tags

 * [fatal error](https://wordpress.org/support/topic-tag/fatal-error/)
 * [wp-cli](https://wordpress.org/support/topic-tag/wp-cli/)

 * 3 replies
 * 2 participants
 * Last reply from: [therealgilles](https://wordpress.org/support/users/chamois_blanc/)
 * Last activity: [6 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-when-running-wp-cli/#post-12043893)
 * Status: resolved