-
Notifications
You must be signed in to change notification settings - Fork 170
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
[5.x]: Multi-Store Inventory not loading #3696
Comments
Hi, could you expand on "The screen just sits there with the spinning loading icon." which screen is that? Could you send your DB backup, composer.json and composer.lock to [email protected] and reference this issue please? Include the steps to reproduce. We can then take a look at trying to reproduce what is causing the issue. Thanks |
The main Commerce: Inventory screen. I will ask my client about sending the DB, but they have not allowed that in the past. |
No worries, can you run the |
I ran the gc command without issue, but when I tried "ddev craft resave/products" it told me that "No products exist for that criteria" (resaving entries worked just fine, though?). That's all a bit strange, though, because the same command works okay on a brand-new Craft/Commerce-only site I just set up to test this issue for incompatible plugins. I still get the spinning wheel on the project site, and with the resave command not working I can't see if that fixes things. I can also report that the inventory screen loads okay on that new Craft/Commerce-only site I just set up. But the inventory transfer is still giving the error. Just to make sure I read the docs correctly: I set up the transfer, then tried to set the transfer to 'pending'. And that's when the TypeError I reported above kicks in. |
same problem here. when going in cp commerce->products site hangs, I have to restart ddev. I ran craft resave/products, makes about 1 product per half an hour... |
@idleog did you send your db to [email protected] and reference this ticket? |
I did via wetransfer, but maybe without reference to this ticket. I am resending now again via wetarnsfer a dump with not all products (but still products with variants, causing problems) |
What happened?
Inventory seemed to be working okay when I had just one store, but stopped working when I added a second store. The screen just sits there with the spinning loading icon.
I also tried an inventory transfer and got an error:
TypeError
craft\commerce\collections\UpdateInventoryLevelCollection::craft\commerce\collections{closure}(): Argument #1 ($updateInventoryLevel) must be of type craft\commerce\models\inventory\UpdateInventoryLevel, craft\commerce\models\inventory\UpdateInventoryLevelInTransfer given
Craft CMS version
Pro 5.4.6
Craft Commerce version
Pro 5.1.2
PHP version
No response
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions
The text was updated successfully, but these errors were encountered: