( ! ) 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 | 400696 | {main}( ) | .../index.php:0 |
2 | 0.0005 | 402168 | require( '/home/bazcom/public_html/wp-blog-header.php ) | .../index.php:17 |
3 | 0.0013 | 413496 | require_once( '/home/bazcom/public_html/wp-load.php ) | .../wp-blog-header.php:13 |
4 | 0.0014 | 420208 | require_once( '/home/bazcom/public_html/wp-config.php ) | .../wp-load.php:50 |
5 | 0.0022 | 532096 | require_once( '/home/bazcom/public_html/wp-settings.php ) | .../wp-config.php:91 |
6 | 1.1205 | 119377112 | do_action( $hook_name = 'setup_theme' ) | .../wp-settings.php:630 |
7 | 1.1205 | 119377488 | WP_Hook->do_action( $args = [0 => ''] ) | .../plugin.php:517 |
8 | 1.1205 | 119377488 | WP_Hook->apply_filters( $value = '', $args = [0 => ''] ) | .../class-wp-hook.php:348 |
9 | 1.1214 | 119434728 | 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.1233 | 119435184 | WC_Payments::maybe_init_woopay_direct_checkout( ) | .../class-wc-payments.php:599 |
11 | 1.1233 | 119435184 | WC_Payments_Features::is_woopay_direct_checkout_enabled( ) | .../class-wc-payments.php:1583 |
12 | 1.1238 | 119475040 | WC_Payment_Gateways::instance( ) | .../class-wc-payments-features.php:271 |
13 | 1.1238 | 119475120 | WC_Payment_Gateways->__construct( ) | .../class-wc-payment-gateways.php:49 |
14 | 1.1238 | 119475120 | WC_Payment_Gateways->init( ) | .../class-wc-payment-gateways.php:76 |
15 | 1.1275 | 119793856 | 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.1275 | 119794264 | 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.1276 | 119795392 | 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.1276 | 119795392 | WooCommerce\PayPalCommerce\Vendor\Dhii\Container\CachingContainer->get( $key = 'wcgateway.paypal-gateway' ) | .../WCGatewayModule.php:511 |
19 | 1.1276 | 119796088 | 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.1276 | 119796088 | WooCommerce\PayPalCommerce\Vendor\Dhii\Container\CachingContainer->invokeGenerator( $generator = class Closure { virtual $closure = "$this->WooCommerce\PayPalCommerce\Vendor\Dhii\Container\{closure}" } ) | .../CachingContainer.php:128 |
21 | 1.1276 | 119796088 | 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.1276 | 119796088 | WooCommerce\PayPalCommerce\Vendor\Dhii\Container\CompositeContainer->get( $key = 'wcgateway.paypal-gateway' ) | .../CachingContainer.php:61 |
23 | 1.1276 | 119796088 | WooCommerce\PayPalCommerce\Vendor\Dhii\Container\DelegatingContainer->get( $id = 'wcgateway.paypal-gateway' ) | .../CompositeContainer.php:53 |
24 | 1.1276 | 119796088 | 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.1276 | 119796088 | 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.1317 | 119903792 | WooCommerce\PayPalCommerce\Vendor\Dhii\Container\DelegatingContainer->get( $id = 'wcgateway.settings.render' ) | .../services.php:77 |
27 | 1.1317 | 119903792 | 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.1317 | 119903792 | 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.1317 | 119903848 | WooCommerce\PayPalCommerce\Vendor\Dhii\Container\DelegatingContainer->get( $id = 'wcgateway.settings.fields' ) | .../services.php:318 |
30 | 1.1318 | 119903848 | 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.1318 | 119903848 | 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.1318 | 119903848 | 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.1318 | 119903848 | 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.1318 | 119903848 | 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.1353 | 120314888 | 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 |