You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to use \Magento\Sales\Api\OrderItemRepositoryInterface I got an error, which makes OrderItem service contracts/apis imposible to use.
I seems Magento\Sales\Model\Resource\Order\Item should implement OrderItemResourceInterface
this is error:
Recoverable Error: Argument 1 passed to Magento\Sales\Api\Data\OrderItemInterfacePersistor::__construct() must implement interface Magento\Sales\Model\Spi\OrderItemResourceInterface, instance of Magento\Sales\Model\Resource\Order\Item given, called in /home/dpotkoc/public_html/magento2/lib/internal/Magento/Framework/ObjectManager/Factory/AbstractFactory.php on line 101 and defined in /home/dpotkoc/public_html/magento2/var/generation/Magento/Sales/Api/Data/OrderItemInterfacePersistor.php on line 60
The text was updated successfully, but these errors were encountered:
When I try to use \Magento\Sales\Api\OrderItemRepositoryInterface I got an error, which makes OrderItem service contracts/apis imposible to use.
I seems Magento\Sales\Model\Resource\Order\Item should implement OrderItemResourceInterface
this is error:
Recoverable Error: Argument 1 passed to Magento\Sales\Api\Data\OrderItemInterfacePersistor::__construct() must implement interface Magento\Sales\Model\Spi\OrderItemResourceInterface, instance of Magento\Sales\Model\Resource\Order\Item given, called in /home/dpotkoc/public_html/magento2/lib/internal/Magento/Framework/ObjectManager/Factory/AbstractFactory.php on line 101 and defined in /home/dpotkoc/public_html/magento2/var/generation/Magento/Sales/Api/Data/OrderItemInterfacePersistor.php on line 60
The text was updated successfully, but these errors were encountered: