Fatal error: Uncaught TypeError:
-
can somebody give me a hand with this:
Fatal error: Uncaught TypeError: Argument 1 passed to Hyyan\WPI\Product\Stock::change() must be of the type array, object given, called in /data/web/e68211/html/wp-mietplattform/wp-content/plugins/woo-poly-integration/src/Hyyan/WPI/Product/Stock.php on line 56 and defined in /data/web/e68211/html/wp-mietplattform/wp-content/plugins/woo-poly-integration/src/Hyyan/WPI/Product/Stock.php:90 Stack trace: #0 /data/web/e68211/html/wp-mietplattform/wp-content/plugins/woo-poly-integration/src/Hyyan/WPI/Product/Stock.php(56): Hyyan\WPI\Product\Stock->change(Object(WC_Order_Item_Product), ‘reduce’) #1 /data/web/e68211/html/wp-mietplattform/wp-includes/class-wp-hook.php(298): Hyyan\WPI\Product\Stock->reduceStock(Object(WC_Order)) #2 /data/web/e68211/html/wp-mietplattform/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(”, Array) #3 /data/web/e68211/html/wp-mietplattform/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #4 /data/web/e68211/html/wp-mietplattform/wp-content/plugins/woocommerce/includes/wc-stock-functions in /data/web/e68211/html/wp-mietplattform/wp-content/plugins/woo-poly-integration/src/Hyyan/WPI/Product/Stock.php on line 90
The topic ‘Fatal error: Uncaught TypeError:’ is closed to new replies.