Skip to content
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.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal error: Uncaught TypeError: during the saving of configurable product #714

Closed
smoskaluk opened this issue Mar 22, 2018 · 1 comment
Closed

Comments

@smoskaluk
Copy link

Preconditions

  1. Magento MSI
  2. New stock with new source created

Steps to reproduce

  1. Create configurable product with dropdown attribute and assign variables to default sorce
  2. Try to save configurable product

Expected result

  1. Product saved succesfully

Actual result

  1. Fatal error: Uncaught TypeError: Argument 1 passed to Magento\InventoryConfigurableProduct\Observer\ProcessSourceItemsObserver::processSourceItems() must be of the type array, string given, called in /var/www/html/magento2ce/msi6/app/code/Magento/InventoryConfigurableProduct/Observer/ProcessSourceItemsObserver.php on line 60 and defined in /var/www/html/magento2ce/msi6/app/code/Magento/InventoryConfigurableProduct/Observer/ProcessSourceItemsObserver.php:71 Stack trace: #0 /var/www/html/magento2ce/msi6/app/code/Magento/InventoryConfigurableProduct/Observer/ProcessSourceItemsObserver.php(60): Magento\InventoryConfigurableProduct\Observer\ProcessSourceItemsObserver->processSourceItems('', 'con2-red ') Order Management UI #1 /var/www/html/magento2ce/msi6/lib/internal/Magento/Framework/Event/Invoker/InvokerDefault.php(72): Magento\InventoryConfigurableProduct\Observer\ProcessSourceItemsObserver->execute(Object(Magento\Framework\Event\Observer)) Stock Management UI #2 /var/www/html/magento2ce/msi6/lib/internal/Magento/Framework/Event/Invoker/InvokerDefault.php(60): M in /var/www/html/magento2ce/msi6/app/code/Magento/InventoryConfigurableProduct/Observer/ProcessSourceItemsObserver.php on line 71
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants