Fatal error: Uncaught Error: Call to a member function getTimestamp() on null
-
I’m using the plugin to show the latest sales from WooCommerce. Just noticed an issue when trying to add products on Add new order page. Disabling NotificationX will fix the issue.
NotificationX – Version 2.3.1, WooCommerce – Version 6.0.0, PHP – 7.4.
The log is as follow:
PHP Fatal error: Uncaught Error: Call to a member function getTimestamp() on null in /wp-content/plugins/notificationx/includes/Extensions/WooCommerce/WooCommerce.php:324
Stack trace:
#0 /wp-content/plugins/notificationx/includes/Extensions/WooCommerce/WooCommerce.php(184): NotificationX\Extensions\WooCommerce\WooCommerce->ordered_product(5412, Object(WC_Order_Item_Product), 13898)
#1 /wp-includes/class-wp-hook.php(303): NotificationX\Extensions\WooCommerce\WooCommerce->save_new_orders(5412, Object(WC_Order_Item_Product), 13898)
#2 /wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(5412, Array)
#3 /wp-includes/plugin.php(470): WP_Hook->do_action(Array)
#4 /wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-item-type-data-store.php(60): do_action(‘woocommerce_new…’, 5412, Object(WC_Order_Item_Product), in /wp-content/plugins/notificationx/includes/Extensions/WooCommerce/WooCommerce.php on line 324`
- The topic ‘Fatal error: Uncaught Error: Call to a member function getTimestamp() on null’ is closed to new replies.