ThemeFuse / Unyson

A WordPress framework that facilitates the development of WP themes
http://unyson.io
923 stars 219 forks source link

Error with Woocomerce #4277

Open Raulcoronado333 opened 1 year ago

Raulcoronado333 commented 1 year ago

Fatal error: Uncaught TypeError: Argument 1 passed to Automattic\WooCommerce\StoreApi\Schemas\V1\ProductSchema::get_low_stock_remaining() must be an instance of WC_Product, instance of WC_CouponHut_Deal_Simple given, called in /home/customer/www/tokenhub.club/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/StoreApi/Schemas/V1/CartItemSchema.php on line 347 and defined in /home/customer/www/tokenhub.club/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/StoreApi/Schemas/V1/ProductSchema.php:519 Stack trace: #0 /home/customer/www/tokenhub.club/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/StoreApi/Schemas/V1/CartItemSchema.php(347): Automattic\WooCommerce\StoreApi\Schemas\V1\ProductSchema->get_low_stock_remaining(Object(WC_CouponHut_Deal_Simple)) #1 [internal function]: Automattic\WooCommerce\StoreApi\Schemas\V1\CartItemSchema->get_item_response(Array) #2 /home/customer/www/tokenhub.club/public_html/wp-content/plugins/woocommerce/packages/wooco in /home/customer/www/tokenhub.club/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/StoreApi/Schemas/V1/ProductSchema.php on line 519

I cant use Unysoft page editor when I have Woocomerce Active, if i desactivate it everything works fine. Please can you help me