PHP Error
-
Hello,
I am using your plugin on a staging site in sandbox mode. I’m testing it for deployment on a live site.
WP version 4.9.5
WooCommerce version 3.3.5
WooCommerce Manual Payment version 1.11.2I was able to process a payment – got the Authorize.net sandbox transaction email – however an error message was returned from the plugin:
“Sorry, there was an unknown error. Please check your PHP log file.”
Here is the corresponding error from the WooCommerce logs:
“2018-05-03T14:35:17+00:00 CRITICAL Uncaught Error: Call to a member function getOffsetTimestamp() on null in /home/clarikvl/public_html/virginiapeanutcompany/wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-data-store-cpt.php:142
Stack trace:
#0 /home/clarikvl/public_html/virginiapeanutcompany/wp-content/plugins/woocommerce/includes/data-stores/class-wc-order-data-store-cpt.php(162): Abstract_WC_Order_Data_Store_CPT->update(Object(WC_Order))
#1 /home/clarikvl/public_html/virginiapeanutcompany/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(169): WC_Order_Data_Store_CPT->update(Object(WC_Order))
#2 /home/clarikvl/public_html/virginiapeanutcompany/wp-content/plugins/woocommerce/includes/class-wc-order.php(220): WC_Data_Store->update(Object(WC_Order))
#3 /home/clarikvl/public_html/virginiapeanutcompany/wp-content/plugins/woocommerce/includes/class-wc-order.php(304): WC_Order->save()
#4 [internal function]: WC_Order->update_status(‘wc-processing’)
#5 /home/clarikvl/public_html/virginiapeanutcompany/wp-content/p”No payment information was recorded on the order, and the status did not update as per the settings I defined in the plugin.
Can you provide some insight? Thanks!
The topic ‘PHP Error’ is closed to new replies.