• Resolved malaga16

    (@malaga16)


    Hi!

    After i update to 6.9 version, in debug (display frontpage) has a PHP error.

    – WordPress 6.0.2
    – Woocommerce 6.9
    – Bricks Builder 1.5.2
    – Apache server with PHP 7.4.xx

    Warning
    : array_filter() expects parameter 1 to be array, bool given in
    /public_html/wp-content/plugins/woocommerce/includes/class-wc-frontend-scripts.php
    on line
    65
Viewing 2 replies - 1 through 2 (of 2 total)
  • I have the same problem
    I am using php 8.1

    2022-09-14 10:52:10.767323 [NOTICE] [158439] [102.89.34.154:56438-Q:284F45235461007C-4#site.com] [STDERR] PHP Fatal error:  Uncaught TypeError: array_filter(): Argument #1 ($array) must be of type array, bool given in /home/site.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-frontend-scripts.php:65
    Stack trace:
    #0 /home/site.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-frontend-scripts.php(65): array_filter()
    #1 /home/site.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-frontend-scripts.php(430): WC_Frontend_Scripts::get_styles()
    #2 /home/site.com/public_html/wp-includes/class-wp-hook.php(307): WC_Frontend_Scripts::load_scripts()
    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,

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP error after update 6.9’ is closed to new replies.