Shopware\Storefront\Controller\CartLineItemController::__construct(): Argument #3 ($productLineItemFactory) must be of type Shopware\Core\Checkout\Cart\LineItemFactoryHandler\ProductLineItemFactory, Shopware\Core\Content\Product\Cart\ProductLineItemFactory given, called in /var/www/html/custom/static-plugins/GraphodataBuhvPromotions/src/Controller/CartLineItemControllerDecorator.php on line 44
Exception
TypeError
in [vendor/shopware/storefront/Controller/CartLineItemController.php ](file:///var/www/html/vendor/shopware/storefront/Controller/CartLineItemController.php#L41)(line 41)
class CartLineItemController extends StorefrontController
Yes i am facing error wheni update the shopware6.4 to 6.5.7.3 i have one external plugin and other is custom plugin when i am adding the items in card then it showes me this error
Shopware\Storefront\Controller\CartLineItemController::__construct(): Argument #3 ($productLineItemFactory) must be of type Shopware\Core\Checkout\Cart\LineItemFactoryHandler\ProductLineItemFactory, Shopware\Core\Content\Product\Cart\ProductLineItemFactory given, called in /var/www/html/custom/static-plugins/GraphodataBuhvPromotions/src/Controller/CartLineItemControllerDecorator.php on line 44
i had the 6.4 version now i updated it into 6.5.7.3 and facing error in custom plugin GraphodataBuhvPromotions
can you help me how i can solve the error any recommendations i am new in shopware6 developemnt
i have one external plugin and other is custom plugin here is details
these two plugin adding promotional code into card but i am facing error with this file name is CartLineItemControllerDecorator.php