Title: wp_cache_get not updating
Last modified: September 7, 2018

---

# wp_cache_get not updating

 *  [quadlayers](https://wordpress.org/support/users/quadlayers/)
 * (@quadlayers)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/wp_cache_get-not-updating/)
 * Hello
 * I’m the developer of QuadMenu
 * I have some users that have reported some issues when your plugin is activated
 * This function is cached but is not updating
 * Can you point me in some direction to fix the issue?
 *     ```
       if (!$data = wp_cache_get('quadmenu', 'wp_get_nav_menu_items')) {
   
                   $data = wp_get_nav_menu_items($menu_id);
   
                   wp_cache_add('quadmenu', $data, 'wp_get_nav_menu_items');
               }
       ```
   
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwp_cache_get-not-updating%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

The topic ‘wp_cache_get not updating’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/memcached.svg)
 * [Memcached Object Cache](https://wordpress.org/plugins/memcached/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/memcached/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/memcached/)
 * [Active Topics](https://wordpress.org/support/plugin/memcached/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/memcached/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/memcached/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [quadlayers](https://wordpress.org/support/users/quadlayers/)
 * Last activity: [7 years, 8 months ago](https://wordpress.org/support/topic/wp_cache_get-not-updating/)
 * Status: not resolved