Checkout page giving 500 error with ?wc-ajax=checkout string
-
I am having any issue while processing an woocommerce order, while processing with the order on checkout page on my domain marrakech.run, the checkout page doesn’t show any error message, but it is not processing the order either.
what is the possible fix sow that it displays the error message
The page I need help with: [log in to see the link]
-
Screenshot of the error
Following is the fatal log data:
2023-04-03T17:10:17+00:00 CRITICAL Uncaught Error: Call to a member function query() on null in /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/vendor /pelago/emogrifier/src/Emogrifier/HtmlProcessor/HtmlPruner.php:35 Stack trace: #0 /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php(572): Pelago\Emogrifier\HtmlProcessor\HtmlPruner->removeElementsWithDisplayNone() #1 /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php(652): WC_Email->style_inline('<!DOCTYPE html>. ..') #2 /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email-new-order.php(110): WC_Email->send(' younes@ actionma... ', '[Marrakech Run]...', '<!DOCTYPE html>...', 'Content-Type: t...', Array) #3 /home/u457923972/domains/marrakech.run/public_html/wp-includes/class-wp-hook.php(292): WC_Email_New_Order->trigger(6680, Object(Automattic\WooCommerce\Admin\Overrides\Order)) in /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/vendor/pelago/emogrifier/src/Emogrifier/HtmlProcessor/HtmlPruner.php on line 35 2023-04-03T17:15:13+00:00 CRITICAL Uncaught Error: Call to a member function query() on null in /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/vendor /pelago/emogrifier/src/Emogrifier/HtmlProcessor/HtmlPruner.php:35 Stack trace: #0 /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php(572): Pelago\Emogrifier\HtmlProcessor\HtmlPruner->removeElementsWithDisplayNone() #1 /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php(652): WC_Email->style_inline('<!DOCTYPE html>. ..') #2 /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email-new-order.php(110): WC_Email->send(' younes@ actionma... ', '[Marrakech Run]...', '<!DOCTYPE html>...', 'Content-Type: t...', Array) #3 /home/u457923972/domains/marrakech.run/public_html/wp-includes/class-wp-hook.php(292): WC_Email_New_Order->trigger(6681, Object(Automattic\WooCommerce\Admin\Overrides\Order)) in /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/vendor/pelago/emogrifier/src/Emogrifier/HtmlProcessor/HtmlPruner.php on line 35 2023-04-03T17:16:44+00:00 CRITICAL Uncaught Error: Call to a member function query() on null in /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/vendor /pelago/emogrifier/src/Emogrifier/HtmlProcessor/HtmlPruner.php:35 Stack trace: #0 /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php(572): Pelago\Emogrifier\HtmlProcessor\HtmlPruner->removeElementsWithDisplayNone() #1 /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php(652): WC_Email->style_inline('<!DOCTYPE html>. ..') #2 /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email-new-order.php(110): WC_Email->send(' younes@ actionma... ', '[Marrakech Run]...', '<!DOCTYPE html>...', 'Content-Type: t...', Array) #3 /home/u457923972/domains/marrakech.run/public_html/wp-includes/class-wp-hook.php(292): WC_Email_New_Order->trigger(6682, Object(Automattic\WooCommerce\Admin\Overrides\Order)) in /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/vendor/pelago/emogrifier/src/Emogrifier/HtmlProcessor/HtmlPruner.php on line 35 2023-04-03T17:18:02+00:00 CRITICAL Uncaught Error: Call to a member function query() on null in /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/vendor /pelago/emogrifier/src/Emogrifier/HtmlProcessor/HtmlPruner.php:35 Stack trace: #0 /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php(572): Pelago\Emogrifier\HtmlProcessor\HtmlPruner->removeElementsWithDisplayNone() #1 /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php(652): WC_Email->style_inline('<!DOCTYPE html>. ..') #2 /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email-new-order.php(110): WC_Email->send(' younes@ actionma... ', '[Marrakech Run]...', '<!DOCTYPE html>...', 'Content-Type: t...', Array) #3 /home/u457923972/domains/marrakech.run/public_html/wp-includes/class-wp-hook.php(292): WC_Email_New_Order->trigger(6683, Object(Automattic\WooCommerce\Admin\Overrides\Order)) in /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/vendor/pelago/emogrifier/src/Emogrifier/HtmlProcessor/HtmlPruner.php on line 35 2023-04-03T17:27:06+00:00 CRITICAL Uncaught Error: Call to a member function query() on null in /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/vendor /pelago/emogrifier/src/Emogrifier/HtmlProcessor/HtmlPruner.php:35 Stack trace: #0 /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php(572): Pelago\Emogrifier\HtmlProcessor\HtmlPruner->removeElementsWithDisplayNone() #1 /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php(652): WC_Email->style_inline('<!DOCTYPE html>. ..') #2 /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email-new-order.php(110): WC_Email->send(' younes@ actionma... ', '[Marrakech Run]...', '<!DOCTYPE html>...', 'Content-Type: t...', Array) #3 /home/u457923972/domains/marrakech.run/public_html/wp-includes/class-wp-hook.php(292): WC_Email_New_Order->trigger(6684, Object(Automattic\WooCommerce\Admin\Overrides\Order)) in /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/vendor/pelago/emogrifier/src/Emogrifier/HtmlProcessor/HtmlPruner.php on line 35 2023-04-03T17:31:48+00:00 CRITICAL Uncaught Error: Call to a member function query() on null in /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/vendor /pelago/emogrifier/src/Emogrifier/HtmlProcessor/HtmlPruner.php:35 Stack trace: #0 /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php(572): Pelago\Emogrifier\HtmlProcessor\HtmlPruner->removeElementsWithDisplayNone() #1 /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php(652): WC_Email->style_inline('<!DOCTYPE html>. ..') #2 /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email-new-order.php(110): WC_Email->send(' younes@ actionma... ', '[Marrakech Run]...', '<!DOCTYPE html>...', 'Content-Type: t...', Array) #3 /home/u457923972/domains/marrakech.run/public_html/wp-includes/class-wp-hook.php(292): WC_Email_New_Order->trigger(6685, Object(Automattic\WooCommerce\Admin\Overrides\Order)) in /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/vendor/pelago/emogrifier/src/Emogrifier/HtmlProcessor/HtmlPruner.php on line 35 2023-04-03T17:39:32+00:00 CRITICAL Uncaught Error: Call to a member function query() on null in /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/vendor /pelago/emogrifier/src/Emogrifier/HtmlProcessor/HtmlPruner.php:35 Stack trace: #0 /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php(572): Pelago\Emogrifier\HtmlProcessor\HtmlPruner->removeElementsWithDisplayNone() #1 /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php(652): WC_Email->style_inline('<!DOCTYPE html>. ..') #2 /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email-new-order.php(110): WC_Email->send(' younes@ actionma... ', '[Marrakech Run]...', '<!DOCTYPE html>...', 'Content-Type: t...', Array) #3 /home/u457923972/domains/marrakech.run/public_html/wp-includes/class-wp-hook.php(292): WC_Email_New_Order->trigger(6686, Object(Automattic\WooCommerce\Admin\Overrides\Order)) in /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/vendor/pelago/emogrifier/src/Emogrifier/HtmlProcessor/HtmlPruner.php on line 35 2023-04-03T17:40:42+00:00 CRITICAL Uncaught Error: Call to a member function query() on null in /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/vendor /pelago/emogrifier/src/Emogrifier/HtmlProcessor/HtmlPruner.php:35 Stack trace: #0 /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php(572): Pelago\Emogrifier\HtmlProcessor\HtmlPruner->removeElementsWithDisplayNone() #1 /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php(652): WC_Email->style_inline('<!DOCTYPE html>. ..') #2 /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email-new-order.php(110): WC_Email->send(' younes@ actionma... ', '[Marrakech Run]...', '<!DOCTYPE html>...', 'Content-Type: t...', Array) #3 /home/u457923972/domains/marrakech.run/public_html/wp-includes/class-wp-hook.php(292): WC_Email_New_Order->trigger(6687, Object(Automattic\WooCommerce\Admin\Overrides\Order)) in /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/vendor/pelago/emogrifier/src/Emogrifier/HtmlProcessor/HtmlPruner.php on line 35 2023-04-03T17:43:06+00:00 CRITICAL Uncaught Error: Call to a member function query() on null in /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/vendor /pelago/emogrifier/src/Emogrifier/HtmlProcessor/HtmlPruner.php:35 Stack trace: #0 /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php(572): Pelago\Emogrifier\HtmlProcessor\HtmlPruner->removeElementsWithDisplayNone() #1 /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php(652): WC_Email->style_inline('<!DOCTYPE html>. ..') #2 /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email-new-order.php(110): WC_Email->send(' younes@ actionma... ', '[Marrakech Run]...', '<!DOCTYPE html>...', 'Content-Type: t...', Array) #3 /home/u457923972/domains/marrakech.run/public_html/wp-includes/class-wp-hook.php(292): WC_Email_New_Order->trigger(6688, Object(Automattic\WooCommerce\Admin\Overrides\Order)) in /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/vendor/pelago/emogrifier/src/Emogrifier/HtmlProcessor/HtmlPruner.php on line 35 2023-04-03T17:45:48+00:00 CRITICAL Uncaught Error: Call to a member function query() on null in /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/vendor /pelago/emogrifier/src/Emogrifier/HtmlProcessor/HtmlPruner.php:35 Stack trace: #0 /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php(572): Pelago\Emogrifier\HtmlProcessor\HtmlPruner->removeElementsWithDisplayNone() #1 /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php(652): WC_Email->style_inline('<!DOCTYPE html>. ..') #2 /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email-new-order.php(110): WC_Email->send(' younes@ actionma... ', '[Marrakech Run]...', '<!DOCTYPE html>...', 'Content-Type: t...', Array) #3 /home/u457923972/domains/marrakech.run/public_html/wp-includes/class-wp-hook.php(292): WC_Email_New_Order->trigger(6689, Object(Automattic\WooCommerce\Admin\Overrides\Order)) in /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/vendor/pelago/emogrifier/src/Emogrifier/HtmlProcessor/HtmlPruner.php on line 35 2023-04-03T17:54:30+00:00 CRITICAL Uncaught Error: Call to a member function query() on null in /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/vendor /pelago/emogrifier/src/Emogrifier/HtmlProcessor/HtmlPruner.php:35 Stack trace: #0 /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php(572): Pelago\Emogrifier\HtmlProcessor\HtmlPruner->removeElementsWithDisplayNone() #1 /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php(652): WC_Email->style_inline('<!DOCTYPE html>. ..') #2 /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email-new-order.php(110): WC_Email->send(' younes@ actionma... ', '[Marrakech Run]...', '<!DOCTYPE html>...', 'Content-Type: t...', Array) #3 /home/u457923972/domains/marrakech.run/public_html/wp-includes/class-wp-hook.php(292): WC_Email_New_Order->trigger(6690, Object(Automattic\WooCommerce\Admin\Overrides\Order)) in /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/vendor/pelago/emogrifier/src/Emogrifier/HtmlProcessor/HtmlPruner.php on line 35 2023-04-03T18:01:52+00:00 CRITICAL Uncaught Error: Call to a member function get_input_type() on null in /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/gravityflowwoocommerce/class -woocommerce.php:729 Stack trace: #0 /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/gravityflowwoocommerce/class-woocommerce.php(699): Gravity_Flow_Woocommerce->add_mapping_to_entry(Array, Object(Automattic\WooCommerce\Admin\Overrides\Order ), Array, Array) #1 /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/gravityflowwoocommerce/class-woocommerce.php(836): Gravity_Flow_Woocommerce->do_mapping(Array, 6691) #2 /home/u457923972/domains/marrakech.run/public_html/wp-includes/class-wp-hook.php(294): Gravity_Flow_Woocommerce->add_entry(6691) #3 /home/u457923972/domains/marrakech.run/public_html/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters('', Array) #4 /home/u457923972/domains/marrakech.run/public_html/wp-includes/plugin.php(484): WP_Hook->do_action(Array) #5 /home/u457923972/domains/marrakech in /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/gravityflowwoocommerce/class-woocommerce.php at line 729 2023-04-03T18:08:28+00:00 CRITICAL Uncaught Error: Call to a member function get_input_type() on null in /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/gravityflowwoocommerce/class -woocommerce.php:729 Stack trace: #0 /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/gravityflowwoocommerce/class-woocommerce.php(699): Gravity_Flow_Woocommerce->add_mapping_to_entry(Array, Object(Automattic\WooCommerce\Admin\Overrides\Order ), Array, Array) #1 /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/gravityflowwoocommerce/class-woocommerce.php(836): Gravity_Flow_Woocommerce->do_mapping(Array, 6692) #2 /home/u457923972/domains/marrakech.run/public_html/wp-includes/class-wp-hook.php(294): Gravity_Flow_Woocommerce->add_entry(6692) #3 /home/u457923972/domains/marrakech.run/public_html/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters('', Array) #4 /home/u457923972/domains/marrakech.run/public_html/wp-includes/plugin.php(484): WP_Hook->do_action(Array) #5 /home/u457923972/domains/marrakech in /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/gravityflowwoocommerce/class-woocommerce.php at line 729 2023-04-03T18:12:25+00:00 CRITICAL Uncaught Error: Call to a member function query() on null in /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/vendor /pelago/emogrifier/src/Emogrifier/HtmlProcessor/HtmlPruner.php:35 Stack trace: #0 /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php(572): Pelago\Emogrifier\HtmlProcessor\HtmlPruner->removeElementsWithDisplayNone() #1 /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php(652): WC_Email->style_inline('<!DOCTYPE html>. ..') #2 /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email-new-order.php(110): WC_Email->send(' younes@ actionma... ', '[Marrakech Run]...', '<!DOCTYPE html>...', 'Content-Type: t...', Array) #3 /home/u457923972/domains/marrakech.run/public_html/wp-includes/class-wp-hook.php(292): WC_Email_New_Order->trigger(6693, Object(Automattic\WooCommerce\Admin\Overrides\Order)) in /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/vendor/pelago/emogrifier/src/Emogrifier/HtmlProcessor/HtmlPruner.php on line 35 2023-04-03T18:23:31+00:00 CRITICAL Uncaught Error: Call to a member function query() on null in /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/vendor /pelago/emogrifier/src/Emogrifier/HtmlProcessor/HtmlPruner.php:35 Stack trace: #0 /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php(572): Pelago\Emogrifier\HtmlProcessor\HtmlPruner->removeElementsWithDisplayNone() #1 /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php(652): WC_Email->style_inline('<!DOCTYPE html>. ..') #2 /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email-customer-invoice.php(139): WC_Email->send(' younes@ actionma... ', 'Your last\xC3\xA8re...', '<!DOCTYPE html>...', 'Content-Type: t...', Array) #3 /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/includes/class-wc-emails.php(374): WC_Email_Customer_Invoice->trigger(6660, Obj in /home/u457923972/ domains/marrakech.run/public_html/wp-content/plugins/woocommerce/vendor/pelago/emogrifier/src/Emogrifier/HtmlProcessor/HtmlPruner.php at line 35 2023-04-03T18:25:13+00:00 CRITICAL Uncaught Error: Call to a member function query() on null in /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/vendor /pelago/emogrifier/src/Emogrifier/HtmlProcessor/HtmlPruner.php:35 Stack trace: #0 /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php(572): Pelago\Emogrifier\HtmlProcessor\HtmlPruner->removeElementsWithDisplayNone() #1 /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php(652): WC_Email->style_inline('<!DOCTYPE html>. ..') #2 /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email-new-order.php(110): WC_Email->send(' contact@ marrake... ', '[Marrakech Run]...', '<!DOCTYPE html>...', 'Content-Type: t...', Array) #3 /home/u457923972/domains/marrakech.run/public_html/wp-includes/class-wp-hook.php(292): WC_Email_New_Order->trigger(6694, Object(Automattic\WooCommerce\Admin\Overrides\Order)) in /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/vendor/pelago/emogrifier/src/Emogrifier/HtmlProcessor/HtmlPruner.php on line 35 2023-04-03T18:27:21+00:00 CRITICAL Uncaught Error: Call to a member function query() on null in /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/vendor /pelago/emogrifier/src/Emogrifier/HtmlProcessor/HtmlPruner.php:35 Stack trace: #0 /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php(572): Pelago\Emogrifier\HtmlProcessor\HtmlPruner->removeElementsWithDisplayNone() #1 /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php(652): WC_Email->style_inline('<!DOCTYPE html>. ..') #2 /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email-new-order.php(110): WC_Email->send(' contact@ marrake... ', '[Marrakech Run]...', '<!DOCTYPE html>...', 'Content-Type: t...', Array) #3 /home/u457923972/domains/marrakech.run/public_html/wp-includes/class-wp-hook.php(292): WC_Email_New_Order->trigger(6695, Object(Automattic\WooCommerce\Admin\Overrides\Order)) in /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/vendor/pelago/emogrifier/src/Emogrifier/HtmlProcessor/HtmlPruner.php on line 35 2023-04-03T18:38:11+00:00 CRITICAL Uncaught Error: Call to a member function query() on null in /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/vendor /pelago/emogrifier/src/Emogrifier/HtmlProcessor/HtmlPruner.php:35 Stack trace: #0 /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php(572): Pelago\Emogrifier\HtmlProcessor\HtmlPruner->removeElementsWithDisplayNone() #1 /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php(652): WC_Email->style_inline('<!DOCTYPE html>. ..') #2 /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email-new-order.php(110): WC_Email->send(' contact@ marrake... ', '[Marrakech Run]...', '<!DOCTYPE html>...', 'Content-Type: t...', Array) #3 /home/u457923972/domains/marrakech.run/public_html/wp-includes/class-wp-hook.php(292): WC_Email_New_Order->trigger(6696, Object(Automattic\WooCommerce\Admin\Overrides\Order)) in /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/vendor/pelago/emogrifier/src/Emogrifier/HtmlProcessor/HtmlPruner.php on line 35 2023-04-03T18:41:21+00:00 CRITICAL Uncaught Error: Call to a member function query() on null in /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/vendor /pelago/emogrifier/src/Emogrifier/HtmlProcessor/HtmlPruner.php:35 Stack trace: #0 /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php(572): Pelago\Emogrifier\HtmlProcessor\HtmlPruner->removeElementsWithDisplayNone() #1 /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php(652): WC_Email->style_inline('<!DOCTYPE html>. ..') #2 /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email-new-order.php(110): WC_Email->send(' contact@ marrake... ', '[Marrakech Run]...', '<!DOCTYPE html>...', 'Content-Type: t...', Array) #3 /home/u457923972/domains/marrakech.run/public_html/wp-includes/class-wp-hook.php(292): WC_Email_New_Order->trigger(6697, Object(Automattic\WooCommerce\Admin\Overrides\Order)) in /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/vendor/pelago/emogrifier/src/Emogrifier/HtmlProcessor/HtmlPruner.php on line 35 2023-04-03T18:53:33+00:00 CRITICAL Uncaught Error: Call to a member function query() on null in /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/vendor /pelago/emogrifier/src/Emogrifier/HtmlProcessor/HtmlPruner.php:35 Stack trace: #0 /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php(572): Pelago\Emogrifier\HtmlProcessor\HtmlPruner->removeElementsWithDisplayNone() #1 /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php(652): WC_Email->style_inline('<!DOCTYPE html>. ..') #2 /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email-new-order.php(110): WC_Email->send(' contact@ marrake... ', '[Marrakech Run]...', '<!DOCTYPE html>...', 'Content-Type: t...', Array) #3 /home/u457923972/domains/marrakech.run/public_html/wp-includes/class-wp-hook.php(292): WC_Email_New_Order->trigger(6699, Object(Automattic\WooCommerce\Admin\Overrides\Order)) in /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/vendor/pelago/emogrifier/src/Emogrifier/HtmlProcessor/HtmlPruner.php on line 35 2023-04-03T19:03:39+00:00 CRITICAL Uncaught Error: Call to a member function query() on null in /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/vendor /pelago/emogrifier/src/Emogrifier/HtmlProcessor/HtmlPruner.php:35 Stack trace: #0 /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php(572): Pelago\Emogrifier\HtmlProcessor\HtmlPruner->removeElementsWithDisplayNone() #1 /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php(652): WC_Email->style_inline('<!DOCTYPE html>. ..') #2 /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email-customer-invoice.php(139): WC_Email->send(' younes@ actionma... ', 'Your last\xC3\xA8re...', '<!DOCTYPE html>...', 'Content-Type: t...', Array) #3 /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/includes/class-wc-emails.php(374): WC_Email_Customer_Invoice->trigger(6660, Obj in /home/u457923972/ domains/marrakech.run/public_html/wp-content/plugins/woocommerce/vendor/pelago/emogrifier/src/Emogrifier/HtmlProcessor/HtmlPruner.php at line 35 2023-04-03T19:15:45+00:00 CRITICAL Uncaught Error: Call to a member function query() on null in /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/vendor /pelago/emogrifier/src/Emogrifier/HtmlProcessor/HtmlPruner.php:35 Stack trace: #0 /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php(572): Pelago\Emogrifier\HtmlProcessor\HtmlPruner->removeElementsWithDisplayNone() #1 /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php(652): WC_Email->style_inline('<!DOCTYPE html>. ..') #2 /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email-new-order.php(110): WC_Email->send(' contact@ marrake... ', '[Marrakech Run]...', '<!DOCTYPE html>...', 'Content-Type: t...', Array) #3 /home/u457923972/domains/marrakech.run/public_html/wp-includes/class-wp-hook.php(292): WC_Email_New_Order->trigger(6700, Object(Automattic\WooCommerce\Admin\Overrides\Order)) in /home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/vendor/pelago/emogrifier/src/Emogrifier/HtmlProcessor/HtmlPruner.php on line 35
System Status:
WordPress environment Address (URL) of WordPress: https://marrakech.run Site address (URL): https://marrakech.run WooCommerce version: 5.5.4 WooCommerce REST API package: 5.5.4/home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/includes WooCommerce Blocks Package: 5.3.3/home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/ Action Planner Package: 3.4.0/home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler WooCommerce Admin package: 2.4.5/home/u457923972/domains/marrakech.run/public_html/wp-content/plugins/woocommerce/packages/woocommerce-admin Recordable logs folder: /home/u457923972/domains/marrakech.run/public_html/wp-content/uploads/wc-logs/ Version of WordPress: WordPress Multisite: – WordPress memory limit: 2 GB WordPress debug mode: WordPress cron: Language: en_GB External object cache: – Server environment Server info: LiteSpeed PHP version: 7.4.33 Max PHP Post Weight: 1 GB PHP execution limit: 300 PHP Max Input Vars: 5000 Version of cURL: 7.84.0, OpenSSL/1.1.1p SUHOSIN installed: – MySQL version: 5.5.5-10.5.12-MariaDB-cll-lve Maximum upload size: 1 GB The default time zone is UTC: fsockopen/cURL: SoapClient: DOMDocument: GZip: Multi-byte strings: Remote post: Remote get: Database WooCommerce Database Version: 5.5.4 Database prefix wp_ Total database size 59.85MB Database size 52.20MB Index size 7.65MB
Hi @iambidyut
Thanks for reaching out!
I understand that the checkout page doesn’t show any error message, but it is not processing the order either on your site, correct?
Firstly, I commend you for sharing all the relative information for us to investigate your issue further. These are helpful and prevents us from asking it back and forth.
I will be starting with the System Status Report first though this is incomplete:
WooCommerce version: 5.5.4
WooCommerce Database Version: 5.5.4You are using a very outdated version of WooCommerce, we are already using
7.5.1
. Please update WooCommerce by following the steps here.As for the error logs, these are pointing to third-party plugins present on your site, however, I can pinpoint which one since the System Status Report is incomplete.
Now, if after updating the WooCommerce version, the issue still persists, please try to switch to the default Storefront theme and only WooCommerce plugin is enabled and see if this works?
If so, then this kind of problem is usually caused by your theme or a third-party plugin present on your site. We can run a conflict test to verify this. I’d recommend cloning your site to a staging environment and performing the tests described on this guide without modifying your live site or impacting customers. Many hosts provide staging facilities, so it’s worth checking in with them. It’s also possible to do it using the free WP Staging plugin.
If this was caused by a third-party plugin present on your site, it would be best to reach out to the developers for further assistance here.
If this did not resolve the issue, please share the complete System Status Report, that will help us further troubleshoot.
You can find it via
WooCommerce > Status
. SelectGet system report
and thenCopy for support
. Once you’ve done that, you can paste it into your reply here.If you could also provide the new fatal error logs (if any) under
WooCommerce > Status > Logs
.You could copy and paste your reply here or paste it via https://gist.github.com/ and send the link here.
Let us know how it goes!
Hi,
We haven’t heard back from you in a while, so I’m going to mark this as resolved – we’ll be here if and/or when you are ready to continue.
Thanks.
- The topic ‘Checkout page giving 500 error with ?wc-ajax=checkout string’ is closed to new replies.