Fatal error: Uncaught Error: Call to undefined function WooCommerce\PayPalCommerce\Blocks\wc_terms_and_conditions_page_id() in /customers/2/9/0/bodylounge.uk/httpd.www/traininglounge/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-blocks/extensions.php:47 Stack trace: #0 /customers/2/9/0/bodylounge.uk/httpd.www/traininglounge/wp-content/plugins/woocommerce-paypal-payments/lib/packages/Dhii/Container/CompositeCachingServiceProvider.php(132): WooCommerce\PayPalCommerce\Blocks\BlocksModule->WooCommerce\PayPalCommerce\Blocks\{closure}(Object(WooCommerce\PayPalCommerce\Vendor\Dhii\Container\DelegatingContainer), Array) #1 /customers/2/9/0/bodylounge.uk/httpd.www/traininglounge/wp-content/plugins/woocommerce-paypal-payments/lib/packages/Dhii/Container/CompositeCachingServiceProvider.php(131): WooCommerce\PayPalCommerce\Vendor\Dhii\Container\CompositeCachingServiceProvider->WooCommerce\PayPalCommerce\Vendor\Dhii\Container\{closure}(Object(WooCommerce\PayPalCommerce\Vendor\Dhii\Container\DelegatingContainer), Array) #2 /customers/2/9/0/bodylounge.uk/httpd.www/traininglounge/wp-content/plugins/woocommerce-paypal-payments/lib/packages/Dhii/Container/CompositeCachingServiceProvider.php(131): WooCommerce\PayPalCommerce\Vendor\Dhii\Container\CompositeCachingServiceProvider->WooCommerce\PayPalCommerce\Vendor\Dhii\Container\{closure}(Object(WooCommerce\PayPalCommerce\Vendor\Dhii\Container\DelegatingContainer), Array) #3 /customers/2/9/0/bodylounge.uk/httpd.www/traininglounge/wp-content/plugins/woocommerce-paypal-payments/lib/packages/Dhii/Container/CompositeCachingServiceProvider.php(131): WooCommerce\PayPalCommerce\Vendor\Dhii\Container\CompositeCachingServiceProvider->WooCommerce\PayPalCommerce\Vendor\Dhii\Container\{closure}(Object(WooCommerce\PayPalCommerce\Vendor\Dhii\Container\DelegatingContainer), Array) #4 /customers/2/9/0/bodylounge.uk/httpd.www/traininglounge/wp-content/plugins/woocommerce-paypal-payments/lib/packages/Dhii/Container/DelegatingContainer.php(144): WooCommerce\PayPalCommerce\Vendor\Dhii\Container\CompositeCachingServiceProvider->WooCommerce\PayPalCommerce\Vendor\Dhii\Container\{closure}(Object(WooCommerce\PayPalCommerce\Vendor\Dhii\Container\DelegatingContainer), Array) #5 /customers/2/9/0/bodylounge.uk/httpd.www/traininglounge/wp-content/plugins/woocommerce-paypal-payments/lib/packages/Dhii/Container/DelegatingContainer.php(74): WooCommerce\PayPalCommerce\Vendor\Dhii\Container\DelegatingContainer->invokeExtension(Object(Closure), Array) #6 /customers/2/9/0/bodylounge.uk/httpd.www/traininglounge/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-wc-gateway/services.php(318): WooCommerce\PayPalCommerce\Vendor\Dhii\Container\DelegatingContainer->get('wcgateway.setti...') #7 /customers/2/9/0/bodylounge.uk/httpd.www/traininglounge/wp-content/plugins/woocommerce-paypal-payments/lib/packages/Dhii/Container/DelegatingContainer.php(117): WooCommerce\PayPalCommerce\WcGateway\WCGatewayModule::WooCommerce\PayPalCommerce\WcGateway\{closure}(Object(WooCommerce\PayPalCommerce\Vendor\Dhii\Container\DelegatingContainer)) #8 /customers/2/9/0/bodylounge.uk/httpd.www/traininglounge/wp-content/plugins/woocommerce-paypal-payments/lib/packages/Dhii/Container/DelegatingContainer.php(56): WooCommerce\PayPalCommerce\Vendor\Dhii\Container\DelegatingContainer->invokeFactory(Object(Closure)) #9 /customers/2/9/0/bodylounge.uk/httpd.www/traininglounge/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-wc-gateway/services.php(77): WooCommerce\PayPalCommerce\Vendor\Dhii\Container\DelegatingContainer->get('wcgateway.setti...') #10 /customers/2/9/0/bodylounge.uk/httpd.www/traininglounge/wp-content/plugins/woocommerce-paypal-payments/lib/packages/Dhii/Container/DelegatingContainer.php(117): WooCommerce\PayPalCommerce\WcGateway\WCGatewayModule::WooCommerce\PayPalCommerce\WcGateway\{closure}(Object(WooCommerce\PayPalCommerce\Vendor\Dhii\Container\DelegatingContainer)) #11 /customers/2/9/0/bodylounge.uk/httpd.www/traininglounge/wp-content/plugins/woocommerce-paypal-payments/lib/packages/Dhii/Container/DelegatingContainer.php(56): WooCommerce\PayPalCommerce\Vendor\Dhii\Container\DelegatingContainer->invokeFactory(Object(Closure)) #12 /customers/2/9/0/bodylounge.uk/httpd.www/traininglounge/wp-content/plugins/woocommerce-paypal-payments/lib/packages/Dhii/Container/CompositeContainer.php(53): WooCommerce\PayPalCommerce\Vendor\Dhii\Container\DelegatingContainer->get('wcgateway.paypa...') #13 /customers/2/9/0/bodylounge.uk/httpd.www/traininglounge/wp-content/plugins/woocommerce-paypal-payments/lib/packages/Dhii/Container/CachingContainer.php(61): WooCommerce\PayPalCommerce\Vendor\Dhii\Container\CompositeContainer->get('wcgateway.paypa...') #14 /customers/2/9/0/bodylounge.uk/httpd.www/traininglounge/wp-content/plugins/woocommerce-paypal-payments/lib/packages/Dhii/Container/CachingContainer.php(161): WooCommerce\PayPalCommerce\Vendor\Dhii\Container\CachingContainer->WooCommerce\PayPalCommerce\Vendor\Dhii\Container\{closure}() #15 /customers/2/9/0/bodylounge.uk/httpd.www/traininglounge/wp-content/plugins/woocommerce-paypal-payments/lib/packages/Dhii/Container/CachingContainer.php(128): WooCommerce\PayPalCommerce\Vendor\Dhii\Container\CachingContainer->invokeGenerator(Object(Closure)) #16 /customers/2/9/0/bodylounge.uk/httpd.www/traininglounge/wp-content/plugins/woocommerce-paypal-payments/lib/packages/Dhii/Container/CachingContainer.php(62): WooCommerce\PayPalCommerce\Vendor\Dhii\Container\CachingContainer->getCached('wcgateway.paypa...', Object(Closure)) #17 /customers/2/9/0/bodylounge.uk/httpd.www/traininglounge/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-wc-gateway/src/WCGatewayModule.php(511): WooCommerce\PayPalCommerce\Vendor\Dhii\Container\CachingContainer->get('wcgateway.paypa...') #18 /customers/2/9/0/bodylounge.uk/httpd.www/traininglounge/wp-includes/class-wp-hook.php(324): WooCommerce\PayPalCommerce\WcGateway\WCGatewayModule::WooCommerce\PayPalCommerce\WcGateway\{closure}(Array) #19 /customers/2/9/0/bodylounge.uk/httpd.www/traininglounge/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array) #20 /customers/2/9/0/bodylounge.uk/httpd.www/traininglounge/wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php(94): apply_filters('woocommerce_pay...', Array) #21 /customers/2/9/0/bodylounge.uk/httpd.www/traininglounge/wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php(76): WC_Payment_Gateways->init() #22 /customers/2/9/0/bodylounge.uk/httpd.www/traininglounge/wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php(49): WC_Payment_Gateways->__construct() #23 /customers/2/9/0/bodylounge.uk/httpd.www/traininglounge/wp-content/plugins/woocommerce-payments/includes/class-wc-payments-features.php(271): WC_Payment_Gateways::instance() #24 /customers/2/9/0/bodylounge.uk/httpd.www/traininglounge/wp-content/plugins/woocommerce-payments/includes/class-wc-payments.php(1583): WC_Payments_Features::is_woopay_direct_checkout_enabled() #25 /customers/2/9/0/bodylounge.uk/httpd.www/traininglounge/wp-content/plugins/woocommerce-payments/includes/class-wc-payments.php(599): WC_Payments::maybe_init_woopay_direct_checkout() #26 /customers/2/9/0/bodylounge.uk/httpd.www/traininglounge/wp-includes/class-wp-hook.php(324): WC_Payments::{closure}('') #27 /customers/2/9/0/bodylounge.uk/httpd.www/traininglounge/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #28 /customers/2/9/0/bodylounge.uk/httpd.www/traininglounge/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #29 /customers/2/9/0/bodylounge.uk/httpd.www/traininglounge/wp-settings.php(630): do_action('setup_theme') #30 /customers/2/9/0/bodylounge.uk/httpd.www/traininglounge/wp-config.php(125): require_once('/customers/2/9/...') #31 /customers/2/9/0/bodylounge.uk/httpd.www/traininglounge/wp-load.php(50): require_once('/customers/2/9/...') #32 /customers/2/9/0/bodylounge.uk/httpd.www/traininglounge/wp-blog-header.php(13): require_once('/customers/2/9/...') #33 /customers/2/9/0/bodylounge.uk/httpd.www/traininglounge/index.php(17): require('/customers/2/9/...') #34 {main} thrown in /customers/2/9/0/bodylounge.uk/httpd.www/traininglounge/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-blocks/extensions.php on line 47