Jump to content

Recommended Posts

Hi everyone,

I have tried to update a prestashop from 1.7.2 to 1.7.8 4 times.

 

The first and the second time I did it using the module 1 click update and I had this error:

Failed to start the session because headers have already been sent by "/homepages/16/d868063837/htdocs/public_html/website/override/classes/Link.php" at line 245.

I have checked that document and I see it is related to a module named ps it clean urls, I deactivated, activated it again and also reseted it.

 

The third and fourth time I did update it manually and I had this error:

Error reading XML: root element not found. Ubication: mywebsite.com/install/upgrade/upgrade.php on line 221

(1/1) ContextErrorException

Notice: Trying to get property 'id_category_default' of non-object

in ProductController.php line 1245

at ProductControllerCore->getBreadcrumbLinks()in FrontController.php line 1736

at FrontControllerCore->getBreadcrumb()in FrontController.php line 533

at FrontControllerCore->assignGeneralPurposeVariables()in FrontController.php line 590

at FrontControllerCore->initContent()in ProductController.php line 417

at ProductControllerCore->initContent()in Controller.php line 306

at ControllerCore->run()in Dispatcher.php line 525

at DispatcherCore->dispatch()in index.php line 28

 

Php version is 7.4.

 

I would really appreciate any clue or any recommendation to solve any of these situations.

 

Thanks for reading and regards

Link to comment
Share on other sites

19 hours ago, tga21 said:

/override/classes/Link.php

There is an override installed that might persists even when the module is deavtivated. Rename this file to _old and try again with 1-click.upgrade, it's the safest method

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