Hello team,
I just updated to latest version of xstore theme and since then, I cannot edit any page.
It says there has been a critical error and the details sent in admin email.
The following was sent in email:
When seeking help with this issue, you may be asked for some of the following information:
WordPress version 6.6.2
Active theme: XStore Child (version 0.0.2)
Current plugin: (version )
PHP version 7.4.33
Error Details
=============
An error of type E_ERROR was caused in line 4917 of the file /home/butterlypillow/public_html/wp-content/themes/xstore/framework/woo.php. Error message: Uncaught Error: Cannot use object of type WP_Error as array in /home/butterlypillow/public_html/wp-content/themes/xstore/framework/woo.php:4917
Stack trace:
#0 /home/butterlypillow/public_html/wp-includes/class-wp-hook.php(324): {closure}(Array, Object(WC_Product_Variable))
#1 /home/butterlypillow/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array)
#2 /home/butterlypillow/public_html/wp-content/plugins/woocommerce/includes/class-wc-structured-data.php(370): apply_filters(‘woocommerce_str…’, Array, Object(WC_Product_Variable))
#3 /home/butterlypillow/public_html/wp-includes/class-wp-hook.php(324): WC_Structured_Data->generate_product_data(Object(WC_Product_Variable))
#4 /home/butterlypillow/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array)
#5 /home/butterlypillow/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#6 /home/butterlypillow/public_html/wp-content/themes/xstore/woocommerce/content-single-product-builder.php(103): do_action(
—————————————————————
I will provide login details in private content area.
Please help me out.
Thank you.
Regards,
Carty..