Coder Social home page Coder Social logo

Comments (5)

tillkruss avatar tillkruss commented on June 9, 2024

@xlplugins: Can you please send me a snippet of wp_cache_set() and wp_cache_get() that replicates your buggy behavior?

from redis-cache.

xlplugins avatar xlplugins commented on June 9, 2024

Hi @tillkruss ,
Not exactly sure what you want us to send further, could you please elaborate a little about that?

Also we do not use wp_cache_set() and wp_cache_get() in our plugins code, while WooCommerce does use this method in their abstract class WC_Data::read_meta_data() method.
Here https://plugins.trac.wordpress.org/browser/woocommerce/trunk/includes/abstracts/abstract-wc-data.php#L618

Here we are just calling woocommerce native method which is wc_get_order() and WC_Order::get_meta() and no other code which could impact the returned data. So this issue is most likely causing other plugins too which are using woocommerce along with Object Cache PRO.

It seems the conflict is not between Stripe gateway and object cache pro but between Object cache pro and WooCommerce.

Thanks

from redis-cache.

tillkruss avatar tillkruss commented on June 9, 2024

Can you give me a code snippet of writing and reading using WC_Data that re-creates your issue? Including the exact data you pass into it?

from redis-cache.

tillkruss avatar tillkruss commented on June 9, 2024

Let's get this sorted. Can you provide me with a snippet that replicates how you store data?

from redis-cache.

tillkruss avatar tillkruss commented on June 9, 2024

@xlplugins I'm happy to help you with your code and investigate the issue, BUT I need more information from you.

from redis-cache.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.