Urgent help needed: Critical Error on site since latest WP/Woocommerce update


My client’s website is displaying the following error message to all users:

"There has been a critical error on your website.

Learn more about debugging in WordPress."

Her details are as follows:
WordPress version 5.5
Current theme: Shapely (version 1.2.8)
Current plugin: WooCommerce (version 4.4.0)
PHP version 7.3.21

She received the following error details via email:

Error Details

An error of type E_ERROR was caused in line 376 of the file /home3/tlcbeaut/public_html/wp-content/plugins/woocommerce/includes/class-wc-query.php. Error message: Uncaught Error: Call to undefined function wc_get_loop_prop() in /home3/tlcbeaut/public_html/wp-content/plugins/woocommerce/includes/class-wc-query.php:376
Stack trace:
#0 /home3/tlcbeaut/public_html/wp-content/plugins/woocommerce/includes/class-wc-query.php(363): WC_Query->adjust_total_pages()
#1 /home3/tlcbeaut/public_html/wp-includes/class-wp-hook.php(289): WC_Query->handle_get_posts(Array)
#2 /home3/tlcbeaut/public_html/wp-includes/plugin.php(249): WP_Hook->apply_filters(Array, Array)
#3 /home3/tlcbeaut/public_html/wp-includes/class-wp-query.php(3190): apply_filters_ref_array(‘the_posts’, Array)
#4 /home3/tlcbeaut/public_html/wp-includes/class-wp-query.php(3448): WP_Query->get_posts()
#5 /home3/tlcbeaut/public_html/wp-includes/class-wp-query.php(3559): WP_Query->query(Array)
#6 /home3/tlcbeaut/public_html/wp-content/themes/shapely/inc/class-shapely-builder.php(41): WP_Query->_construct(Array)
#7 /home3/tlcbeaut/public_html/wp-content/themes/shapely/inc/class-shapely-builder.php(15): Shapely_Builder->get

How do I fix this or can someone from the support team rectify it for me?


Hey there

Where this problem is appearing? as I can see your problems are reported from the Woocmmerce files, please check Woocmmerce plugin

I m trying add another social icon in my post page I could know how to to this

Hey there

Anitha, your question is not related to this one, please start a new thread and I will check it