Fatal Error: Call to a function save() on bool class-thwcfd-public-checkout.php
-
Two of our orders have duplicate products but the order total is for single quantity products. Upon investigating the error log, I found out that your plugin throws an error at the same time this product duplication issue happened. This is how one of those orders looks in the backend – https://snipboard.io/QyAk5Z.jpg. It only happened with two orders so far. But it is concerning. Can you please check if your plugin function “
checkout_update_order_meta
” causing this issue or not. The customer did say that “the checkout page froze before he put his card details in. He went back a screen and then proceeded to checkout again.?Somehow he ended up with 2 lots of both products. He didn’t notice any difference until he ?saw the order summary.”PHP Fatal error: Uncaught Error: Call to a member function save() on bool in /var/web/site/public_html/wp-content/plugins/woo-checkout-field-editor-pro/public/class-thwcfd-public-checkout.php:513 Stack trace: #0 /var/web/site/public_html/wp-includes/class-wp-hook.php(310): THWCFD_Public_Checkout->checkout_update_order_meta(0, Array) #1 /var/web/site/public_html/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(NULL, Array) #2 /var/web/site/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #3 /var/web/site/public_html/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(456): do_action('woocommerce_che...', 0, Array) #4 /var/web/site/public_html/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(1256): WC_Checkout->create_order(Array) #5 /var/web/site/public_html/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(508): WC_Checkout->process_checkout() #6 /var/web/site/public_html/wp-includes/class-wp-hook.php(310): WC_AJAX::checkout('') #7 /var/web/site/public_html/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters('', Array) #8 /var/web/site/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #9 /var/web/site/public_html/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(96): do_action('wc_ajax_checkou...') #10 /var/web/site/public_html/wp-includes/class-wp-hook.php(310): WC_AJAX::do_wc_ajax('') #11 /var/web/site/public_html/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(false, Array) #12 /var/web/site/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #13 /var/web/site/public_html/wp-includes/template-loader.php(13): do_action('template_redire...') #14 /var/web/site/public_html/wp-blog-header.php(19): require_once('/var/web/site/p...') #15 /var/web/site/public_html/index.php(17): require('/var/web/site/p...') #16 {main} thrown in /var/web/site/public_html/wp-content/plugins/woo-checkout-field-editor-pro/public/class-thwcfd-public-checkout.php on line 513
- The topic ‘Fatal Error: Call to a function save() on bool class-thwcfd-public-checkout.php’ is closed to new replies.