Closed dixonl90 closed 1 year ago
On further investigation it appears the issue is that another plugin includes a newer version of Psr\SimpleCache which has the types specified.
I've another project BrianHenryIE/strauss which prefixes Composer packages' namespaces. I had intentionally excluded psr/* packages from prefixing since their purpose is interoperability. Maybe that's the wrong choice. I've made sure to prefix simple-cache in this project now. Thanks
Hello!
This looks like a great plugin, thanks for putting in the time to make it.
I've installed on my development environment, however once I click checkout on the checkout page the following fatal error is thrown:
Here's the logs
Looks like it's due to the difference in some implementations, here's Psr\SimpleCache\CacheInterface:
This is BrianHenryIE\Checkout_Rate_Limiter\WpOop\TransientCache\CachePool
In theory it should be a simple change of definitions.
Env details: WC Version: 5.8.1 WP Version: 5.9.3 PHP Version: 8.0.17