Title: wp cli using object cache even when it&#8217;s not enabled for wp cli
Last modified: August 13, 2025

---

# wp cli using object cache even when it’s not enabled for wp cli

 *  [mbfdias](https://wordpress.org/support/users/mbfdias/)
 * (@mbfdias)
 * [9 months, 3 weeks ago](https://wordpress.org/support/topic/wp-cli-using-object-cache-even-when-its-not-enabled-for-wp-cli/)
 * Hi,
 * when running w3tc with database and object store caching on redis, but both not
   enabled for wp cli “wp post term list ID TAXONOMY” will cache the results as 
   objects. If the term is modified, I have to manually run “wp w3tc flush object”
   to be able to fetch the new content during the object cache ttl.
 * is there a fix or solution for this?

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

 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [9 months, 3 weeks ago](https://wordpress.org/support/topic/wp-cli-using-object-cache-even-when-its-not-enabled-for-wp-cli/#post-18599315)
 * Hello [@mbfdias](https://wordpress.org/support/users/mbfdias/)
 * Thank you for reaching out, and I am happy to help!
   We have tried to replicate
   this; however, we were unable to do soCan you please share more information about
   this? And share more details so we can try to replicate the behavior?What type
   of changes are made on your end, and any specific CLI or other CLI commands that
   you are using?Please provide a step-by-step process so we can try and test this
   and make sure we have a solution for you
 * Thanks!
 *  Thread Starter [mbfdias](https://wordpress.org/support/users/mbfdias/)
 * (@mbfdias)
 * [9 months, 3 weeks ago](https://wordpress.org/support/topic/wp-cli-using-object-cache-even-when-its-not-enabled-for-wp-cli/#post-18599351)
 * hi,
   yes I can. I found this problem specifically when using a taxonomy “post_translations”
   that is used in polylang
 * If I fetch “wp post term list POST_ID post_translations –fields=term_id,term_taxonomy_id,
   description –format=json”
   and another process adds another translation to the
   post, causing the value of “description” for that POST_ID to changeif I run “
   wp post term list POST_ID post_translations –fields=term_id,term_taxonomy_id,
   description –format=json” again I see no change, but if I run “wp w3tc flush 
   object” I get the new value for description
 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [8 months, 3 weeks ago](https://wordpress.org/support/topic/wp-cli-using-object-cache-even-when-its-not-enabled-for-wp-cli/#post-18637865)
 * Hello [@mbfdias](https://wordpress.org/support/users/mbfdias/)
 * Thank you for your patience.
   We’ve tried to replicate this, but no success
 * > another process adds another translation to the post
 * Can you clarify which proccess?
 * Thanks!
 *  Thread Starter [mbfdias](https://wordpress.org/support/users/mbfdias/)
 * (@mbfdias)
 * [8 months, 3 weeks ago](https://wordpress.org/support/topic/wp-cli-using-object-cache-even-when-its-not-enabled-for-wp-cli/#post-18637932)
 * hi
   yes,for example if I open a mysql connection and update the term taxonomy 
   for the post with: UPDATE wp_term_taxonomy set description = ‘a:2:{s:2:”en”;i:
   3454577;s:2:”de”;i:3454609;}’ WHERE term_id = 640304 limit 1;wp post term list
   3454577 post_translations –fields=term_id,term_taxonomy_id,description –format
   =json won’t give me the updated value, but if I wp w3tc flush object, I get the
   updated value. I hope this helps 🙂

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

The topic ‘wp cli using object cache even when it’s not enabled for wp cli’ 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/)

 * 4 replies
 * 2 participants
 * Last reply from: [mbfdias](https://wordpress.org/support/users/mbfdias/)
 * Last activity: [8 months, 3 weeks ago](https://wordpress.org/support/topic/wp-cli-using-object-cache-even-when-its-not-enabled-for-wp-cli/#post-18637932)
 * Status: not resolved