( ! ) 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.0004400480{main}( ).../index.php:0
20.0006401952require( '/home/bazcom/public_html/wp-blog-header.php ).../index.php:17
30.0008413280require_once( '/home/bazcom/public_html/wp-load.php ).../wp-blog-header.php:13
40.0010419992require_once( '/home/bazcom/public_html/wp-config.php ).../wp-load.php:50
50.0019531880require_once( '/home/bazcom/public_html/wp-settings.php ).../wp-config.php:91
61.1551119376896do_action( $hook_name = 'setup_theme' ).../wp-settings.php:630
71.1551119377272WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:517
81.1551119377272WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:348
91.1561119434512WC_Payments::{closure:/home/bazcom/public_html/wp-content/plugins/woocommerce-payments/includes/class-wc-payments.php:594-601}( '' ).../class-wp-hook.php:324
101.1580119434968WC_Payments::maybe_init_woopay_direct_checkout( ).../class-wc-payments.php:599
111.1580119434968WC_Payments_Features::is_woopay_direct_checkout_enabled( ).../class-wc-payments.php:1583
121.1585119474824WC_Payment_Gateways::instance( ).../class-wc-payments-features.php:271
131.1585119474904WC_Payment_Gateways->__construct( ).../class-wc-payment-gateways.php:49
141.1585119474904WC_Payment_Gateways->init( ).../class-wc-payment-gateways.php:76
151.1621119793640apply_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.1621119794048WP_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.1621119795176WooCommerce\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.1621119795176WooCommerce\PayPalCommerce\Vendor\Dhii\Container\CachingContainer->get( $key = 'wcgateway.paypal-gateway' ).../WCGatewayModule.php:511
191.1621119795872WooCommerce\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.1621119795872WooCommerce\PayPalCommerce\Vendor\Dhii\Container\CachingContainer->invokeGenerator( $generator = class Closure { virtual $closure = "$this->WooCommerce\PayPalCommerce\Vendor\Dhii\Container\{closure}" } ).../CachingContainer.php:128
211.1621119795872WooCommerce\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.1621119795872WooCommerce\PayPalCommerce\Vendor\Dhii\Container\CompositeContainer->get( $key = 'wcgateway.paypal-gateway' ).../CachingContainer.php:61
231.1621119795872WooCommerce\PayPalCommerce\Vendor\Dhii\Container\DelegatingContainer->get( $id = 'wcgateway.paypal-gateway' ).../CompositeContainer.php:53
241.1621119795872WooCommerce\PayPalCommerce\Vendor\Dhii\Container\DelegatingContainer->invokeFactory( $factory = class Closure { virtual $closure = "WooCommerce\PayPalCommerce\WcGateway\WCGatewayModule::WooCommerce\PayPalCommerce\WcGateway\{closure}" } ).../DelegatingContainer.php:56
251.1622119795872WooCommerce\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.1665119903576WooCommerce\PayPalCommerce\Vendor\Dhii\Container\DelegatingContainer->get( $id = 'wcgateway.settings.render' ).../services.php:77
271.1665119903576WooCommerce\PayPalCommerce\Vendor\Dhii\Container\DelegatingContainer->invokeFactory( $factory = class Closure { virtual $closure = "WooCommerce\PayPalCommerce\WcGateway\WCGatewayModule::WooCommerce\PayPalCommerce\WcGateway\{closure}" } ).../DelegatingContainer.php:56
281.1665119903576WooCommerce\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.1665119903632WooCommerce\PayPalCommerce\Vendor\Dhii\Container\DelegatingContainer->get( $id = 'wcgateway.settings.fields' ).../services.php:318
301.1667119903632WooCommerce\PayPalCommerce\Vendor\Dhii\Container\DelegatingContainer->invokeExtension( $extension = class Closure { virtual $closure = "$this->WooCommerce\PayPalCommerce\Vendor\Dhii\Container\{closure}" }, $service = [] ).../DelegatingContainer.php:74
311.1667119903632WooCommerce\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.1667119903632WooCommerce\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.1667119903632WooCommerce\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.1667119903632WooCommerce\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.1702120314672WooCommerce\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