Fatal Error with Woocommerce
-
When I have a product that the price is 0 (Free product). So this error was happen
2026-03-12T07:08:48+00:00Kritis Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, class NotificationX\Types\Inline does not have a method “nx_can_entry” in /home/ciptacendekia/public_html/wp-includes/class-wp-hook.php:341 Konteks tambahan{ “error”: { “type”: 1, “file”: “/home/ciptacendekia/public_html/wp-includes/class-wp-hook.php”, “line”: 341 }, “remote-logging”: true, “backtrace”: [ “”, “#0 /home/ciptacendekia/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters(false, Array)”, “#1 /home/ciptacendekia/public_html/wp-content/plugins/notificationx/includes/Extensions/Extension.php(680): apply_filters(‘nx_can_entry_wo…’, true, Array, Array)”, “#2 /home/ciptacendekia/public_html/wp-content/plugins/notificationx/includes/Extensions/Extension.php(703): NotificationX\Extensions\Extension->update_notification(Array, true)”, “#3 /home/ciptacendekia/public_html/wp-content/plugins/notificationx/includes/Extensions/WooCommerce/WooCommerce.php(210): NotificationX\Extensions\Extension->save(Array)”, “#4 /home/ciptacendekia/public_html/wp-includes/class-wp-hook.php(341): NotificationX\Extensions\WooCommerce\WooCommerce->save_new_orders(25192, Object(WC_Order_Item_Product), 100587)”, “#5 /home/ciptacendekia/public_html/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters(NULL, Array)”, “#6 /home/ciptacendekia/public_html/wp-includes/plugin.php(522): WP_Hook->do_action(Array)”, “#7 /home/ciptacendekia/public_html/wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-item-type-data-store.php(93): do_action(‘woocommerce_new…’, 25192, Object(WC_Order_Item_Product), 100587)”, “#8 /home/ciptacendekia/public_html/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(186): Abstract_WC_Order_Item_Type_Data_Store->create(Object(WC_Order_Item_Product))”, “#9 /home/ciptacendekia/public_html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-data.php(300): WC_Data_Store->create(Object(WC_Order_Item_Product))”, “#10 /home/ciptacendekia/public_html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php(294): WC_Data->save()”, “#11 /home/ciptacendekia/public_html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php(228): WC_Abstract_Order->save_items()”, “#12 /home/ciptacendekia/public_html/wp-content/plugins/woocommerce/includes/class-wc-order.php(284): WC_Abstract_Order->save()”, “#13 /home/ciptacendekia/public_html/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(473): WC_Order->save()”, “#14 /home/ciptacendekia/public_html/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(1353): WC_Checkout->create_order(Array)”, “#15 /home/ciptacendekia/public_html/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(604): WC_Checkout->process_checkout()”, “#16 /home/ciptacendekia/public_html/wp-includes/class-wp-hook.php(341): WC_AJAX::checkout(”)”, “#17 /home/ciptacendekia/public_html/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters(”, Array)”, “#18 /home/ciptacendekia/public_html/wp-includes/plugin.php(522): WP_Hook->do_action(Array)”, “#19 /home/ciptacendekia/public_html/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(129): do_action(‘wc_ajax_checkou…’)”, “#20 /home/ciptacendekia/public_html/wp-includes/class-wp-hook.php(341): WC_AJAX::do_wc_ajax(”)”, “#21 /home/ciptacendekia/public_html/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters(NULL, Array)”, “#22 /home/ciptacendekia/public_html/wp-includes/plugin.php(522): WP_Hook->do_action(Array)”, “#23 /home/ciptacendekia/public_html/wp-includes/template-loader.php(23): do_action(‘template_redire…’)”, “#24 /home/ciptacendekia/public_html/wp-blog-header.php(19): require_once(‘/home/ciptacend…’)”, “#25 /home/ciptacendekia/public_html/index.php(17): require(‘/home/ciptacend…’)”, “#26 {main}”, “thrown” ] }2026-03-12T07:09:06+00:00Kritis Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, class NotificationX\Types\Inline does not have a method “nx_can_entry” in /home/ciptacendekia/public_html/wp-includes/class-wp-hook.php:341 Konteks tambahan{ “error”: { “type”: 1, “file”: “/home/ciptacendekia/public_html/wp-includes/class-wp-hook.php”, “line”: 341 }, “remote-logging”: true, “backtrace”: [ “”, “#0 /home/ciptacendekia/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters(false, Array)”, “#1 /home/ciptacendekia/public_html/wp-content/plugins/notificationx/includes/Extensions/Extension.php(680): apply_filters(‘nx_can_entry_wo…’, true, Array, Array)”, “#2 /home/ciptacendekia/public_html/wp-content/plugins/notificationx/includes/Extensions/Extension.php(703): NotificationX\Extensions\Extension->update_notification(Array, true)”, “#3 /home/ciptacendekia/public_html/wp-content/plugins/notificationx/includes/Extensions/WooCommerce/WooCommerce.php(210): NotificationX\Extensions\Extension->save(Array)”, “#4 /home/ciptacendekia/public_html/wp-includes/class-wp-hook.php(341): NotificationX\Extensions\WooCommerce\WooCommerce->save_new_orders(25193, Object(WC_Order_Item_Product), 100588)”, “#5 /home/ciptacendekia/public_html/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters(NULL, Array)”, “#6 /home/ciptacendekia/public_html/wp-includes/plugin.php(522): WP_Hook->do_action(Array)”, “#7 /home/ciptacendekia/public_html/wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-item-type-data-store.php(93): do_action(‘woocommerce_new…’, 25193, Object(WC_Order_Item_Product), 100588)”, “#8 /home/ciptacendekia/public_html/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(186): Abstract_WC_Order_Item_Type_Data_Store->create(Object(WC_Order_Item_Product))”, “#9 /home/ciptacendekia/public_html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-data.php(300): WC_Data_Store->create(Object(WC_Order_Item_Product))”, “#10 /home/ciptacendekia/public_html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php(294): WC_Data->save()”, “#11 /home/ciptacendekia/public_html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php(228): WC_Abstract_Order->save_items()”, “#12 /home/ciptacendekia/public_html/wp-content/plugins/woocommerce/includes/class-wc-order.php(284): WC_Abstract_Order->save()”, “#13 /home/ciptacendekia/public_html/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(473): WC_Order->save()”, “#14 /home/ciptacendekia/public_html/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(1353): WC_Checkout->create_order(Array)”, “#15 /home/ciptacendekia/public_html/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(604): WC_Checkout->process_checkout()”, “#16 /home/ciptacendekia/public_html/wp-includes/class-wp-hook.php(341): WC_AJAX::checkout(”)”, “#17 /home/ciptacendekia/public_html/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters(”, Array)”, “#18 /home/ciptacendekia/public_html/wp-includes/plugin.php(522): WP_Hook->do_action(Array)”, “#19 /home/ciptacendekia/public_html/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(129): do_action(‘wc_ajax_checkou…’)”, “#20 /home/ciptacendekia/public_html/wp-includes/class-wp-hook.php(341): WC_AJAX::do_wc_ajax(”)”, “#21 /home/ciptacendekia/public_html/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters(NULL, Array)”, “#22 /home/ciptacendekia/public_html/wp-includes/plugin.php(522): WP_Hook->do_action(Array)”, “#23 /home/ciptacendekia/public_html/wp-includes/template-loader.php(23): do_action(‘template_redire…’)”, “#24 /home/ciptacendekia/public_html/wp-blog-header.php(19): require_once(‘/home/ciptacend…’)”, “#25 /home/ciptacendekia/public_html/index.php(17): require(‘/home/ciptacend…’)”, “#26 {main}”, “thrown” ] }2026-03-12T07:10:07+00:00Kritis Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, class NotificationX\Types\Inline does not have a method “nx_can_entry” in /home/ciptacendekia/public_html/wp-includes/class-wp-hook.php:341 Konteks tambahan2026-03-12T07:11:03+00:00Kritis Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, class NotificationX\Types\Inline does not have a method “nx_can_entry” in /home/ciptacendekia/public_html/wp-includes/class-wp-hook.php:341 Konteks tambahan2026-03-12T07:19:29+00:00Kritis Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, class NotificationX\Types\Inline does not have a method “nx_can_entry” in /home/ciptacendekia/public_html/wp-includes/class-wp-hook.php:341 Konteks tambahan2026-03-12T08:11:05+00:00Kritis Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, class NotificationX\Types\Inline does not have a method “nx_can_entry” in /home/ciptacendekia/public_html/wp-includes/class-wp-hook.php:341 Konteks tambahan2026-03-12T08:11:34+00:00Kritis Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, class NotificationX\Types\Inline does not have a method “nx_can_entry” in /home/ciptacendekia/public_html/wp-includes/class-wp-hook.php:341 Konteks tambahan2026-03-12T08:11:52+00:00Kritis Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, class NotificationX\Types\Inline does not have a method “nx_can_entry” in /home/ciptacendekia/public_html/wp-includes/class-wp-hook.php:341 Konteks tambahan2026-03-12T08:12:35+00:00Kritis Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, class NotificationX\Types\Inline does not have a method “nx_can_entry” in /home/ciptacendekia/public_html/wp-includes/class-wp-hook.php:341 Konteks tambahan2026-03-12T08:16:53+00:00Kritis Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, class NotificationX\Types\Inline does not have a method “nx_can_entry” in /home/ciptacendekia/public_html/wp-includes/class-wp-hook.php:341 Konteks tambahan2026-03-12T14:23:17+00:00Kritis Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, class NotificationX\Types\Inline does not have a method “nx_can_entry” in /home/ciptacendekia/public_html/wp-includes/class-wp-hook.php:341 Konteks tambahan2026-03-12T14:28:13+00:00Kritis Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, class NotificationX\Types\Inline does not have a method “nx_can_entry” in /home/ciptacendekia/public_html/wp-includes/class-wp-hook.php:341 Konteks tambahan2026-03-12T14:28:20+00:00Kritis Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, class NotificationX\Types\Inline does not have a method “nx_can_entry” in /home/ciptacendekia/public_html/wp-includes/class-wp-hook.php:341 Konteks tambahan2026-03-12T14:28:33+00:00Kritis Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, class NotificationX\Types\Inline does not have a method “nx_can_entry” in /home/ciptacendekia/public_html/wp-includes/class-wp-hook.php:341 Konteks tambahan2026-03-12T14:33:23+00:00Kritis Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, class NotificationX\Types\Inline does not have a method “nx_can_entry” in /home/ciptacendekia/public_html/wp-includes/class-wp-hook.php:341 Konteks tambahan2026-03-12T16:59:54+00:00Kritis Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, class NotificationX\Types\Inline does not have a method “nx_can_entry” in /home/ciptacendekia/public_html/wp-includes/class-wp-hook.php:341 Konteks tambahan2026-03-12T17:00:19+00:00Kritis Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, class NotificationX\Types\Inline does not have a method “nx_can_entry” in /home/ciptacendekia/public_html/wp-includes/class-wp-hook.php:341 Konteks tambahan2026-03-12T17:00:48+00:00Kritis Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, class NotificationX\Types\Inline does not have a method “nx_can_entry” in /home/ciptacendekia/public_html/wp-includes/class-wp-hook.php:341 Konteks tambahan2026-03-12T17:22:44+00:00Kritis Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, class NotificationX\Types\Inline does not have a method “nx_can_entry” in /home/ciptacendekia/public_html/wp-includes/class-wp-hook.php:341 Konteks tambahan2026-03-12T17:23:21+00:00Kritis Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, class NotificationX\Types\Inline does not have a method “nx_can_entry” in /home/ciptacendekia/public_html/wp-includes/class-wp-hook.php:341 Konteks tambahan2026-03-12T17:24:04+00:00Kritis Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, class NotificationX\Types\Inline does not have a method “nx_can_entry” in /home/ciptacendekia/public_html/wp-includes/class-wp-hook.php:341 Konteks tambahan
Jika Anda suka WooCommerce, beri kami peringkat ★★★★★. Terima kasih banyak sebelumnya!
Versi 10.6.0
You must be logged in to reply to this topic.