- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have a Magento 2.3.3 install that I just migrated from 1.9
Everything works fine except when I try to add a product to the Cart I get this message and the product doesn't get added.
No error or exceptions in the logs, just this message displayed in the UI. Any hints on how to resolve this? Thank you in advance.
No such entity with groupId = , storeId = 1
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No it wasn't nothing like that!
I found the solution, hope this helps someone else in the future.
The problem was within the core_config_data table.
The entry with the path 'customer/create_account/default_group' had a null/empty value.
I've set it to 0 and everything is working normally now and I can finally add to cart too.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Magento 2.3.3 - No such entity with groupId = , storeId = 1
Hello @developerzb ,
After the migration :
Did you follow below steps:
php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento indexer:reindex php bin/magento cache:flush php bin/magento setup:static-content:deploy -f chmod -R 777 var/ pub/ generated/
If you have already run above command, then check your attribute sets in admin area. Also add a new product from admin area. I think, attribute grouped missed in tables, when migrate the database.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Magento 2.3.3 - No such entity with groupId = , storeId = 1
Did you try this solution?
https://magento.stackexchange.com/questions/102739/magento-2-moving-site-no-such-entity
200+ Premium Magento 2 Extensions Need help? Hire Magento Developer
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Magento 2.3.3 - No such entity with groupId = , storeId = 1
Yes, I already tried that.
I'm checking all the attribute sets now. I have 2 attribute sets:
Default_Migration (which has all the attributes from 1.9 and all the products use this one)
Default (No products are using this)
So far I haven't found anything unusual or bad in the database tables. I'm still trying to find out.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Magento 2.3.3 - No such entity with groupId = , storeId = 1
Hello @developerzb ,
_Migration : Added suffix value with all attribute set, when migrating the data through migration tool.
If possible, please share the your site credential, i can assist you.
My Skype Id : binod_2k2003@yahoo.com
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No it wasn't nothing like that!
I found the solution, hope this helps someone else in the future.
The problem was within the core_config_data table.
The entry with the path 'customer/create_account/default_group' had a null/empty value.
I've set it to 0 and everything is working normally now and I can finally add to cart too.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Magento 2.3.3 - No such entity with groupId = , storeId = 1
Anybody meet this error, please check Default Group configuration in:
Stores > Configuration > Customers > Customer Configuration > Create New Account Options > Default Group.
Note: this will set the default customer's group for new customers.
Please set default group for this, because, missing this configuration value, will throw an error in:
\Magento\Customer\Model\GroupManagement::getDefaultGroup()
That's in my case. Hope this helps.