promatik Posted July 13, 2019 Share Posted July 13, 2019 I tried to upgrade from v1.7.5.2 to v1.7.6.0 and I got the following Fatal error: PHP Fatal error: Uncaught Error: Call to a member function has() on null in /home/animaisd/public_html/loja2/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php:145 Can't I just unzip the new version contents to the old one? Thank you. Link to comment Share on other sites More sharing options...
selectshop.at Posted July 13, 2019 Share Posted July 13, 2019 php version in use ? Link to comment Share on other sites More sharing options...
promatik Posted July 13, 2019 Author Share Posted July 13, 2019 PHP 7.3, the latest. Link to comment Share on other sites More sharing options...
selectshop.at Posted July 13, 2019 Share Posted July 13, 2019 You have possibility to change to another php-version on your server admin panel (cPanel, Plesk, or what else)? If yes try to change to another php 7.X version. Link to comment Share on other sites More sharing options...
promatik Posted July 13, 2019 Author Share Posted July 13, 2019 (edited) With PHP 7.1 or PHP 7.2, the error is the same. The strangest part about this, I barely changed the first installation (v1.7.5.2), I just installed some plugins and added a theme made by me. I didn't touch any PrestaShop files. Edited July 13, 2019 by promatik Added details. (see edit history) Link to comment Share on other sites More sharing options...
selectshop.at Posted July 14, 2019 Share Posted July 14, 2019 With Prestashop native's theme same problem ? Link to comment Share on other sites More sharing options...
promatik Posted July 14, 2019 Author Share Posted July 14, 2019 Yes, same problem. I also tried the 1-Click Upgrade, but I'm having "Error Unable to check md5 files", that problem seems to have years, I tried to solve that with the most voted answer, but wasn't able to. Link to comment Share on other sites More sharing options...
selectshop.at Posted July 14, 2019 Share Posted July 14, 2019 Theunable to check md5 files error is simply a permissions error. You should check the permissions for your /youradmin /themes and /modules folders. The folders and subfolders of that folders should have at least 0755 chmod and the files 0644 for the folders I wrote one line before. Link to comment Share on other sites More sharing options...
FerreireX Posted August 8, 2019 Share Posted August 8, 2019 Thanks @selectshop.at This have worked for me, I have tried just to change the file permissions on the autoupgrade module but doesn't have worked, and in this way works perfectly. Link to comment Share on other sites More sharing options...
promatik Posted August 13, 2019 Author Share Posted August 13, 2019 Great, it worked! Just a side note, you must use something like Filezilla to set the permissions recursively to all subfolders (0755) and files (0644). I first tried to do it in the CPanel file explorer, and since it doesn't do it recursively, it wasn't working. Also, don't try to set everything to 0755 (files and folders) it will break Prestashop. 1 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