tomas822 Posted March 17, 2021 Share Posted March 17, 2021 Hi , I have problem with connect api. My logs server errors: 08-Mar-2021 15:12:26 Poland] PHP Fatal error: Uncaught PrestaShopException: Parent category does not exist in /home/ltomasz/domains/twojzwierzyniec.pl/public_html/classes/Category.php:397 Stack trace: #0 /home/ltomasz/domains/twojzwierzyniec.pl/public_html/classes/Category.php(196): CategoryCore->calcLevelDepth() #1 /home/ltomasz/domains/twojzwierzyniec.pl/public_html/classes/webservice/WebserviceRequest.php(1486): CategoryCore->update() #2 /home/ltomasz/domains/twojzwierzyniec.pl/public_html/classes/webservice/WebserviceRequest.php(1306): WebserviceRequestCore->saveEntityFromXml(200) #3 /home/ltomasz/domains/twojzwierzyniec.pl/public_html/classes/webservice/WebserviceRequest.php(524): WebserviceRequestCore->executeEntityPut() #4 /home/ltomasz/domains/twojzwierzyniec.pl/public_html/webservice/dispatcher.php(87): WebserviceRequestCore->fetch(...', 'PUT', 'categories/3', Array, false, 'calcLevelDepth() #1 /home/ltomasz/domains/twojzwierzyniec.pl/public_html/classes/webservice/WebserviceRequest.php(1486): CategoryCore->update() #2 What is problem and how to solve it? Łukasz Link to comment Share on other sites More sharing options...
Nickz Posted March 17, 2021 Share Posted March 17, 2021 Have you seen this> https://github.com/PrestaShop/PrestaShop/issues/12998 Link to comment Share on other sites More sharing options...
tomas822 Posted March 18, 2021 Author Share Posted March 18, 2021 Hi, I upgrade my prestashop 1.3 to 1.6 (1.3 to 1.4, 1.4 to 1.5 ...) with 1-Click Upgrade . My datebase phpMyadmin in table ps_category is bad (i dont now)? Root category id parent 138??? I dont now what happened. The bug is old and before that ,it was not a problem. The store is operational and I can create categories ,but I have a problem with the external software that adds products to the category. Łukasz Link to comment Share on other sites More sharing options...
Nickz Posted March 20, 2021 Share Posted March 20, 2021 (edited) On 3/18/2021 at 9:20 AM, mariedaniels said: What's this? it is an explanation about a similar issue treated there. Edited March 20, 2021 by Nickz (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now