Title: PHP errors
Last modified: February 17, 2025

---

# PHP errors

 *  Resolved [Daniel Harper](https://wordpress.org/support/users/danhrpr/)
 * (@danhrpr)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/php-errors-334/)
 * I’m getting the following errors in the PHP log file since updating to latest
   WooCommerce
 * WC: 9.6.0
   Payment plugin version: 3.2.60
 *     ```wp-block-code
       [17-Feb-2025 10:20:40 UTC] Payment gateway with handle 'wc-braintree-blocks-applepay' has been deactivated in Cart and Checkout blocks because its dependency 'wc-braintree-blocks-commons' 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[17-Feb-2025 10:20:40 UTC] Payment gateway with handle 'wc-braintree-blocks-paypal' has been deactivated in Cart and Checkout blocks because its dependency 'wc-braintree-blocks-commons' 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[17-Feb-2025 10:20:40 UTC] Payment gateway with handle 'wc-braintree-blocks-googlepay' has been deactivated in Cart and Checkout blocks because its dependency 'wc-braintree-blocks-commons' 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[17-Feb-2025 10:20:40 UTC] Payment gateway with handle 'wc-braintree-blocks-credit-card' has been deactivated in Cart and Checkout blocks because its dependency 'braintree-web-hosted-fields' 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
       ```
   
 * Cheers Dan
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fphp-errors-334%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Clayton R](https://wordpress.org/support/users/mrclayton/)
 * (@mrclayton)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/php-errors-334/#post-18315331)
 * Hi [@danhrpr](https://wordpress.org/support/users/danhrpr/)
 * Those are not PHP errors, they’re notices which should be harmless. Are you using
   Elementor? If so have you tested to see if these notices get generated with Elementor
   disabled?
 * We’ve seen similar notices in the past and it was caused by a compatibility issue
   between Elementor and the WooCommerce blocks.
 * Kind Regards
 *  Thread Starter [Daniel Harper](https://wordpress.org/support/users/danhrpr/)
 * (@danhrpr)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/php-errors-334/#post-18315370)
 * I am not using elementor.
 * Although harmless I want the log file as clean as possible so when we get real
   errors it’s easier to find them rather than wading through notices and exceptions.
   Other than this and one other plugin adding an exception the log file is clean.
 * Are you saying that this plugin registers everything correctly as per the docs?
 *  Plugin Author [Clayton R](https://wordpress.org/support/users/mrclayton/)
 * (@mrclayton)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/php-errors-334/#post-18316589)
 * > Are you saying that this plugin registers everything correctly as per the docs?
 * Yes, that is correct. We are not able to reproduce those log notices nor do we
   have any other reports from large merchants that this is happening.
 * Here is the original ticket that was submitted when we found an issue between
   Elementor and the WooCommerce blocks. This may help with your troubleshooting:
 * [https://github.com/woocommerce/woocommerce-blocks/issues/7907](https://github.com/woocommerce/woocommerce-blocks/issues/7907)
 * I’d recommend using process of elimination and start with just WooCommerce and
   Braintree active and work your way up until the notices start showing. That will
   give an idea of what’s triggering it.

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

The topic ‘PHP errors’ is closed to new replies.

 * ![](https://ps.w.org/woo-payment-gateway/assets/icon-256x256.png?rev=2142799)
 * [Payment Plugins Braintree For WooCommerce](https://wordpress.org/plugins/woo-payment-gateway/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-payment-gateway/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-payment-gateway/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-payment-gateway/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-payment-gateway/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-payment-gateway/reviews/)

## Tags

 * [php](https://wordpress.org/support/topic-tag/php/)

 * 3 replies
 * 2 participants
 * Last reply from: [Clayton R](https://wordpress.org/support/users/mrclayton/)
 * Last activity: [1 year, 3 months ago](https://wordpress.org/support/topic/php-errors-334/#post-18316589)
 * Status: resolved