WooCommerce Fatal Error
-
I keep receiving emails about a fatal error with my WooCommerce plug in. I can’t seem to locate the issue, as everything seems okay from the front end. Any ideas as to what this could be? Here is the message I received: When seeking help with this issue, you may be asked for some of the following information:
WordPress version 6.3
Active theme: Aasta Pro (version 2.2)
Current plugin: WooCommerce (version 8.0.2) PHP version 8.1.21
Error Details
=============
An error of type E_ERROR was caused in line 3619 of the file /var/www/wp-content/plugins/woocommerce/includes/class-wc-ajax.php. Error message: Uncaught TypeError: WC_AJAX::order_refresh_lock(): Return value must be of type array, null returned in /var/www/wp-content/plugins/woocommerce/includes/class-wc-ajax.php:3619
Stack trace:
#0 /var/www/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(210): WC_AJAX::order_refresh_lock(NULL, Array)
#1 /var/www/wp-includes/class-wp-hook.php(312): WC_AJAX::{closure}(NULL, Array)
#2 /var/www/wp-includes/plugin.php(205): WP_Hook->apply_filters(NULL, Array)
#3 /var/www/wp-admin/includes/ajax-actions.php(3494): apply_filters(‘heartbeat_recei…’, Array, Array, ‘product’)
#4 /var/www/wp-includes/class-wp-hook.php(310): wp_ajax_heartbeat(”)
#5 /var/www/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(”, Array)
#6 /var/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#7 /var/www/wp-admin/admin-ajax.php(188): do_action(‘wp_ajax_heartbe…’)
#8 {main}
?thrown
- The topic ‘WooCommerce Fatal Error’ is closed to new replies.