• Resolved vaka2vaka

    (@vaka2vaka)


    6.0.2
    OceanWP Child 02 (oceanwp-child02)
    Linux 5.10.113-0-beget-acl x86_64

    Fatal error: Uncaught Error: array_filter(): Argument #1 ($array) must be of type array, bool given
    in /home/h/hxrkxqj/_____________.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-frontend-scripts.php on line 65

    Стек вызовов:

    array_filter()
    wp-content/plugins/woocommerce/includes/class-wc-frontend-scripts.php:65
    WC_Frontend_Scripts::get_styles()
    wp-content/plugins/woocommerce/includes/class-wc-frontend-scripts.php:430
    WC_Frontend_Scripts::load_scripts()
    call_user_func_array()
    wp-includes/class-wp-hook.php:307
    WP_Hook::apply_filters()
    wp-includes/class-wp-hook.php:331
    WP_Hook::do_action()
    wp-includes/plugin.php:476
    do_action()
    wp-includes/script-loader.php:2156
    wp_enqueue_scripts()
    call_user_func_array()
    wp-includes/class-wp-hook.php:307
    WP_Hook::apply_filters()
    wp-includes/class-wp-hook.php:331
    WP_Hook::do_action()
    wp-includes/plugin.php:476
    do_action()
    wp-includes/general-template.php:3042
    wp_head()
    wp-content/themes/oceanwp/header.php:15
    require_once()
    wp-includes/template.php:770
    load_template()
    wp-includes/template.php:716
    locate_template()
    wp-includes/general-template.php:48
    get_header()
    wp-content/plugins/elementor/modules/page-templates/templates/header-footer.php:9
    include()
    wp-includes/template-loader.php:106
    require_once()
    wp-blog-header.php:19
    require()
    index.php:17

Viewing 12 replies - 1 through 12 (of 12 total)
  • Thread Starter vaka2vaka

    (@vaka2vaka)

    It seems the problem is only with oceanwp
    4 sites
    Forced to revert to an earlier version woocommerce

    Same error here. Reverting to 6.8.2 resolved the issue.

    Plugin Support Saravanan S, a11n

    (@simplysaru)

    Hi @deputt , @vaka2vaka

    Could you confirm if you notice the same errors when the Theme is any of the default themes, such as Twenty Twenty two or Storefront ? It’s possible the issue is coming from the theme in this case and not WooCommerce core.

    We look forward to your reply at your earliest.

    Thread Starter vaka2vaka

    (@vaka2vaka)

    @simplysaru
    This is the first thing I did. Yes, switching to another theme solves the issue. It is strange that in the next branch the same problem occurs with other topics. Not only OceanWP. And there were no problems in the previous version.
    I wrote to Ocean WP support. . Until the silence

    i have occeanwp thema and i have same probleem.
    how can i solve it?

    Please add this code to your child theme’s functions.php as a temporary fix. You should remove it once a patch is released:

    
    add_filter( 'woocommerce_enqueue_styles', 'wc_child_theme_fix_33467', PHP_INT_MAX );
    
    function wc_child_theme_fix_33467( $styles ) {
        return ( is_array( $styles ) ) ? $styles : [];
    }
    
    MisterH

    (@hmarksthespot)

    Same issue here!

    Thread Starter vaka2vaka

    (@vaka2vaka)

    OceanWP solved the problem in 3 5 5

    Plugin Support Saravanan S, a11n

    (@simplysaru)

    hi @vaka2vaka,

    Thanks for sharing the updates on the Child theme and marking the issue resolved.

    Issue resolved with WooCommerce 6.9.1. OceanWP was also updated to 3.3.5.

    Plugin Support Chris Moreira – a11n

    (@chrism245)

    To confirm this, this issue has been fixed and released in WooCommerce v6.9.1. Please go ahead update to v6.9.1.

    Thread Starter vaka2vaka

    (@vaka2vaka)

    Everything is working. Thanks

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Fatal error 6.9.0’ is closed to new replies.