tomas822 Posted March 15, 2021 Share Posted March 15, 2021 Witam, Mam problem z połączeniem api. Logi z serwera 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 Gdzie szukać problemu? Pozdrawiam Łukasz Link to comment Share on other sites More sharing options...
0 krzysiek_web Posted March 16, 2021 Share Posted March 16, 2021 Problemem jest usunięta domyślna/rodzić kategoria. Link to comment Share on other sites More sharing options...
0 tomas822 Posted March 16, 2021 Author Share Posted March 16, 2021 Cześć, Tylko jak do tego mogło dojść. Struktura jest zachowana. Jest katalog główny i do niego kategorie oraz podkategorie. Sklep aktualizowany od prestashop 1.3 do 1.6. Nie za bardzo wiem jak się za to zabrać? Pozdro Łukasz Link to comment Share on other sites More sharing options...
Question
tomas822
Witam,
Mam problem z połączeniem api. Logi z serwera
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
Gdzie szukać problemu?
Pozdrawiam
Łukasz
Link to comment
Share on other sites
2 answers to this question
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