Jump to content

An unexpected error occurred. [PrestaShop\PrestaShop\Core\Domain\Category\Exception\CategoryConstraintException code 6]


tiagoDias

Recommended Posts

Yesterday as I was updating the menu for my store out of nothing I start by not seeing the category tree on the module Initially i was thinking that was related to the module it self but after investigating I realised that I cant event create a category anymore keep seeing the same error:   An unexpected error occurred. [PrestaShop\PrestaShop\Core\Domain\Category\Exception\CategoryConstraintException code 6]

Been hours on this and cant figure out how to solve it does anyone has any Idea? Please help. 

 

Found a few other similar issues but I was not able to fix any thing following them: 

 

 

793132287_Screenshot2022-01-02at04_14_31.png.6e9e627a0db9138a143053cd3ee3d7b1.png

 

Edited by tiagoDias (see edit history)
Link to comment
Share on other sites

  On 1/2/2022 at 4:20 PM, tiagoDias said:

Yesterday as I was updating the menu for my store out of nothing I start by not seeing the category tree on the module Initially i was thinking that was related to the module it self but after investigating I realised that I cant event create a category anymore keep seeing the same error:   An unexpected error occurred. [PrestaShop\PrestaShop\Core\Domain\Category\Exception\CategoryConstraintException code 6]

Been hours on this and cant figure out how to solve it does anyone has any Idea? Please help. 

793132287_Screenshot2022-01-02at04_14_31.png.6e9e627a0db9138a143053cd3ee3d7b1.png

 

Expand  

BUMP this 

Link to comment
Share on other sites

  On 1/2/2022 at 9:05 PM, tiagoDias said:

Any Idea how to fix that? 

Expand  

if it were my shop I would have a complete back up in the prior version ready.

I don't know what you have nor what you have done. 

You can try by renaming the module you updated. Than reinstall the module. Have a back up before you do it, files and database.

Edited by Nickz (see edit history)
  • Thanks 1
Link to comment
Share on other sites

  On 1/2/2022 at 9:17 PM, Nickz said:

if it were my shop I would have a complete back up in the prior version ready.

I don't know what you have nor what you have done. 

You can try by renaming the module you updated. Than reinstall the module. Have a back up before you do it, files and database.

Expand  

thank you so much, this help me a lot been hours around and didn't pass on my mind to restore DB backup. 

 

I have done it now and solved the problem. thank you again for your help. 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...