Call to a member function get_cart_contents_total() on null
-
My Sentry logged the following error message today:
Error: Call to a member function get_cart_contents_total() on null #10 /wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-button/src/Assets/SmartButton.php(1127): WooCommerce\PayPalCommerce\Button\Assets\SmartButton::is_cart_price_total_zero #9 /wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-button/src/Assets/SmartButton.php(378): WooCommerce\PayPalCommerce\Button\Assets\SmartButton::render_button_wrapper_registrar #8 /wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-button/src/Assets/SmartButton.php(195): WooCommerce\PayPalCommerce\Button\Assets\SmartButton::render_wrapper #7 /wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-button/src/ButtonModule.php(56): WooCommerce\PayPalCommerce\Button\ButtonModule::WooCommerce\PayPalCommerce\Button\{closure} #6 /wp-includes/class-wp-hook.php(307): WP_Hook::apply_filters #5 /wp-includes/class-wp-hook.php(331): WP_Hook::do_action #4 /wp-includes/plugin.php(522): do_action_ref_array #3 /wp-includes/class-wp.php(771): WP::main #2 /wp-includes/functions.php(1310): wp #1 /wp-blog-header.php(16): require #0 /index.php(17): null
Would be great to see this fixed in the next version. ??
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Call to a member function get_cart_contents_total() on null’ is closed to new replies.