Sonic_Quest Posted Thursday at 11:49 PM Share Posted Thursday at 11:49 PM (edited) PHP7.4 Update Assistant v7.4 Renamed ps_mbo – crashed update and refused to uninstall Disable all overrides – yes Disable non built-in modules – yes Tried: Uninstalled/installed theme modules Deleted var/cache prod and dev Cleared cache Manually copied theme overrides to correct Presta overrides directories. Only theme modules enabled Only theme and Presta core modules enabled Switched to Classic theme - still the same Frontend only shows header and footer with modules enabled on them stacked together with no content in-between. If I use the search, the results are loaded and looks correct but a 500 error is thrown when any product is clicked: Notice: Trying to get property 'id_category_default' of non-object in /var/www/html/......./controllers/front/ProductController.php on line 1344 Notice: Trying to get property 'name' of non-object in /var/www/html/......./controllers/front/ProductController.php on line 1364 [PrestaShopException] Invalid product vars at line 173 in file classes/Link.php Backoffice works OK but the theme's overrides module can only be enabled via uninstall/install otherwise Presta throws: The override file /var/www/html/......./modules/stoverride/override/controllers/front/AuthController.php conflicts with an existing override in /var/www/html/......./override/controllers/front/AuthController.php. The override file /var/www/html/......./modules/stoverride/override/classes/controller/FrontController.php conflicts with an existing override in /var/www/html/......./override/classes/controller/FrontController.php. The override file /var/www/html/......./modules/stoverride/override/classes/ProductAssembler.php conflicts with an existing override in /var/www/html/......./override/classes/ProductAssembler.php. The upgrade to 8.2 works and frontend works like it should when the overrides and modules options is disabled during the Upgrade Assistant wizard using an old backup. Database is on its own server but wasn’t backed up again before the upgrade. The server with Prestashop www files was backed up prior to the upgrade. Absolute cannot afford to recover using the old database backup. This seems like a Presta config issue handling the modules during the upgrade. Please help! Edited Friday at 12:09 AM by Sonic_Quest Prestashop upgrade version on title (see edit history) Link to comment Share on other sites More sharing options...
ComGrafPL Posted Sunday at 06:23 PM Share Posted Sunday at 06:23 PM Still PHP 7.4 set on 8.2? You should change it to at least PHP 8.1. Debug mode or console showing any errors? Link to comment Share on other sites More sharing options...
Sonic_Quest Posted Sunday at 07:14 PM Author Share Posted Sunday at 07:14 PM Hi, I was able to solve the issue by modifying the table entries in the database made by the failed upgrade to 8.2 by using the good/clean upgrade database from the old backup database. There were several entries that needed to be corrected or added for example: PS_DISABLE_OVERRIDES',1,' to PS_DISABLE_OVERRIDES',NULL,' Relevant `ps_module` VALUES from 0 to 1 Thanks for your reply! 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