Error when enabling woopay
-
2024-11-25T01:59:31+00:00Critical Uncaught Error: Call to undefined method WC_Product_Booking::get_requires_confirmation() in /home2/apmlnymy/public_html/wp-content/plugins/woocommerce-payments/includes/class-wc-payments-woopay-button-handler.php:376 Additional context{ “error”: { “type”: 1, “file”: “/home2/apmlnymy/public_html/wp-content/plugins/woocommerce-payments/includes/class-wc-payments-woopay-button-handler.php”, “line”: 376 }, “remote-logging”: true, “backtrace”: [ “”, “#0 /home2/apmlnymy/public_html/wp-content/plugins/woocommerce-payments/includes/class-wc-payments-woopay-button-handler.php(283): WC_Payments_WooPay_Button_Handler->is_product_supported()”, “#1 /home2/apmlnymy/public_html/wp-content/plugins/woocommerce-payments/includes/class-wc-payments-woopay-button-handler.php(157): WC_Payments_WooPay_Button_Handler->should_show_woopay_button()”, “#2 /home2/apmlnymy/public_html/wp-includes/class-wp-hook.php(324): WC_Payments_WooPay_Button_Handler->add_woopay_config(Array)”, “#3 /home2/apmlnymy/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array)”, “#4 /home2/apmlnymy/public_html/wp-content/plugins/woocommerce-payments/includes/class-wc-payments-checkout.php(218): apply_filters(‘wcpay_payment_f…’, Array)”, “#5 /home2/apmlnymy/public_html/wp-content/plugins/woocommerce-payments/includes/class-wc-payments-blocks-payment-method.php(125): WCPay\WC_Payments_Checkout->get_payment_fields_js_config()”, “#6 /home2/apmlnymy/public_html/wp-content/plugins/woocommerce/src/Blocks/Payments/PaymentMethodRegistry.php(62): WC_Payments_Blocks_Payment_Method->get_payment_method_data()”, “#7 /home2/apmlnymy/public_html/wp-content/plugins/woocommerce/src/Blocks/Payments/Api.php(92): Automattic\WooCommerce\Blocks\Payments\PaymentMethodRegistry->get_all_registered_script_data()”, “#8 /home2/apmlnymy/public_html/wp-includes/class-wp-hook.php(324): Automattic\WooCommerce\Blocks\Payments\Api->add_payment_method_script_data(”)”, “#9 /home2/apmlnymy/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array)”, “#10 /home2/apmlnymy/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)”, “#11 /home2/apmlnymy/public_html/wp-content/plugins/woocommerce/src/Blocks/BlockTypes/MiniCart.php(216): do_action(‘woocommerce_blo…’)”, “#12 /home2/apmlnymy/public_html/wp-content/plugins/woocommerce/src/Blocks/BlockTypes/AbstractBlock.php(416): Automattic\WooCommerce\Blocks\BlockTypes\MiniCart->enqueue_data(Array)”, “#13 /home2/apmlnymy/public_html/wp-content/plugins/woocommerce/src/Blocks/BlockTypes/AbstractBlock.php(96): Automattic\WooCommerce\Blocks\BlockTypes\AbstractBlock->enqueue_assets(Array, ”, Object(WP_Block))”, “#14 /home2/apmlnymy/public_html/wp-includes/class-wp-block.php(537): Automattic\WooCommerce\Blocks\BlockTypes\AbstractBlock->render_callback(Array, ”, Object(WP_Block))”, “#15 /home2/apmlnymy/public_html/wp-includes/class-wp-block.php(517): WP_Block->render()”, “#16 /home2/apmlnymy/public_html/wp-includes/class-wp-block.php(517): WP_Block->render()”, “#17 /home2/apmlnymy/public_html/wp-includes/class-wp-block.php(517): WP_Block->render()”, “#18 /home2/apmlnymy/public_html/wp-includes/blocks.php(2190): WP_Block->render()”, “#19 /home2/apmlnymy/public_html/wp-includes/blocks.php(2242): render_block(Array)”, “#20 /home2/apmlnymy/public_html/wp-includes/blocks/template-part.php(154): do_blocks(‘render_woocommerce_template_part(Array, ”, Object(WP_Block))”, “#23 /home2/apmlnymy/public_html/wp-includes/blocks.php(2190): WP_Block->render()”, “#24 /home2/apmlnymy/public_html/wp-includes/blocks.php(2242): render_block(Array)”, “#25 /home2/apmlnymy/public_html/wp-includes/block-template.php(263): do_blocks(‘<!– wp:templat…’)”, “#26 /home2/apmlnymy/public_html/wp-includes/template-canvas.php(12): get_the_block_template_html()”, “#27 /home2/apmlnymy/public_html/wp-includes/template-loader.php(106): include(‘/home2/apmlnymy…’)”, “#28 /home2/apmlnymy/public_html/wp-blog-header.php(19): require_once(‘/home2/apmlnymy…’)”, “#29 /home2/apmlnymy/public_html/index.php(17): require(‘/home2/apmlnymy…’)”, “#30 {main}”, “thrown” ] }2024-11-25T16:25:04+00:00Critical Uncaught Error: Call to undefined method WC_Product_Booking::get_requires_confirmation() in /home2/apmlnymy/public_html/wp-content/plugins/woocommerce-payments/includes/class-wc-payments-woopay-button-handler.php:376 Additional context2024-11-25T16:25:15+00:00Critical Uncaught Error: Call to undefined method WC_Product_Booking::get_requires_confirmation() in /home2/apmlnymy/public_html/wp-content/plugins/woocommerce-payments/includes/class-wc-payments-woopay-button-handler.php:376 Additional context2024-11-25T16:25:49+00:00Critical Uncaught Error: Call to undefined method WC_Product_Booking::get_requires_confirmation() in /home2/apmlnymy/public_html/wp-content/plugins/woocommerce-payments/includes/class-wc-payments-woopay-button-handler.php:376 Additional context2024-11-25T16:26:26+00:00Critical Uncaught Error: Call to undefined method WC_Product_Booking::get_requires_confirmation() in /home2/apmlnymy/public_html/wp-content/plugins/woocommerce-payments/includes/class-wc-payments-woopay-button-handler.php:376 Additional context

The topic ‘Error when enabling woopay’ is closed to new replies.