• Resolved jhouCCC

    (@jhouccc)


    The system has updated woocommerce to this latest version, and the following error appears:

    [14-Sep-2022 14:42:45 UTC] PHP Fatal error:  Uncaught TypeError: array_filter(): Argument #1 ($array) must be of type array, bool given in /home/cn/public_html/wp-content/plugins/woocommerce/includes/class-wc-frontend-scripts.php:65
    Stack trace:
    #0 /home/cn/public_html/wp-content/plugins/woocommerce/includes/class-wc-frontend-scripts.php(65): array_filter()
    #1 /home/cn/public_html/wp-content/plugins/woocommerce/includes/class-wc-frontend-scripts.php(430): WC_Frontend_Scripts::get_styles()
    #2 /home/cn/public_html/wp-includes/class-wp-hook.php(307): WC_Frontend_Scripts::load_scripts()
    #3 /home/cn/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
    #4 /home/cn/public_html/wp-includes/plugin.php(476): WP_Hook->do_action()
    #5 /home/cn/public_html/wp-includes/script-loader.php(2156): do_action()
    #6 /home/cn/public_html/wp-includes/class-wp-hook.php(307): wp_enqueue_scripts()
    #7 /home/cn/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
    #8 /home/cn/public_html/wp-includes/plugin.php(476): WP_Hook->do_action()
    #9 /home/cn/public_html/wp-includes/general-template.php(3042): do_action()
    #10 /home/cn/public_html/wp-content/themes/oceanwp/header.php(15): wp_head()
    #11 /home/cn/public_html/wp-includes/template.php(770): require_once('/home/numismati...')
    #12 /home/cn/public_html/wp-includes/template.php(716): load_template()
    #13 /home/cn/public_html/wp-includes/general-template.php(48): locate_template()
    #14 /home/cn/public_html/wp-content/plugins/elementor/modules/page-templates/templates/header-footer.php(9): get_header()
    #15 /home/cn/public_html/wp-includes/template-loader.php(106): include('/home/numismati...')
    #16 /home/cn/public_html/wp-blog-header.php(19): require_once('/home/numismati...')
    #17 /home/cn/public_html/index.php(17): require('/home/numismati...')
    #18 {main}
      thrown in /home/cn/public_html/wp-content/plugins/woocommerce/includes/class-wc-frontend-scripts.php on line 65
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Woocommerce PHP Fatal error’ is closed to new replies.