Title: 0.9.2.7 update &#8211; Fatal Error: WP_Query object as array
Last modified: August 20, 2016

---

# 0.9.2.7 update – Fatal Error: WP_Query object as array

 *  [Chelsey](https://wordpress.org/support/users/chelseyfenn/)
 * (@chelseyfenn)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/0927-update-fatal-error-wp_query-object-as-array/)
 * Hello,
 * I updated the plugin today and am now receiving the following error message:
 * Fatal error: Cannot use object of type WP_Query as array in /…/define.php on 
   line 1387
 * The visible effect of this at the moment is that site users are no longer seeing
   the WP Toolbar when viewing the site.
 * Any help would be appreciated!
 * Thanks!
 * [http://wordpress.org/extend/plugins/w3-total-cache/](http://wordpress.org/extend/plugins/w3-total-cache/)

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

 *  Thread Starter [Chelsey](https://wordpress.org/support/users/chelseyfenn/)
 * (@chelseyfenn)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/0927-update-fatal-error-wp_query-object-as-array/#post-3447020)
 * Further errors appear when we try to make updates to the site (after clicking‘
   Update’ on a post/page entry):
 * Warning: Incorrect cache engine in /…/public_html/wp-content/plugins/w3-total-
   cache/lib/W3/Cache.php on line 76
 * Warning: Cannot modify header information – headers already sent by (output started
   at /…/public_html/wp-content/plugins/w3-total-cache/lib/W3/Cache.php:76) in /…/
   public_html/wp-includes/pluggable.php on line 876
 * Edits do appear to go through, but something is clearly wrong here…
 *  Plugin Contributor [Frederick Townes](https://wordpress.org/support/users/fredericktownes/)
 * (@fredericktownes)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/0927-update-fatal-error-wp_query-object-as-array/#post-3447133)
 * The plugin uses the same method as WordPress to retrieve the plugin idea. It 
   checks global $posts make sure there is no issue with other plugins. global posts
   should not contain WP_Query. From the Codex [http://codex.wordpress.org/The_Loop](http://codex.wordpress.org/The_Loop):
 * “The $wp_query takes the arguments and builds and executes a DB query that results
   in an array of posts. This array is stored in the object and also returned back
   to the blog header where it is stuffed into the global $posts array (for backward
   compatibility with old post loops).”
 *  Thread Starter [Chelsey](https://wordpress.org/support/users/chelseyfenn/)
 * (@chelseyfenn)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/0927-update-fatal-error-wp_query-object-as-array/#post-3447137)
 * Thanks for the info, but I’m not exactly sure how that helps me…
 * To give you a fuller picture of the situation, users logged into WP do not see
   the toolbar and receive an error message on pages _only while the W3 Total Cache
   plugin is enabled since I updated_. As soon as the plugin is disabled, the toolbar
   appears correctly across the site. Posts do not have the same problem (that is
   to say, the toolbar appears when viewing the blog section of our site).
 * What actions do you recommend?
 * (My second post regarding cache engine errors was solved with this answer: [http://wordpress.org/support/topic/incorrect-cache-engine?replies=6](http://wordpress.org/support/topic/incorrect-cache-engine?replies=6))

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

The topic ‘0.9.2.7 update – Fatal Error: WP_Query object as array’ is closed to 
new replies.

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

 * 3 replies
 * 2 participants
 * Last reply from: [Chelsey](https://wordpress.org/support/users/chelseyfenn/)
 * Last activity: [13 years, 2 months ago](https://wordpress.org/support/topic/0927-update-fatal-error-wp_query-object-as-array/#post-3447137)
 * Status: not resolved