WooCommerce 6.9.0 causing critical error

[ad_1]

When the WooCommerce plugin updated to 6.9.0 this morning, it caused a critical error. I did the whole “Deactivate all plugins” action which is how I discovered that WooCommerce was the culprit. I was able to go to the Developers page and download and install 6.8.2 so the website could be fixed.

My hosting company was able to send me the critical error log, and it all seems to stem around the “plugins/woocommerce/includes/class-wc-frontend-scripts.php” file on line 65. I will keep 6.8.2 live on the website until this gets fixed. Please respond when it has, thanks!


PHP Fatal error:  Uncaught TypeError: array_filter(): Argument #1 ($array) must be of type array, bool given in /nas/content/live/pastorduane2/wp-content/plugins/woocommerce/includes/class-wc-frontend-scripts.php:65\nStack trace:\n#0 /nas/content/live/pastorduane2/wp-content/plugins/woocommerce/includes/class-wc-frontend-scripts.php(65): array_filter(false)\n#1 /nas/content/live/pastorduane2/wp-content/plugins/woocommerce/includes/class-wc-frontend-scripts.php(430): WC_Frontend_Scripts::get_styles()\n#2 /nas/content/live/pastorduane2/wp-includes/class-wp-hook.php(307): WC_Frontend_Scripts::load_scripts('')\n#3 /nas/content/live/pastorduane2/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array)\n#4 /nas/content/live/pastorduane2/wp-includes/plugin.php(476): WP_Hook->do_action(Array)\n#5 /nas/content/live/pastorduane2/wp-includes/script-loader.php(2156): do_action('wp_enqueue_scri...')\n#6 /nas/content/live/pastorduane2/wp-includes/class-wp-hook.php(307): wp_enqueue_scripts('')\n#7 /nas/content/live/pastorduane2/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array)\n#8 /nas/content/live/pastorduane2/wp-includes/plugin.php(476): WP_Hook->do_action(Array)\n#9 /nas/content/live/pastorduane2/wp-includes/general-template.php(3042): do_action('wp_head')\n#10 /nas/content/live/pastorduane2/wp-content/themes/booth/header.php(14): wp_head()\n#11 /nas/content/live/pastorduane2/wp-includes/template.php(770): require_once('/nas/content/li...')\n#12 /nas/content/live/pastorduane2/wp-includes/template.php(716): load_template('/nas/content/li...', true, Array)\n#13 /nas/content/live/pastorduane2/wp-includes/general-template.php(48): locate_template(Array, true, true, Array)\n#14 /nas/content/live/pastorduane2/wp-content/themes/booth/full-width.php(9): get_header()\n#15 /nas/content/live/pastorduane2/wp-includes/template-loader.php(106): include('/nas/content/li...')\n#16 /nas/content/live/pastorduane2/wp-blog-header.php(19): require_once('/nas/content/li...')\n#17 /nas/content/live/pastorduane2/index.php(17): require('/nas/content/li...')\n#18 {main}\n  thrown in /nas/content/live/pastorduane2/wp-content/plugins/woocommerce/includes/class-wc-frontend-scripts.php on line 65

The page I need help with: [log in to see the link]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer