Title: CRITICAL Uncaught Error
Last modified: December 27, 2023

---

# CRITICAL Uncaught Error

 *  Resolved [amslps](https://wordpress.org/support/users/amslps/)
 * (@amslps)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/critical-uncaught-error-50/)
 * 2023-12-26T22:41:00+00:00 CRITICAL Uncaught Error: Call to a member function 
   getAddress() on null in /usr/share/nginx/wordpress/wp-content/plugins/pymntpl-
   paypal-woocommerce/src/AjaxFrontendHandler.php:68 Stack trace: #0 /usr/share/
   nginx/wordpress/wp-content/plugins/pymntpl-paypal-woocommerce/src/AjaxFrontendHandler.
   php(36): PaymentPlugins\WooCommerce\PPCP\AjaxFrontendHandler->get_update_data()#
   1 /usr/share/nginx/wordpress/wp-includes/class-wp-hook.php(308): PaymentPlugins\
   WooCommerce\PPCP\AjaxFrontendHandler->process_update_order_review() #2 /usr/share/
   nginx/wordpress/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #
   3 /usr/share/nginx/wordpress/wp-includes/plugin.php(517): WP_Hook->do_action()#
   4 /usr/share/nginx/wordpress/wp-content/plugins/woocommerce/includes/class-wc-
   ajax.php(343): do_action() #5 /usr/share/nginx/wordpress/wp-includes/class-wp-
   hook.php(308): WC_AJAX::update_order_review() #6 /usr/share/nginx/wordpress/wp-
   includes/class-wp-hook.php(332): WP_Hook->apply_filters() #7 /usr/share/nginx/
   wordpress/wp-includes/plugin.php(517): WP_Hook->do_action() #8 /usr/share/nginx/
   wordpress/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(96): do_action()#
   9 /usr/share/nginx/wordpress/wp-includes/class-wp-hook.php(308): WC_AJAX::do_wc_ajax()#
   10 /usr/share/nginx/wordpress/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()#
   11 /usr/share/nginx/wordpress/wp-includes/plugin.php(517): WP_Hook->do_action()#
   12 /usr/share/nginx/wordpress/wp-includes/template-loader.php(13): do_action()#
   13 /usr/share/nginx/wordpress/wp-blog-header.php(19): require_once(‘…’) #14 /
   usr/share/nginx/wordpress/index.php(17): require(‘…’) #15 {main} thrown in /usr/
   share/nginx/wordpress/wp-content/plugins/pymntpl-paypal-woocommerce/src/AjaxFrontendHandler.
   php on line 68
 * Can you fix it?

Viewing 1 replies (of 1 total)

 *  Plugin Author [Clayton R](https://wordpress.org/support/users/mrclayton/)
 * (@mrclayton)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/critical-uncaught-error-50/#post-17303792)
 * Hi [@amslps](https://wordpress.org/support/users/amslps/),
 * Can you confirm what version of the PayPal plugin you’re using?
 * The `Payer` object from PayPal should not be null. Can you describe how your 
   products are set up, if it’s a digital product or shippable product, etc?
 * Kind Regards

Viewing 1 replies (of 1 total)

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

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

 * 1 reply
 * 2 participants
 * Last reply from: [Clayton R](https://wordpress.org/support/users/mrclayton/)
 * Last activity: [2 years, 7 months ago](https://wordpress.org/support/topic/critical-uncaught-error-50/#post-17303792)
 * Status: resolved