Jump to content

Api connect problem


tomas822

Recommended Posts

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

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

bład php.png

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...