Fatal Error – Newest Version with WP.5.6
-
Hi,
My Wp log show this fatal error, as below:
[15-Dec-2020 09:37:44 UTC] PHP Notice: Undefined index: variation in /var/www/html/wp-content/plugins/woocommerce-ajax-add-to-cart-for-variable-products/woocommerce-ajax-add-to-cart-variable-products.php on line 129 [15-Dec-2020 09:37:44 UTC] PHP Warning: Invalid argument supplied for foreach() in /var/www/html/wp-content/plugins/woocommerce-ajax-add-to-cart-for-variable-products/woocommerce-ajax-add-to-cart-variable-products.php on line 137 [15-Dec-2020 09:37:44 UTC] PHP Fatal error: Uncaught Error: Using $this when not in object context in /var/www/html/wp-content/plugins/woocommerce-ajax-add-to-cart-for-variable-products/woocommerce-ajax-add-to-cart-variable-products.php:153 Stack trace: #0 /var/www/html/wp-includes/class-wp-hook.php(287): woocommerce_add_to_cart_variable_rc_callback('') #1 /var/www/html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters('', Array) #2 /var/www/html/wp-includes/plugin.php(484): WP_Hook->do_action(Array) #3 /var/www/html/wp-admin/admin-ajax.php(184): do_action('wp_ajax_woocomm...') #4 {main} thrown in /var/www/html/wp-content/plugins/woocommerce-ajax-add-to-cart-for-variable-products/woocommerce-ajax-add-to-cart-variable-products.php on line 153
Wordpress 5.6 – Woocommerce Version 4.8.0
Thanks,
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Fatal Error – Newest Version with WP.5.6’ is closed to new replies.