Title: Deprecated: wp_cache_reset() causes admin 500 error
Last modified: August 22, 2016

---

# Deprecated: wp_cache_reset() causes admin 500 error

 *  [ShawnLunny](https://wordpress.org/support/users/shawnlunny/)
 * (@shawnlunny)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/deprecated-wp_cache_reset-causes-admin-500-error/)
 * The groups plugin hooks the “add_user_to_blog” action to add users to the blog’s
   registered group. Inside this hook it tries to run the wp_cache_reset() function,
   which is deprecated.
 * In the switch_to_blog function found in this file:
 * groups/lib/core/class-groups-controller.php
 * The side affect of this is a 500 error in our admin as we use caching. It means
   users can’t be added or removed properly.
 * [http://codex.wordpress.org/Function_Reference/wp_cache_reset](http://codex.wordpress.org/Function_Reference/wp_cache_reset)
 * Thanks in advance.
 * [https://wordpress.org/plugins/groups/](https://wordpress.org/plugins/groups/)

The topic ‘Deprecated: wp_cache_reset() causes admin 500 error’ is closed to new
replies.

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

## Tags

 * [cache](https://wordpress.org/support/topic-tag/cache/)
 * [deprecated](https://wordpress.org/support/topic-tag/deprecated/)

 * 0 replies
 * 1 participant
 * Last reply from: [ShawnLunny](https://wordpress.org/support/users/shawnlunny/)
 * Last activity: [11 years, 6 months ago](https://wordpress.org/support/topic/deprecated-wp_cache_reset-causes-admin-500-error/)
 * Status: not resolved