cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 2.3.3 - No such entity with groupId = , storeId = 1

SOLVED

Magento 2.3.3 - No such entity with groupId = , storeId = 1

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

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Magento 2.3.3 - No such entity with groupId = , storeId = 1

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.

View solution in original post

6 REPLIES 6

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.

If my answer is useful, please Accept as Solution & give Kudos

Re: Magento 2.3.3 - No such entity with groupId = , storeId = 1

Hello

Did you try this solution?
https://magento.stackexchange.com/questions/102739/magento-2-moving-site-no-such-entity
Was my answer helpful? You can accept it as a solution.
150+ professional extensions for M1 & M2 with free lifetime updates!

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.

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

If my answer is useful, please Accept as Solution & give Kudos

Re: Magento 2.3.3 - No such entity with groupId = , storeId = 1

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.

View solution in original post

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.