• Resolved Marjoline

    (@marjoline)


    Woocommerce is causing a critical error on a site I manage as a volunteer.
    I have therefore needed to switch it off, which means the site can no longer sell things to raise money.

    Please look into this asap and put out an update.

    • This topic was modified 2 years, 2 months ago by Marjoline.

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

Viewing 8 replies - 1 through 8 (of 8 total)
  • After ipdate I am now seeing on top of my page this error :: Warning: array_filter() expects parameter 1 to be array, bool given in /home/stayingf/public_html/puzzlebookgamer.com/wp-content/plugins/woocommerce/includes/class-wc-frontend-scripts.php on line 65.

    Anyone have a fix?

    After update to 6.9.0 . I can not revert to earlier version. of woocommerce. `I am now seeing on top of my page this error :: Warning: array_filter() expects parameter 1 to be array, bool given in /home/stayingf/public_html/puzzlebookgamer.com/wp-content/plugins/woocommerce/includes/class-wc-frontend-scripts.php on line 65.

    Anyone have a fix?

    You can download older versions of WooCommerce here: https://developer.woocommerce.com/releases/

    I am having the exact same issue and had to revert back to an older version myself until fixed.

    Same issue.

    Rolling back is the current fix for their lack of thorough testing.

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

    (@conschneider)

    Engineer

    Howdy,

    Thank you for the report. We are working on this here: https://github.com/woocommerce/woocommerce/issues/34667

    Here is a code snippet to temporarily resolve the issue: https://github.com/woocommerce/woocommerce/issues/34667#issuecomment-1246458316

    Kind regards,

    Thread Starter Marjoline

    (@marjoline)

    Thanks guys,

    I downloaded the earlier 6.8.2 version, and it is working like a charm again.

    Thanks for the tips!

    Cheers, Marjoline

    Plugin Support Rafy a11n

    (@nawaz0705)

    Hi @marjoline

    Our development team has released a new version (6.9.1) that has fixed the issue.

    You can try updating your WooCommerce plugin to 6.9.1 and let us know if everything seems to be in order now. ??

    Hi @marjolineSorry for the confusion here.

    While the issue is indeed being submitted for release, v6.9.1 did not include this fix. We’ll be working on getting this released ASAP.

    In the meantime, you can rollback to v6.8.2 by downloading via this link.

    UPDATE: We’ve verified that v6.9.1 did indeed include a fix for this issue. Sorry for any further confusion.

    • This reply was modified 2 years, 2 months ago by Joey - a11n.
    • This reply was modified 2 years, 2 months ago by Joey - a11n.
Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Woocommerce is causing critical error’ is closed to new replies.