Uncaught TypeError: Can not read property 'reload' of null - checkout.min.js - Woocomerce

0

When you attempt to end an order, the page hangs and the console displays:

  

checkout.min.js? ver = 3.4.1: 1 Uncaught TypeError: Can not read property   'reload' of null
at Object.success   (checkout.min.js? ver = 3.4.1: 1)
at i (jquery.js? ver = 1.12.4: 2) at Object.fireWith [as resolveWith] (jquery.js? ver = 1.12. 4: 2)
  at and (jquery.js? ver = 1.12.4: 4)
at XMLHttpRequest.c   (jquery.js? ver = 1.12.4: 4)

I found that by turning off the notification email for a new order, the order is normally placed. But I need this email to be sent.

  

\ 2018-06-03T23: 19: 31 + 00: 00 CRITICAL Uncaught Error: Call to a member   function get_data () on null in   /home/lavs/www/wp-content/themes/temalavs/functions.php:227 Stack   trace:
# 0 /home/lavs/www/wp-includes/class-wp-hook.php(286):   albreis_add_email_recipient ('contact @ lavs ...', Object (WC_Order)) # 1 /home/lavs/www/wp-includes/plugin.php(203):   WP_Hook-> Apply_filters ('contact @ lavs ...', Array)
# 2   /home/lavs/www/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php(372):   apply_filters ('woocommerce_ema ...', 'contact @ lavs ...',   Object (WC_Order))
# 3   com /   WC_Email- > get_recipient ()
# 4   /home/lavs/www/wp-includes/class-wp-hook.php(286):   WC_Email_New_Order-> trigger (20164, Object (WC_Order))
# 5   /home/lavs/www/wp-includes/class-wp-hook.php(310):   WP_Hook-> Apply_filters ('', Array)
# 6   /home/lavs/www/wp-includes/plugin.php(515):   WP_Hook- > do_action (Array)
# 7   /home/lavs/www/wp-content/plugins/woocommerce/includes/class-wc-emails.php

    
asked by anonymous 05.06.2018 / 00:56

0 answers