• Resolved decrypti

    (@decrypti)


    An error of type E_ERROR was caused in line 376 of the file /home/andy/public_html/wp-content/plugins/woocommerce/includes/class-wc-query.php. Error message: Uncaught Error: Call to undefined function wc_get_loop_prop() in /home/andy/public_html/wp-content/plugins/woocommerce/includes/class-wc-query.php:376 Stack trace: #0 /home/andy/public_html/wp-content/plugins/woocommerce/includes/class-wc-query.php(363): WC_Query->adjust_total_pages() #1 /home/andy/public_html/wp-includes/class-wp-hook.php(289): WC_Query->handle_get_posts(Array) #2 /home/andy/public_html/wp-includes/plugin.php(249): WP_Hook->apply_filters(Array, Array) #3 /home/andy/public_html/wp-includes/class-wp-query.php(3190): apply_filters_ref_array(‘the_posts’, Array) #4 /home/andy/public_html/wp-includes/class-wp-query.php(3448): WP_Query->get_posts() #5 /home/andy/public_html/wp-includes/class-wp-query.php(3559): WP_Query->query(Array) #6 /home/andy/public_html/wp-content/themes/phlox-pro/auxin/auxin-include/include/functions.php(2198): WP_Query->__construct(Array) #7 /home/andy/public_html/wp-content/themes/phlox-pro/auxin/auxin-include/include/functions.php(2254): auxin_get_last_post_id(Array) #8 /

    Please advise on how I can rectify the error. We are an online business and so we rely heavily on the WooCommerce plugin. TIA.

    • This topic was modified 4 years, 7 months ago by decrypti.
Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter decrypti

    (@decrypti)

    The error has also lead to errors in some of our WordPress extensions.

    • This reply was modified 4 years, 7 months ago by decrypti.
    Rynald0s

    (@rynald0s)

    Automattic Happiness Engineer

    Hi @decrypti!

    It looks like the error is coming directly from your theme. The exact path is:

    > wp-content/themes/phlox-pro/auxin/auxin-include/include/functions.php

    It is likely that your theme needs an update to be fully compatible with the most recent core release, and you will need to contact your theme author for help with that.

    Cheers!

    I got the same error last night. Different theme. How do I fix?

    Error Details
    =============
    An error of type E_ERROR was caused in line 376 of the file /home4/pyxis2025/preppyprincess.com/wp-content/plugins/woocommerce/includes/class-wc-query.php. Error message: Uncaught Error: Call to undefined function wc_get_loop_prop() in /home4/pyxis2025/preppyprincess.com/wp-content/plugins/woocommerce/includes/class-wc-query.php:376

    The Stack trace is as follows:
    Stack trace:
    #0 /home4/pyxis2025/preppyprincess.com/wp-content/plugins/woocommerce/includes/class-wc-query.php(363): WC_Query->adjust_total_pages()
    #1 /home4/pyxis2025/preppyprincess.com/wp-includes/class-wp-hook.php(289): WC_Query->handle_get_posts(Array)
    #2 /home4/pyxis2025/preppyprincess.com/wp-includes/plugin.php(249): WP_Hook->apply_filters(Array, Array)
    #3 /home4/pyxis2025/preppyprincess.com/wp-includes/class-wp-query.php(3190): apply_filters_ref_array(‘the_posts’, Array)
    #4 /home4/pyxis2025/preppyprincess.com/wp-includes/class-wp-query.php(3448): WP_Query->get_posts()
    #5 /home4/pyxis2025/preppyprincess.com/wp-includes/class-wp-query.php(3559): WP_Query->query(Array)
    #6 /home4/pyxis2025/preppyprincess.com/wp-content/themes/upstore/admin/functions.php(125): WP_Query->__construct(Array)
    #7 /home4/pyxis2025/preppyprincess.com/wp-content/themes/u

    Rynald0s

    (@rynald0s)

    Automattic Happiness Engineer

    Hi @drp2p2!

    You’ll need to contact your theme author, which is Upstore.

    > themes/upstore/admin/functions.php

    Cheers!

    The Same Error Came on my 4 Different Websites with 4 Different Themes and also in one of them i am unable to Complete Store Setup

    Uncaught Error: Call to undefined function wc_get_loop_prop() in /home/dj/domains/havocmall.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-query.php:376 Stack trace: #0 /home/dj/domains/havocmall.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-query.php(363): WC_Query->adjust_total_pages() #1 /home/dj/domains/havocmall.com/public_html/wp-includes/class-wp-hook.php(289): WC_Query->handle_get_posts(Array) #2 /home/dj/domains/havocmall.com/public_html/wp-includes/plugin.php(249): WP_Hook->apply_filters(Array, Array) #3 /home/dj/domains/havocmall.com/public_html/wp-includes/class-wp-query.php(3190): apply_filters_ref_array(‘the_posts’, Array) #4 /home/dj/domains/havocmall.com/public_html/wp-includes/class-wp-query.php(3448): WP_Query->get_posts() #5 /home/dj/domains/havocmall.com/public_html/wp-includes/class-wp-query.php(3559): WP_Query->query(Array) #6 /home/dj/domains/havocmall.com/public_html/wp-content/themes/e in /home/dj/domains/havocmall.com/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

    @twogringosmedia Thanks Man!!!! It worked for me too.????

    Plugin Support Steve E.a11n

    (@woosteve)

    Automattic Happiness Engineer

    WooCommerce 4.4.1 has now been released, and updating to this version will 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 9 replies - 1 through 9 (of 9 total)
  • The topic ‘E Error in line 376’ is closed to new replies.