( ! ) 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 |
# | Time | Memory | Function | Location |
1 | 0.0004 | 400480 | {main}( ) | .../index.php:0 |
2 | 0.0006 | 401952 | require( '/home/bazcom/public_html/wp-blog-header.php ) | .../index.php:17 |
3 | 0.0008 | 413280 | require_once( '/home/bazcom/public_html/wp-load.php ) | .../wp-blog-header.php:13 |
4 | 0.0010 | 419992 | require_once( '/home/bazcom/public_html/wp-config.php ) | .../wp-load.php:50 |
5 | 0.0019 | 531880 | require_once( '/home/bazcom/public_html/wp-settings.php ) | .../wp-config.php:91 |
6 | 1.1551 | 119376896 | do_action( $hook_name = 'setup_theme' ) | .../wp-settings.php:630 |
7 | 1.1551 | 119377272 | WP_Hook->do_action( $args = [0 => ''] ) | .../plugin.php:517 |
8 | 1.1551 | 119377272 | WP_Hook->apply_filters( $value = '', $args = [0 => ''] ) | .../class-wp-hook.php:348 |
9 | 1.1561 | 119434512 | WC_Payments::{closure:/home/bazcom/public_html/wp-content/plugins/woocommerce-payments/includes/class-wc-payments.php:594-601}( '' ) | .../class-wp-hook.php:324 |
10 | 1.1580 | 119434968 | WC_Payments::maybe_init_woopay_direct_checkout( ) | .../class-wc-payments.php:599 |
11 | 1.1580 | 119434968 | WC_Payments_Features::is_woopay_direct_checkout_enabled( ) | .../class-wc-payments.php:1583 |
12 | 1.1585 | 119474824 | WC_Payment_Gateways::instance( ) | .../class-wc-payments-features.php:271 |
13 | 1.1585 | 119474904 | WC_Payment_Gateways->__construct( ) | .../class-wc-payment-gateways.php:49 |
14 | 1.1585 | 119474904 | WC_Payment_Gateways->init( ) | .../class-wc-payment-gateways.php:76 |
15 | 1.1621 | 119793640 | apply_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 |
16 | 1.1621 | 119794048 | WP_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 |
17 | 1.1621 | 119795176 | WooCommerce\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 |
18 | 1.1621 | 119795176 | WooCommerce\PayPalCommerce\Vendor\Dhii\Container\CachingContainer->get( $key = 'wcgateway.paypal-gateway' ) | .../WCGatewayModule.php:511 |
19 | 1.1621 | 119795872 | WooCommerce\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 |
20 | 1.1621 | 119795872 | WooCommerce\PayPalCommerce\Vendor\Dhii\Container\CachingContainer->invokeGenerator( $generator = class Closure { virtual $closure = "$this->WooCommerce\PayPalCommerce\Vendor\Dhii\Container\{closure}" } ) | .../CachingContainer.php:128 |
21 | 1.1621 | 119795872 | WooCommerce\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 |
22 | 1.1621 | 119795872 | WooCommerce\PayPalCommerce\Vendor\Dhii\Container\CompositeContainer->get( $key = 'wcgateway.paypal-gateway' ) | .../CachingContainer.php:61 |
23 | 1.1621 | 119795872 | WooCommerce\PayPalCommerce\Vendor\Dhii\Container\DelegatingContainer->get( $id = 'wcgateway.paypal-gateway' ) | .../CompositeContainer.php:53 |
24 | 1.1621 | 119795872 | WooCommerce\PayPalCommerce\Vendor\Dhii\Container\DelegatingContainer->invokeFactory( $factory = class Closure { virtual $closure = "WooCommerce\PayPalCommerce\WcGateway\WCGatewayModule::WooCommerce\PayPalCommerce\WcGateway\{closure}" } ) | .../DelegatingContainer.php:56 |
25 | 1.1622 | 119795872 | WooCommerce\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 |
26 | 1.1665 | 119903576 | WooCommerce\PayPalCommerce\Vendor\Dhii\Container\DelegatingContainer->get( $id = 'wcgateway.settings.render' ) | .../services.php:77 |
27 | 1.1665 | 119903576 | WooCommerce\PayPalCommerce\Vendor\Dhii\Container\DelegatingContainer->invokeFactory( $factory = class Closure { virtual $closure = "WooCommerce\PayPalCommerce\WcGateway\WCGatewayModule::WooCommerce\PayPalCommerce\WcGateway\{closure}" } ) | .../DelegatingContainer.php:56 |
28 | 1.1665 | 119903576 | WooCommerce\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 |
29 | 1.1665 | 119903632 | WooCommerce\PayPalCommerce\Vendor\Dhii\Container\DelegatingContainer->get( $id = 'wcgateway.settings.fields' ) | .../services.php:318 |
30 | 1.1667 | 119903632 | WooCommerce\PayPalCommerce\Vendor\Dhii\Container\DelegatingContainer->invokeExtension( $extension = class Closure { virtual $closure = "$this->WooCommerce\PayPalCommerce\Vendor\Dhii\Container\{closure}" }, $service = [] ) | .../DelegatingContainer.php:74 |
31 | 1.1667 | 119903632 | WooCommerce\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 |
32 | 1.1667 | 119903632 | WooCommerce\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 |
33 | 1.1667 | 119903632 | WooCommerce\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 |
34 | 1.1667 | 119903632 | WooCommerce\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 |
35 | 1.1702 | 120314672 | WooCommerce\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 |