( ! ) Fatal error: Uncaught Error: Call to undefined function WooCommerce\PayPalCommerce\Blocks\wc_terms_and_conditions_page_id() in /home/bazcom/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-blocks/extensions.php on line 47
( ! ) Error: Call to undefined function WooCommerce\PayPalCommerce\Blocks\wc_terms_and_conditions_page_id() in /home/bazcom/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-blocks/extensions.php on line 47
Call Stack
#TimeMemoryFunctionLocation
10.0004400696{main}( ).../index.php:0
20.0005402168require( '/home/bazcom/public_html/wp-blog-header.php ).../index.php:17
30.0013413496require_once( '/home/bazcom/public_html/wp-load.php ).../wp-blog-header.php:13
40.0014420208require_once( '/home/bazcom/public_html/wp-config.php ).../wp-load.php:50
50.0022532096require_once( '/home/bazcom/public_html/wp-settings.php ).../wp-config.php:91
61.1205119377112do_action( $hook_name = 'setup_theme' ).../wp-settings.php:630
71.1205119377488WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:517
81.1205119377488WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:348
91.1214119434728WC_Payments::{closure:/home/bazcom/public_html/wp-content/plugins/woocommerce-payments/includes/class-wc-payments.php:594-601}( '' ).../class-wp-hook.php:324
101.1233119435184WC_Payments::maybe_init_woopay_direct_checkout( ).../class-wc-payments.php:599
111.1233119435184WC_Payments_Features::is_woopay_direct_checkout_enabled( ).../class-wc-payments.php:1583
121.1238119475040WC_Payment_Gateways::instance( ).../class-wc-payments-features.php:271
131.1238119475120WC_Payment_Gateways->__construct( ).../class-wc-payment-gateways.php:49
141.1238119475120WC_Payment_Gateways->init( ).../class-wc-payment-gateways.php:76
151.1275119793856apply_filters( $hook_name = 'woocommerce_payment_gateways', $value = [0 => 'WC_Gateway_BACS', 1 => 'WC_Gateway_Cheque', 2 => 'WC_Gateway_COD', 3 => 'WC_Gateway_Paypal'] ).../class-wc-payment-gateways.php:94
161.1275119794264WP_Hook->apply_filters( $value = [0 => 'WC_Gateway_BACS', 1 => 'WC_Gateway_Cheque', 2 => 'WC_Gateway_COD', 3 => 'WC_Gateway_Paypal'], $args = [0 => [0 => 'WC_Gateway_BACS', 1 => 'WC_Gateway_Cheque', 2 => 'WC_Gateway_COD', 3 => 'WC_Gateway_Paypal']] ).../plugin.php:205
171.1276119795392WooCommerce\PayPalCommerce\WcGateway\WCGatewayModule::WooCommerce\PayPalCommerce\WcGateway\{closure:/home/bazcom/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-wc-gateway/src/WCGatewayModule.php:510-572}( $methods = [0 => 'WC_Gateway_BACS', 1 => 'WC_Gateway_Cheque', 2 => 'WC_Gateway_COD', 3 => 'WC_Gateway_Paypal'] ).../class-wp-hook.php:324
181.1276119795392WooCommerce\PayPalCommerce\Vendor\Dhii\Container\CachingContainer->get( $key = 'wcgateway.paypal-gateway' ).../WCGatewayModule.php:511
191.1276119796088WooCommerce\PayPalCommerce\Vendor\Dhii\Container\CachingContainer->getCached( $key = 'wcgateway.paypal-gateway', $generator = class Closure { virtual $closure = "$this->WooCommerce\PayPalCommerce\Vendor\Dhii\Container\{closure}" } ).../CachingContainer.php:62
201.1276119796088WooCommerce\PayPalCommerce\Vendor\Dhii\Container\CachingContainer->invokeGenerator( $generator = class Closure { virtual $closure = "$this->WooCommerce\PayPalCommerce\Vendor\Dhii\Container\{closure}" } ).../CachingContainer.php:128
211.1276119796088WooCommerce\PayPalCommerce\Vendor\Dhii\Container\CachingContainer->WooCommerce\PayPalCommerce\Vendor\Dhii\Container\{closure:/home/bazcom/public_html/wp-content/plugins/woocommerce-paypal-payments/lib/packages/Dhii/Container/CachingContainer.php:60-62}( ).../CachingContainer.php:161
221.1276119796088WooCommerce\PayPalCommerce\Vendor\Dhii\Container\CompositeContainer->get( $key = 'wcgateway.paypal-gateway' ).../CachingContainer.php:61
231.1276119796088WooCommerce\PayPalCommerce\Vendor\Dhii\Container\DelegatingContainer->get( $id = 'wcgateway.paypal-gateway' ).../CompositeContainer.php:53
241.1276119796088WooCommerce\PayPalCommerce\Vendor\Dhii\Container\DelegatingContainer->invokeFactory( $factory = class Closure { virtual $closure = "WooCommerce\PayPalCommerce\WcGateway\WCGatewayModule::WooCommerce\PayPalCommerce\WcGateway\{closure}" } ).../DelegatingContainer.php:56
251.1276119796088WooCommerce\PayPalCommerce\WcGateway\WCGatewayModule::WooCommerce\PayPalCommerce\WcGateway\{closure:/home/bazcom/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-wc-gateway/services.php:75-112}( $container = class WooCommerce\PayPalCommerce\Vendor\Dhii\Container\DelegatingContainer { protected $provider = class WooCommerce\PayPalCommerce\Vendor\Dhii\Container\CompositeCachingServiceProvider { protected $providers = [...]; protected $factories = [...]; protected $extensions = [...] }; protected $parent = NULL } ).../DelegatingContainer.php:117
261.1317119903792WooCommerce\PayPalCommerce\Vendor\Dhii\Container\DelegatingContainer->get( $id = 'wcgateway.settings.render' ).../services.php:77
271.1317119903792WooCommerce\PayPalCommerce\Vendor\Dhii\Container\DelegatingContainer->invokeFactory( $factory = class Closure { virtual $closure = "WooCommerce\PayPalCommerce\WcGateway\WCGatewayModule::WooCommerce\PayPalCommerce\WcGateway\{closure}" } ).../DelegatingContainer.php:56
281.1317119903792WooCommerce\PayPalCommerce\WcGateway\WCGatewayModule::WooCommerce\PayPalCommerce\WcGateway\{closure:/home/bazcom/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-wc-gateway/services.php:315-336}( $container = class WooCommerce\PayPalCommerce\Vendor\Dhii\Container\DelegatingContainer { protected $provider = class WooCommerce\PayPalCommerce\Vendor\Dhii\Container\CompositeCachingServiceProvider { protected $providers = [...]; protected $factories = [...]; protected $extensions = [...] }; protected $parent = NULL } ).../DelegatingContainer.php:117
291.1317119903848WooCommerce\PayPalCommerce\Vendor\Dhii\Container\DelegatingContainer->get( $id = 'wcgateway.settings.fields' ).../services.php:318
301.1318119903848WooCommerce\PayPalCommerce\Vendor\Dhii\Container\DelegatingContainer->invokeExtension( $extension = class Closure { virtual $closure = "$this->WooCommerce\PayPalCommerce\Vendor\Dhii\Container\{closure}" }, $service = [] ).../DelegatingContainer.php:74
311.1318119903848WooCommerce\PayPalCommerce\Vendor\Dhii\Container\CompositeCachingServiceProvider->WooCommerce\PayPalCommerce\Vendor\Dhii\Container\{closure:/home/bazcom/public_html/wp-content/plugins/woocommerce-paypal-payments/lib/packages/Dhii/Container/CompositeCachingServiceProvider.php:130-135}( $c = class WooCommerce\PayPalCommerce\Vendor\Dhii\Container\DelegatingContainer { protected $provider = class WooCommerce\PayPalCommerce\Vendor\Dhii\Container\CompositeCachingServiceProvider { protected $providers = [...]; protected $factories = [...]; protected $extensions = [...] }; protected $parent = NULL }, $previous = [] ).../DelegatingContainer.php:144
321.1318119903848WooCommerce\PayPalCommerce\Vendor\Dhii\Container\CompositeCachingServiceProvider->WooCommerce\PayPalCommerce\Vendor\Dhii\Container\{closure:/home/bazcom/public_html/wp-content/plugins/woocommerce-paypal-payments/lib/packages/Dhii/Container/CompositeCachingServiceProvider.php:130-135}( $c = class WooCommerce\PayPalCommerce\Vendor\Dhii\Container\DelegatingContainer { protected $provider = class WooCommerce\PayPalCommerce\Vendor\Dhii\Container\CompositeCachingServiceProvider { protected $providers = [...]; protected $factories = [...]; protected $extensions = [...] }; protected $parent = NULL }, $previous = [] ).../CompositeCachingServiceProvider.php:131
331.1318119903848WooCommerce\PayPalCommerce\Vendor\Dhii\Container\CompositeCachingServiceProvider->WooCommerce\PayPalCommerce\Vendor\Dhii\Container\{closure:/home/bazcom/public_html/wp-content/plugins/woocommerce-paypal-payments/lib/packages/Dhii/Container/CompositeCachingServiceProvider.php:130-135}( $c = class WooCommerce\PayPalCommerce\Vendor\Dhii\Container\DelegatingContainer { protected $provider = class WooCommerce\PayPalCommerce\Vendor\Dhii\Container\CompositeCachingServiceProvider { protected $providers = [...]; protected $factories = [...]; protected $extensions = [...] }; protected $parent = NULL }, $previous = [] ).../CompositeCachingServiceProvider.php:131
341.1318119903848WooCommerce\PayPalCommerce\Vendor\Dhii\Container\CompositeCachingServiceProvider->WooCommerce\PayPalCommerce\Vendor\Dhii\Container\{closure:/home/bazcom/public_html/wp-content/plugins/woocommerce-paypal-payments/lib/packages/Dhii/Container/CompositeCachingServiceProvider.php:130-135}( $c = class WooCommerce\PayPalCommerce\Vendor\Dhii\Container\DelegatingContainer { protected $provider = class WooCommerce\PayPalCommerce\Vendor\Dhii\Container\CompositeCachingServiceProvider { protected $providers = [...]; protected $factories = [...]; protected $extensions = [...] }; protected $parent = NULL }, $previous = [] ).../CompositeCachingServiceProvider.php:131
351.1353120314888WooCommerce\PayPalCommerce\Blocks\BlocksModule->WooCommerce\PayPalCommerce\Blocks\{closure:/home/bazcom/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-blocks/extensions.php:31-73}( $container = class WooCommerce\PayPalCommerce\Vendor\Dhii\Container\DelegatingContainer { protected $provider = class WooCommerce\PayPalCommerce\Vendor\Dhii\Container\CompositeCachingServiceProvider { protected $providers = [...]; protected $factories = [...]; protected $extensions = [...] }; protected $parent = NULL }, $fields = ['webhook_status_heading' => ['heading' => 'Webhook Status', 'type' => 'ppcp-heading', 'screens' => [...], 'requirements' => [...], 'gateway' => 'ppcp-connection', 'description' => 'Status of the webhooks subscription. More information about the webhooks is available in the <a href="https://woocommerce.com/document/woocommerce-paypal-payments/#webhook-status" target="_blank">Webhook Status documentation</a>.'], 'webhooks_list' => ['title' => 'Subscribed webhooks', 'type' => 'ppcp-table', 'screens' => [...], 'requirements' => [...], 'gateway' => 'ppcp-connection', 'classes' => [...], 'value' => class Closure { virtual $closure = "$this->WooCommerce\PayPalCommerce\Webhooks\{closure}", ... }], 'webhooks_resubscribe' => ['title' => 'Resubscribe webhooks', 'type' => 'ppcp-text', 'text' => '<button type="button" class="button ppcp-webhooks-resubscribe">Resubscribe</button>', 'screens' => [...], 'requirements' => [...], 'gateway' => 'ppcp-connection', 'description' => 'Click to remove the current webhook subscription and subscribe again, for example, if the website domain or URL structure changed.'], 'webhooks_simulate' => ['title' => 'Webhook simulation', 'type' => 'ppcp-text', 'text' => '<button type="button" class="button ppcp-webhooks-simulate">Simulate</button>', 'screens' => [...], 'requirements' => [...], 'gateway' => 'ppcp-connection', 'description' => 'Click to request a sample webhook payload from PayPal, allowing to check that your server can successfully receive webhooks.'], 'uninstall_heading' => ['heading' => 'Uninstall/Clear Database', 'type' => 'ppcp-heading', 'screens' => [...], 'requirements' => [...], 'gateway' => 'ppcp-connection', 'description' => 'Manage plugin data and scheduled actions stored in database.'], 'uninstall_clear_db_on_uninstall' => ['title' => 'Remove PayPal Payments data from Database on uninstall', 'type' => 'checkbox', 'label' => 'Remove options and scheduled actions from database when uninstalling the plugin.', 'default' => FALSE, 'screens' => [...], 'requirements' => [...], 'gateway' => 'ppcp-connection'], 'uninstall_clear_db_now' => ['title' => 'Remove PayPal Payments data from Database.', 'type' => 'ppcp-text', 'text' => '<button type="button" class="button ppcp-clear_db_now">Clear now</button>', 'screens' => [...], 'requirements' => [...], 'gateway' => 'ppcp-connection', 'description' => 'Click to remove options and scheduled actions from database now.']] ).../CompositeCachingServiceProvider.php:132