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
Fatal Error: 'Uncaught Error: Call to a member function getSku() on array in Magento/InventorySourceSelection/Model/Algorithms/PriorityBasedAlgorithm.php:84
#1377
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Run api-functional test app/code/Magento/InventorySourceSelectionApi/Test/Api/SourceSelectionServiceTest
Expected result
TESTS_WEB_API_ADAPTER is defined or other reason
Actual result
Server internal error.
"Fatal Error: 'Uncaught Error: Call to a member function getSku() on array in \/var\/www\/html\/msi\/app\/code\/Magento\/InventorySourceSelection\/Model\/Algorithms\/PriorityBasedAlgorithm.php:84
Stack trace:
#0 \/var\/www\/html\/msi\/app\/code\/Magento\/InventorySourceSelection\/Model\/SourceSelectionService.php(62): Magento\\InventorySourceSelection\\Model\\Algorithms\\PriorityBasedAlgorithm->execute(Object(Magento\\InventorySourceSelection\\Model\\Request\\InventoryRequest))
#1 [internal function]: Magento\\InventorySourceSelection\\Model\\SourceSelectionService->execute(Object(Magento\\InventorySourceSelection\\Model\\Request\\InventoryRequest), 'priority')
#2 \/var\/www\/html\/msi\/app\/code\/Magento\/Webapi\/Controller\/Rest\/SynchronousRequestProcessor.php(95): call_user_func_array(Array, Array)
#3 \/var\/www\/html\/msi\/app\/code\/Magento\/Webapi\/Controller\/Rest.php(188): Magento\\Webapi\\Controller\\Rest\\SynchronousRequestProcessor->process(Object(Magento\\Framework\\Webapi\\Rest\\Request\\Proxy))
#4 \/var\/www\/html\/msi\/lib\/internal\/Magento\/Framework\/Interception\/Interceptor.php' in '\/var\/www\/html\/msi\/app\/code\/Magento\/InventorySourceSelection\/Model\/Algorithms\/PriorityBasedAlgorithm.php' on line 84"
The text was updated successfully, but these errors were encountered:
Preconditions
Steps to reproduce
Expected result
Actual result
The text was updated successfully, but these errors were encountered: