Title: Message Uncaught Error: Cannot use object of type stdClass as array
Last modified: June 19, 2020

---

# Message Uncaught Error: Cannot use object of type stdClass as array

 *  Resolved [jdelgadoesteban](https://wordpress.org/support/users/jdelgadoesteban/)
 * (@jdelgadoesteban)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/message-uncaught-error-cannot-use-object-of-type-stdclass-as-array/)
 * Hello we have woken up to find this error on our shop:
 * Message Uncaught Error: Cannot use object of type stdClass as array in /home/
   spacewha/public_html/wp-content/plugins/litespeed-cache/src/data.cls.php:446 
   Stack trace: #0 /home/spacewha/public_html/wp-content/plugins/litespeed-cache/
   src/optimize.cls.php(1041): LiteSpeed\Data->optm_hash2src(‘9d4fc.js’) #1 /home/
   spacewha/public_html/wp-content/plugins/litespeed-cache/src/optimize.cls.php(
   907): LiteSpeed\Optimize->_build_hash_url(Array, ‘js’) #2 /home/spacewha/public_html/
   wp-content/plugins/litespeed-cache/src/optimize.cls.php(537): LiteSpeed\Optimize-
   >_src_queue_handler(Array, Array, ‘js’) #3 /home/spacewha/public_html/wp-content/
   plugins/litespeed-cache/src/optimize.cls.php(315): LiteSpeed\Optimize->_optimize()#
   4 /home/spacewha/public_html/wp-content/plugins/litespeed-cache/src/core.cls.
   php(404): LiteSpeed\Optimize::finalize(‘…’) #5 [internal function]: LiteSpeed\
   Core->send_headers_force(‘…’, 9) #6 /home/spacewha/public_html/wp-includes/functions.
   php(4609): ob_end_flush() #7 /home/spac
    File /home/spacewha/public_html/wp-content/
   plugins/litespeed-cache/src/data.cls.php
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fmessage-uncaught-error-cannot-use-object-of-type-stdclass-as-array%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [Hai Zheng⚡](https://wordpress.org/support/users/hailite/)
 * (@hailite)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/message-uncaught-error-cannot-use-object-of-type-stdclass-as-array/#post-13009207)
 * Issue confirmed. Fixed in latest commit. You can use `Toolbox` -> `beta test`
   to try it.
 * Will release hotfix v3.2.3.2 today. Thanks.
 *  Thread Starter [jdelgadoesteban](https://wordpress.org/support/users/jdelgadoesteban/)
 * (@jdelgadoesteban)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/message-uncaught-error-cannot-use-object-of-type-stdclass-as-array/#post-13010001)
 * Thanks for the quick response.
 *  Plugin Support [Hai Zheng⚡](https://wordpress.org/support/users/hailite/)
 * (@hailite)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/message-uncaught-error-cannot-use-object-of-type-stdclass-as-array/#post-13010159)
 * You are most welcome.
 * v3.2.3.2 is already released. Please let us know if there is any other issues.
 * Thanks for your report. We just applied a gift to your QC account. Enjoy!

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

The topic ‘Message Uncaught Error: Cannot use object of type stdClass as array’ 
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: [Hai Zheng⚡](https://wordpress.org/support/users/hailite/)
 * Last activity: [5 years, 11 months ago](https://wordpress.org/support/topic/message-uncaught-error-cannot-use-object-of-type-stdclass-as-array/#post-13010159)
 * Status: resolved