Title: Uncaught Error
Last modified: January 2, 2024

---

# Uncaught Error

 *  Resolved [twisted89](https://wordpress.org/support/users/twisted89/)
 * (@twisted89)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/uncaught-error-45/)
 * Customer trying to checkout using Debit Card and the following error is logged:
 * `2024-01-02T10:20:36+00:00 CRITICAL Uncaught Error: Call to a member function
   id() on null in /wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-
   wc-gateway/src/Gateway/PayPalGateway.php:614 Stack trace: #0 /wp-content/plugins/
   woocommerce/includes/class-wc-form-handler.php(449): WooCommerce\PayPalCommerce\
   WcGateway\Gateway\PayPalGateway->process_payment(10521) #1 /wp-includes/class-
   wp-hook.php(324): WC_Form_Handler::pay_action(Object(WP)) #2 /wp-includes/class-
   wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #3 /wp-includes/plugin.
   php(565): WP_Hook->do_action(Array) #4 /wp-includes/class-wp.php(830): do_action_ref_array('
   wp', Array) #5 /wp-includes/functions.php(1336): WP->main('') #6 /wp-blog-header.
   php(16): wp() #7 /index.php(17): require('/...') #8 {main} thrown in /wp-content/
   plugins/woocommerce-paypal-payments/modules/ppcp-wc-gateway/src/Gateway/PayPalGateway.
   php on line 614`
    -  This topic was modified 2 years, 5 months ago by [twisted89](https://wordpress.org/support/users/twisted89/).

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

 *  Plugin Support [Krystian Syde](https://wordpress.org/support/users/inpsydekrystian/)
 * (@inpsydekrystian)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/uncaught-error-45/#post-17312785)
 * Hello [@twisted89](https://wordpress.org/support/users/twisted89/)
   Can you reproduce
   this error, or did it occur only with one of your customers?
 * In case you can reproduce it we recommend temporarily activating the [default theme Storefront](https://wordpress.org/themes/storefront/)
   and disabling all other plugins for WooCommerce and PayPal Payments. While reactivating
   plugins one by one, please monitor to identify which one triggers the problem.
   This approach will isolate the issue, allowing you to take appropriate corrective
   measures.
   Additionally, we would like to see your system report (especially the
   site URL). If you don’t feel comfortable sharing those details on a public forum,
   please open a ticket with our service desk. You can find the instructions for
   this here: [https://paypal.inpsyde.com/docs/request-support/](https://paypal.inpsyde.com/docs/request-support/)(
   please add the URL of this thread in the ticket as well)
 * Please let us know how this works out for you.
 * Kind regards,
   Krystian
 *  Plugin Support [Syde Joost](https://wordpress.org/support/users/joostvandevijver/)
 * (@joostvandevijver)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/uncaught-error-45/#post-17317043)
 * Hello [@twisted89](https://wordpress.org/support/users/twisted89/),
 * I just responded to your private engagement. This requires some testing and we
   do believe this is related to a conflict with another plugin. We will mark this
   thread as resolved and continue working with you via the private engagement.
 * Kind regards,
   Joost

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

The topic ‘Uncaught Error’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-paypal-payments/assets/icon-256x256.png?rev=
   3234615)
 * [WooCommerce PayPal Payments](https://wordpress.org/plugins/woocommerce-paypal-payments/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-paypal-payments/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-paypal-payments/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-paypal-payments/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-paypal-payments/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-paypal-payments/reviews/)

## Tags

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

 * 2 replies
 * 3 participants
 * Last reply from: [Syde Joost](https://wordpress.org/support/users/joostvandevijver/)
 * Last activity: [2 years, 5 months ago](https://wordpress.org/support/topic/uncaught-error-45/#post-17317043)
 * Status: resolved