CRITICAL Uncaught TypeError on checkout
-
HI, recently my site is throwing the following critical error is someone checked the mailpoint ‘subscribe to mailing list’ checkbox on checkout. the purchase does not go through. if the checkbox is not selected, the purchase will go through.
Woo 7.8.1
Mailpoet 4.2.0
(although the problem started before the updates to these versions today)2023-06-29T09:57:26+00:00 CRITICAL Uncaught TypeError: array_merge(): Argument #2 must be of type array, null given in /home/thewoodlandpigco/public_html/wp-content/plugins/add-on-woocommerce-mailpoet/includes/class-mpwa-place-order.php:66 Stack trace: 0 /home/thewoodlandpigco/public_html/wp-content/plugins/add-on-woocommerce-mailpoet/includes/class-mpwa-place-order.php(66): array_merge() 1 /home/thewoodlandpigco/public_html/wp-content/plugins/add-on-woocommerce-mailpoet/includes/class-mpwa-place-order.php(37): MPWA_Place_Order::save_subscriber_record() 2 /home/thewoodlandpigco/public_html/wp-content/plugins/add-on-woocommerce-mailpoet/add-on-woocommerce-mailpoet.php(189): MPWA_Place_Order::subscribe_user() 3 /home/thewoodlandpigco/public_html/wp-includes/class-wp-hook.php(310): wc_after_checkout_validation_mpwa_subscribe() 4 /home/thewoodlandpigco/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() 5 /home/thewoodlandpigco/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() 6 /home/thewoodlandpigco/public_html/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(456): do_action() 7 /home/thewoodlandpigco/public_html/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(1256): WC_Checkout->create_order() 8 /home/thewoodlandpigco/public_html/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(507): WC_Checkout->process_checkout() 9 /home/thewoodlandpigco/public_html/wp-includes/class-wp-hook.php(308): WC_AJAX::checkout() 10 /home/thewoodlandpigco/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() 11 /home/thewoodlandpigco/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() 12 /home/thewoodlandpigco/public_html/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(96): do_action() 13 /home/thewoodlandpigco/public_html/wp-includes/class-wp-hook.php(308): WC_AJAX::do_wc_ajax() 14 /home/thewoodlandpigco/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() 15 /home/thewoodlandpigco/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() 16 /home/thewoodlandpigco/public_html/wp-includes/template-loader.php(13): do_action() 17 /home/thewoodlandpigco/public_html/wp-blog-header.php(19): require_once('/home/thewoodla…') 18 /home/thewoodlandpigco/public_html/index.php(17): require('/home/thewoodla…') 19 {main} thrown in /home/thewoodlandpigco/public_html/wp-content/plugins/add-on-woocommerce-mailpoet/includes/class-mpwa-place-order.php on line 66
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘CRITICAL Uncaught TypeError on checkout’ is closed to new replies.