Magento 2 - Can't go to Category page from admin panel [on hold]Admin Category Insert Thumbnail field has disappearedMagento 2 - Retrieve categoriesMagento can't get level 3 categoriesCategory Sorting Product list: How to take off position from attributes?How tell if root category exists or is defined via database in Magento 2?Magento 2 admin catalog category page isn't redirecting properlyNo such entity with id = 0 for CategoryRepositoryMagento 2 Subcategory is showing root category descriptionHow to prevent autogenerated category and product rewrite urlsMagento 2, category disappeared on “Catalog > Category” tree, does show everywhere else

Madden-Julian Oscillation (MJO) - How to interpret the index?

Is it possible to create a QR code using text?

How do I handle a potential work/personal life conflict as the manager of one of my friends?

If human space travel is limited by the G force vulnerability, is there a way to counter G forces?

Is it logically or scientifically possible to artificially send energy to the body?

Cursor Replacement for Newbies

Plagiarism or not?

Ambiguity in the definition of entropy

Mathematica command that allows it to read my intentions

Is it inappropriate for a student to attend their mentor's dissertation defense?

Would Slavery Reparations be considered Bills of Attainder and hence Illegal?

Assassin's bullet with mercury

Why no variance term in Bayesian logistic regression?

What is the idiomatic way to say "clothing fits"?

Why can't we play rap on piano?

How to show a landlord what we have in savings?

Should I cover my bicycle overnight while bikepacking?

One verb to replace 'be a member of' a club

What killed these X2 caps?

GFCI outlets - can they be repaired? Are they really needed at the end of a circuit?

Forgetting the musical notes while performing in concert

Detention in 1997

Personal Teleportation: From Rags to Riches

How can I deal with my CEO asking me to hire someone with a higher salary than me, a co-founder?



Magento 2 - Can't go to Category page from admin panel [on hold]


Admin Category Insert Thumbnail field has disappearedMagento 2 - Retrieve categoriesMagento can't get level 3 categoriesCategory Sorting Product list: How to take off position from attributes?How tell if root category exists or is defined via database in Magento 2?Magento 2 admin catalog category page isn't redirecting properlyNo such entity with id = 0 for CategoryRepositoryMagento 2 Subcategory is showing root category descriptionHow to prevent autogenerated category and product rewrite urlsMagento 2, category disappeared on “Catalog > Category” tree, does show everywhere else













3















so I have a few problems that I want to solve but I can't and I tried everything!




  1. I don't have any root category and I can't create via PHP file don't know why

  2. I can't go to admin>products>categories, it gives me a to many redirects error



Yesterday I had a Root Category...



So I'm scared because I probably deleted the category from the database and now I don't know what to do.



enter image description here










share|improve this question















put on hold as off-topic by Marius 2 days ago


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "Questions describing a problem that can't be reproduced OR seemingly went away on its own (or went away when a typo was fixed) are off-topic as they are unlikely to help future readers." – Marius
If this question can be reworded to fit the rules in the help center, please edit the question.
















  • You have to enable magento log and check what happen

    – Amit Bera
    Sep 14 '18 at 11:04











  • Is it a clean install of magento 2 ?

    – Sourabh Kumar Sharma
    Sep 14 '18 at 11:04











  • @SourabhKumarSharma yes

    – user6505433
    Sep 14 '18 at 11:10











  • @AmitBera how do I enable that ?

    – user6505433
    Sep 14 '18 at 11:11











  • @SourabhKumarSharma i added a print

    – user6505433
    Sep 14 '18 at 11:13
















3















so I have a few problems that I want to solve but I can't and I tried everything!




  1. I don't have any root category and I can't create via PHP file don't know why

  2. I can't go to admin>products>categories, it gives me a to many redirects error



Yesterday I had a Root Category...



So I'm scared because I probably deleted the category from the database and now I don't know what to do.



enter image description here










share|improve this question















put on hold as off-topic by Marius 2 days ago


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "Questions describing a problem that can't be reproduced OR seemingly went away on its own (or went away when a typo was fixed) are off-topic as they are unlikely to help future readers." – Marius
If this question can be reworded to fit the rules in the help center, please edit the question.
















  • You have to enable magento log and check what happen

    – Amit Bera
    Sep 14 '18 at 11:04











  • Is it a clean install of magento 2 ?

    – Sourabh Kumar Sharma
    Sep 14 '18 at 11:04











  • @SourabhKumarSharma yes

    – user6505433
    Sep 14 '18 at 11:10











  • @AmitBera how do I enable that ?

    – user6505433
    Sep 14 '18 at 11:11











  • @SourabhKumarSharma i added a print

    – user6505433
    Sep 14 '18 at 11:13














3












3








3








so I have a few problems that I want to solve but I can't and I tried everything!




  1. I don't have any root category and I can't create via PHP file don't know why

  2. I can't go to admin>products>categories, it gives me a to many redirects error



Yesterday I had a Root Category...



So I'm scared because I probably deleted the category from the database and now I don't know what to do.



enter image description here










share|improve this question
















so I have a few problems that I want to solve but I can't and I tried everything!




  1. I don't have any root category and I can't create via PHP file don't know why

  2. I can't go to admin>products>categories, it gives me a to many redirects error



Yesterday I had a Root Category...



So I'm scared because I probably deleted the category from the database and now I don't know what to do.



enter image description here







magento2 category






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 2 days ago









ABHISHEK TRIPATHI

2,0611728




2,0611728










asked Sep 14 '18 at 11:03









user6505433user6505433

557




557




put on hold as off-topic by Marius 2 days ago


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "Questions describing a problem that can't be reproduced OR seemingly went away on its own (or went away when a typo was fixed) are off-topic as they are unlikely to help future readers." – Marius
If this question can be reworded to fit the rules in the help center, please edit the question.







put on hold as off-topic by Marius 2 days ago


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "Questions describing a problem that can't be reproduced OR seemingly went away on its own (or went away when a typo was fixed) are off-topic as they are unlikely to help future readers." – Marius
If this question can be reworded to fit the rules in the help center, please edit the question.












  • You have to enable magento log and check what happen

    – Amit Bera
    Sep 14 '18 at 11:04











  • Is it a clean install of magento 2 ?

    – Sourabh Kumar Sharma
    Sep 14 '18 at 11:04











  • @SourabhKumarSharma yes

    – user6505433
    Sep 14 '18 at 11:10











  • @AmitBera how do I enable that ?

    – user6505433
    Sep 14 '18 at 11:11











  • @SourabhKumarSharma i added a print

    – user6505433
    Sep 14 '18 at 11:13


















  • You have to enable magento log and check what happen

    – Amit Bera
    Sep 14 '18 at 11:04











  • Is it a clean install of magento 2 ?

    – Sourabh Kumar Sharma
    Sep 14 '18 at 11:04











  • @SourabhKumarSharma yes

    – user6505433
    Sep 14 '18 at 11:10











  • @AmitBera how do I enable that ?

    – user6505433
    Sep 14 '18 at 11:11











  • @SourabhKumarSharma i added a print

    – user6505433
    Sep 14 '18 at 11:13

















You have to enable magento log and check what happen

– Amit Bera
Sep 14 '18 at 11:04





You have to enable magento log and check what happen

– Amit Bera
Sep 14 '18 at 11:04













Is it a clean install of magento 2 ?

– Sourabh Kumar Sharma
Sep 14 '18 at 11:04





Is it a clean install of magento 2 ?

– Sourabh Kumar Sharma
Sep 14 '18 at 11:04













@SourabhKumarSharma yes

– user6505433
Sep 14 '18 at 11:10





@SourabhKumarSharma yes

– user6505433
Sep 14 '18 at 11:10













@AmitBera how do I enable that ?

– user6505433
Sep 14 '18 at 11:11





@AmitBera how do I enable that ?

– user6505433
Sep 14 '18 at 11:11













@SourabhKumarSharma i added a print

– user6505433
Sep 14 '18 at 11:13






@SourabhKumarSharma i added a print

– user6505433
Sep 14 '18 at 11:13











2 Answers
2






active

oldest

votes


















2














since you have deleted the root category i can suggest you a solution. The solution is that create another category at the parent level and then go to Stores > Settings > All Stores select your store from the grid and the form will open , in that select your new category as the root category. If you had sub categories assigned in the root category, drag those categories into this new root category.



From your question what i can assume is that you are saying that root category was deleted automatically, for that you will have to debug the reason because again there are chances that this new root category also can get deleted.






share|improve this answer























  • How do I create another category at parent level ?

    – user6505433
    Sep 14 '18 at 11:33











  • Yes, because you have already lost the existing root category.

    – Sourabh Kumar Sharma
    Sep 14 '18 at 11:33











  • I´m asking how do I do that if i can´t go to the categories page

    – user6505433
    Sep 14 '18 at 11:36











  • Have you deleted anything from the code or installed some third party module ?

    – Sourabh Kumar Sharma
    Sep 14 '18 at 11:38











  • If you haven't installed any third party module and have not deleted anything from core code of magento 2, then i will just you to run the below commands: php bin/magento cache:clean php bin/magento setup:upgrade php bin/magento setup:static-content:deploy

    – Sourabh Kumar Sharma
    Sep 14 '18 at 11:39



















0














I already solved it !



So I had a database backup !



And I compared some tables and I probably made the mistake to delete some data.



Thanks for your time you all !






share|improve this answer





























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    2














    since you have deleted the root category i can suggest you a solution. The solution is that create another category at the parent level and then go to Stores > Settings > All Stores select your store from the grid and the form will open , in that select your new category as the root category. If you had sub categories assigned in the root category, drag those categories into this new root category.



    From your question what i can assume is that you are saying that root category was deleted automatically, for that you will have to debug the reason because again there are chances that this new root category also can get deleted.






    share|improve this answer























    • How do I create another category at parent level ?

      – user6505433
      Sep 14 '18 at 11:33











    • Yes, because you have already lost the existing root category.

      – Sourabh Kumar Sharma
      Sep 14 '18 at 11:33











    • I´m asking how do I do that if i can´t go to the categories page

      – user6505433
      Sep 14 '18 at 11:36











    • Have you deleted anything from the code or installed some third party module ?

      – Sourabh Kumar Sharma
      Sep 14 '18 at 11:38











    • If you haven't installed any third party module and have not deleted anything from core code of magento 2, then i will just you to run the below commands: php bin/magento cache:clean php bin/magento setup:upgrade php bin/magento setup:static-content:deploy

      – Sourabh Kumar Sharma
      Sep 14 '18 at 11:39
















    2














    since you have deleted the root category i can suggest you a solution. The solution is that create another category at the parent level and then go to Stores > Settings > All Stores select your store from the grid and the form will open , in that select your new category as the root category. If you had sub categories assigned in the root category, drag those categories into this new root category.



    From your question what i can assume is that you are saying that root category was deleted automatically, for that you will have to debug the reason because again there are chances that this new root category also can get deleted.






    share|improve this answer























    • How do I create another category at parent level ?

      – user6505433
      Sep 14 '18 at 11:33











    • Yes, because you have already lost the existing root category.

      – Sourabh Kumar Sharma
      Sep 14 '18 at 11:33











    • I´m asking how do I do that if i can´t go to the categories page

      – user6505433
      Sep 14 '18 at 11:36











    • Have you deleted anything from the code or installed some third party module ?

      – Sourabh Kumar Sharma
      Sep 14 '18 at 11:38











    • If you haven't installed any third party module and have not deleted anything from core code of magento 2, then i will just you to run the below commands: php bin/magento cache:clean php bin/magento setup:upgrade php bin/magento setup:static-content:deploy

      – Sourabh Kumar Sharma
      Sep 14 '18 at 11:39














    2












    2








    2







    since you have deleted the root category i can suggest you a solution. The solution is that create another category at the parent level and then go to Stores > Settings > All Stores select your store from the grid and the form will open , in that select your new category as the root category. If you had sub categories assigned in the root category, drag those categories into this new root category.



    From your question what i can assume is that you are saying that root category was deleted automatically, for that you will have to debug the reason because again there are chances that this new root category also can get deleted.






    share|improve this answer













    since you have deleted the root category i can suggest you a solution. The solution is that create another category at the parent level and then go to Stores > Settings > All Stores select your store from the grid and the form will open , in that select your new category as the root category. If you had sub categories assigned in the root category, drag those categories into this new root category.



    From your question what i can assume is that you are saying that root category was deleted automatically, for that you will have to debug the reason because again there are chances that this new root category also can get deleted.







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Sep 14 '18 at 11:16









    Sourabh Kumar SharmaSourabh Kumar Sharma

    671316




    671316












    • How do I create another category at parent level ?

      – user6505433
      Sep 14 '18 at 11:33











    • Yes, because you have already lost the existing root category.

      – Sourabh Kumar Sharma
      Sep 14 '18 at 11:33











    • I´m asking how do I do that if i can´t go to the categories page

      – user6505433
      Sep 14 '18 at 11:36











    • Have you deleted anything from the code or installed some third party module ?

      – Sourabh Kumar Sharma
      Sep 14 '18 at 11:38











    • If you haven't installed any third party module and have not deleted anything from core code of magento 2, then i will just you to run the below commands: php bin/magento cache:clean php bin/magento setup:upgrade php bin/magento setup:static-content:deploy

      – Sourabh Kumar Sharma
      Sep 14 '18 at 11:39


















    • How do I create another category at parent level ?

      – user6505433
      Sep 14 '18 at 11:33











    • Yes, because you have already lost the existing root category.

      – Sourabh Kumar Sharma
      Sep 14 '18 at 11:33











    • I´m asking how do I do that if i can´t go to the categories page

      – user6505433
      Sep 14 '18 at 11:36











    • Have you deleted anything from the code or installed some third party module ?

      – Sourabh Kumar Sharma
      Sep 14 '18 at 11:38











    • If you haven't installed any third party module and have not deleted anything from core code of magento 2, then i will just you to run the below commands: php bin/magento cache:clean php bin/magento setup:upgrade php bin/magento setup:static-content:deploy

      – Sourabh Kumar Sharma
      Sep 14 '18 at 11:39

















    How do I create another category at parent level ?

    – user6505433
    Sep 14 '18 at 11:33





    How do I create another category at parent level ?

    – user6505433
    Sep 14 '18 at 11:33













    Yes, because you have already lost the existing root category.

    – Sourabh Kumar Sharma
    Sep 14 '18 at 11:33





    Yes, because you have already lost the existing root category.

    – Sourabh Kumar Sharma
    Sep 14 '18 at 11:33













    I´m asking how do I do that if i can´t go to the categories page

    – user6505433
    Sep 14 '18 at 11:36





    I´m asking how do I do that if i can´t go to the categories page

    – user6505433
    Sep 14 '18 at 11:36













    Have you deleted anything from the code or installed some third party module ?

    – Sourabh Kumar Sharma
    Sep 14 '18 at 11:38





    Have you deleted anything from the code or installed some third party module ?

    – Sourabh Kumar Sharma
    Sep 14 '18 at 11:38













    If you haven't installed any third party module and have not deleted anything from core code of magento 2, then i will just you to run the below commands: php bin/magento cache:clean php bin/magento setup:upgrade php bin/magento setup:static-content:deploy

    – Sourabh Kumar Sharma
    Sep 14 '18 at 11:39






    If you haven't installed any third party module and have not deleted anything from core code of magento 2, then i will just you to run the below commands: php bin/magento cache:clean php bin/magento setup:upgrade php bin/magento setup:static-content:deploy

    – Sourabh Kumar Sharma
    Sep 14 '18 at 11:39














    0














    I already solved it !



    So I had a database backup !



    And I compared some tables and I probably made the mistake to delete some data.



    Thanks for your time you all !






    share|improve this answer



























      0














      I already solved it !



      So I had a database backup !



      And I compared some tables and I probably made the mistake to delete some data.



      Thanks for your time you all !






      share|improve this answer

























        0












        0








        0







        I already solved it !



        So I had a database backup !



        And I compared some tables and I probably made the mistake to delete some data.



        Thanks for your time you all !






        share|improve this answer













        I already solved it !



        So I had a database backup !



        And I compared some tables and I probably made the mistake to delete some data.



        Thanks for your time you all !







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Sep 14 '18 at 12:03









        user6505433user6505433

        557




        557













            Popular posts from this blog

            Bulk add to cart function issuecart vs. mini cart issue … rwd themeRedirect Add to cart button to cart pageAdd to cart issue - Magento 2.1The requested Payment Method is not available When creating an orderM2: reason add-to-cart might not function in production modeAdd to cart issue in some android devicesMagento 2 - custom price can not add to subtotal and grand total after add to cartAdd to cart codeIssue with my cart module on pdp and cart pages, just keeps spinningBulk price and quantity update using rest api

            БиармияSxpst500bh2ntaf! 3h2r