• Resolved epaslv

    (@epaslv)


    All of aour sites that use ACF have crashed with WooCommerce 4.4.0. /woocommerce/includes/class-wc-query.php on line 376

    Commented out for time being until WooCommerce 4.4.0 has been tested properly.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thank you for this solution, I’ve been trying to track it down.

    To help others, comment out lines 376-378.

    Thread Starter epaslv

    (@epaslv)

    Hi, yes I should have added ..

    Comment out lines 376-378 for now …

    Plugin Support RK a11n

    (@riaanknoetze)

    Hi there,

    Can you share the exact error reported in that crash? You can find that either in the PHP server error logs or under **WooCommerce > Status**.

    Thanks!

    Plugin Support RK a11n

    (@riaanknoetze)

    In addition to my earlier reply, I’ve just noticed the following open bug report for ACF & WooCommerce: https://github.com/woocommerce/woocommerce/issues/27394

    Thread Starter epaslv

    (@epaslv)

    Sure,

    From the error_log

    Stack trace:
    #0 /home/vortulco/public_html/wp-content/plugins/woocommerce/includes/class-wc-query.php(363): WC_Query->adjust_total_pages()
    #1 /home/vortulco/public_html/wp-includes/class-wp-hook.php(289): WC_Query->handle_get_posts(Array)
    #2 /home/vortulco/public_html/wp-includes/plugin.php(249): WP_Hook->apply_filters(Array, Array)
    #3 /home/vortulco/public_html/wp-includes/class-wp-query.php(3190): apply_filters_ref_array(‘the_posts’, Array)
    #4 /home/vortulco/public_html/wp-includes/class-wp-query.php(3448): WP_Query->get_posts()
    #5 /home/vortulco/public_html/wp-includes/post.php(2053): WP_Query->query(Array)
    #6 /home/vortulco/public_html/wp-content/plugins/advanced-custom-fields-pro/includes/acf-field-functions.php(148): get_posts(Array)
    #7 /home/vortulco/public_html/wp-content/plugins/advanced-custom-fields-pro/includes/acf-field-functions.php(85): acf_g in /home/vortulco/public_html/wp-content/plugins/woocommerce/includes/class-wc-query.php on line 376

    Jeff D

    (@twogringosmedia)

    They finally released an update. Not in the regular channels, yet, but it’s on Github where they develop it. It works for me.
    https://github.com/woocommerce/woocommerce/releases/tag/4.4.1

    Here’s wah happened and what the fixed/disabled to get it to work for now: https://github.com/woocommerce/woocommerce/blob/master/src/README.md

    Plugin Support Steve E.a11n

    (@woosteve)

    Automattic Happiness Engineer

    WooCommerce 4.4.1 has now been released. Updating to this version should solve the issues mentioned above.

    I’ll go ahead and mark this thread as solved but please feel free to start a new thread if you see any additional problems.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘WooCommerce 4.4.0 and ACF’ is closed to new replies.