Jump to content

SOLVED Help needed: 1-Click Upgrade successful, but shop is blank


Recommended Posts

My 1-Click Upgrade was successful, but my shop was blank, so I tried to turn on error-reporting and now it shows this and I don't really know what to do  :blush:

 

Notice: Trying to get property of non-object in /var/www/web27/web/classes/controller/FrontController.php on line 149

Strict Standards: Creating default object from empty value in /var/www/web27/web/classes/controller/FrontController.php on line 155

Notice: Undefined property: stdClass::$cookie in /var/www/web27/web/classes/controller/FrontController.php on line 171

Notice: Trying to get property of non-object in /var/www/web27/web/classes/Tools.php on line 425

Strict Standards: Creating default object from empty value in /var/www/web27/web/classes/Tools.php on line 444

Notice: Undefined property: stdClass::$customer in /var/www/web27/web/classes/controller/FrontController.php on line 173

Notice: Trying to get property of non-object in /var/www/web27/web/classes/controller/FrontController.php on line 173

Notice: Undefined property: stdClass::$cookie in /var/www/web27/web/classes/controller/FrontController.php on line 186

Notice: Trying to get property of non-object in /var/www/web27/web/classes/controller/FrontController.php on line 186

Notice: Undefined property: stdClass::$cookie in /var/www/web27/web/classes/controller/FrontController.php on line 233

Notice: Trying to get property of non-object in /var/www/web27/web/classes/controller/FrontController.php on line 233

Notice: Undefined property: stdClass::$cookie in /var/www/web27/web/classes/controller/FrontController.php on line 234

Notice: Trying to get property of non-object in /var/www/web27/web/classes/controller/FrontController.php on line 234

Notice: Undefined property: stdClass::$cookie in /var/www/web27/web/classes/controller/FrontController.php on line 235

Notice: Trying to get property of non-object in /var/www/web27/web/classes/controller/FrontController.php on line 235

Notice: Undefined property: stdClass::$shop in /var/www/web27/web/classes/controller/FrontController.php on line 236

Notice: Trying to get property of non-object in /var/www/web27/web/classes/controller/FrontController.php on line 236

Notice: Undefined property: stdClass::$shop in /var/www/web27/web/classes/controller/FrontController.php on line 237

Notice: Trying to get property of non-object in /var/www/web27/web/classes/controller/FrontController.php on line 237

Notice: Undefined property: stdClass::$cookie in /var/www/web27/web/classes/controller/FrontController.php on line 238

Notice: Trying to get property of non-object in /var/www/web27/web/classes/controller/FrontController.php on line 238

Catchable fatal error: Argument 1 passed to CartRuleCore::autoAddToCart() must be an instance of Context, instance of stdClass given, called in /var/www/web27/web/classes/controller/FrontController.php on line 252 and defined in /var/www/web27/web/classes/CartRule.php on line 1077

Edited by Chi-VIP (see edit history)
Link to comment
Share on other sites

  • 8 months later...

In my case the problem was originated in the override folder. 

 

I had a folder in my old prestashop version (1.4) called "hide". Here i had some override files that when i needed i moved to "override/classes". But it seems that prestashop 1.6 search for all files inside override folder, without taking consideration of where or in what subfolder the override file is in origin, so it overrides and can cause a lot of errors.

 

Solution: Move away anyfile you don´t need from the folder "override" and it subfolders.

Edited by Prescol (see edit history)
Link to comment
Share on other sites

Or disable overrides and non-PS modules when you do the autoupgrade.  This way Prestashop will not even attempt to load them.  Then after the upgrade is complete, and you have tested the CORE functionality of Prestashop, then you can enable overrides and non-PS modules and decide is they require updates themselves.

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