CRITICAL Uncaught Error: Call to a member function get_date_created() on null
-
Hello Happiness Engineer
Your help, please. I am attempting to discover why I get this error message when I perform a test purchase: An error occurred, please try again or try an alternate form of payment.
I have not provided a link, because the problem manifests when proceeding to checkout. In other words, the circumstance must be recreated.
Here is why I am seeking your help with this support request. During my research into my problem, I found this fatal error a few times in my logs. This is the most recent example.
2021-08-12T22:29:41+00:00 CRITICAL Uncaught Error: Call to a member function get_date_created() on null in /home/customer/www/landtrustsmadesimple.com/public_html/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/Notes/CustomizingProductCatalog.php:52 Stack trace: #0 /home/customer/www/landtrustsmadesimple.com/public_html/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/Notes/NoteTraits.php(82): Automattic\WooCommerce\Admin\Notes\CustomizingProductCatalog::get_note() #1 /home/customer/www/landtrustsmadesimple.com/public_html/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/Events.php(145): Automattic\WooCommerce\Admin\Notes\CustomizingProductCatalog::possibly_add_note() #2 /home/customer/www/landtrustsmadesimple.com/public_html/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/Events.php(96): Automattic\WooCommerce\Admin\Events->possibly_add_notes() #3 /home/customer/www/landtrustsmadesimple.com/public_html/wp-includes/class-wp-hook.php(303): Automattic\WooCommerce\Admin\Events->do_wc_admin_dai in /home/customer/www/landtrustsmadesimple.com/public_html/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/Notes/CustomizingProductCatalog.php on line 52
My problem and this fatal error may be unrelated. I am prepared for this to be the case. Nonetheless, it makes sense to me to resolve any uncaught critical errors.
You will most certainly need more information from me in order to research this critical error. What else may I provide?
Andrew
- The topic ‘CRITICAL Uncaught Error: Call to a member function get_date_created() on null’ is closed to new replies.