This repository has been archived by the owner on Feb 23, 2024. It is now read-only.
[error log] "Payment gateway with handle 'wc-payment-method-cod' has been deactivated..." #8259
Closed
4 of 5 tasks
Prerequisites
Describe the bug
There is a specific error log entry that is flooded the error log file.
Payment gateway with handle 'wc-payment-method-cod' has been deactivated in Cart and Checkout blocks because its dependency 'wc-blocks-registry' is not registered. Read the docs about registering assets for payment methods: https://github.com/woocommerce/woocommerce-blocks/blob/060f63c04f0f34f645200b5d4da9212125c49177/docs/third-party-developers/extensibility/checkout-payment-methods/payment-method-integration.md#registering-assets
The strange thing is that this site doesn't have any Cart or Checkout blocks inserted. The Block editor was disabled, and the website was built with Elementor Pro.
Expected behavior
No log entry.
Actual behavior
Log entry.
Steps to reproduce
I am not sure how to replicate this error.
WordPress Environment
Isolating the problem
The text was updated successfully, but these errors were encountered: