TycheSoftwares / custom-order-numbers-for-woocommerce

This repository is for the Custom Order Numbers for WooCommerce- Lite
2 stars 2 forks source link

While Renumerating the orders, I got following error #92

Closed Chetna1510 closed 1 year ago

Chetna1510 commented 1 year ago

Describe the bug

Setup: image image

With the above setup, & while Renumerating the orders, I got the following error

Fatal error: Uncaught Error: Call to a member function get_date_created() on bool in /home/team-sandbox/public_html/chetna/wp-content/plugins/custom-order-numbers-for-woocommerce/includes/class-alg-wc-custom-order-numbers-core.php:1012 Stack trace: #0 /home/team-sandbox/public_html/chetna/wp-content/plugins/custom-order-numbers-for-woocommerce/includes/class-alg-wc-custom-order-numbers-core.php(792): Alg_WC_Custom_Order_Numbers_Core->add_order_number_meta() #1 /home/team-sandbox/public_html/chetna/wp-content/plugins/custom-order-numbers-for-woocommerce/includes/class-alg-wc-custom-order-numbers-core.php(714): Alg_WC_Custom_Order_Numbers_Core->renumerate_orders() #2 /home/team-sandbox/public_html/chetna/wp-includes/class-wp-hook.php(308): Alg_WC_Custom_Order_Numbers_Core->create_renumerate_orders_tool() #3 /home/team-sandbox/public_html/chetna/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #4 /home/team-sandbox/public_html/chetna/wp-includes/plugin.php(517): WP_Hook->do_action() #5 /home/team-sandbox/public_h in /home/team-sandbox/public_html/chetna/wp-content/plugins/custom-order-numbers-for-woocommerce/includes/class-alg-wc-custom-order-numbers-core.php on line 1012 There has been a critical error on this website. Please check your site admin email inbox for instructions.

Learn more about troubleshooting WordPress.