ypeskov Posted September 11, 2020 Share Posted September 11, 2020 Hi all, I am trying to install the fresh copy of the Prestashop. But at the step "System compatibility" I am getting the next Error: Quote Fatal error: Uncaught Error: Call to undefined method InstallControllerHttpSystem::trans() in /home/projects/projects/prestashop/install-dev/theme/views/system.php:35 Stack trace: #0 /home/projects/projects/prestashop/install-dev/classes/controllerHttp.php(459): include() #1 /home/projects/projects/prestashop/install-dev/controllers/http/system.php(188): InstallControllerHttp->displayTemplate() #2 /home/projects/projects/prestashop/install-dev/classes/controllerHttp.php(267): InstallControllerHttpSystem->display() #3 /home/projects/projects/prestashop/install-dev/index.php(49): InstallControllerHttp::execute() #4 {main} thrown in /home/projects/projects/prestashop/install-dev/theme/views/system.php on line 35 Env: Ubuntu 20.04 PHP : 7.4.3 Link to comment Share on other sites More sharing options...
Janett Posted September 13, 2020 Share Posted September 13, 2020 Link to comment Share on other sites More sharing options...
Jeff A Posted September 19, 2020 Share Posted September 19, 2020 (edited) Help - I'm not really in a position to roll PHP back to an older version?? This is current Debian stable - https://packages.debian.org/stable/php-fpm - php 7.3 But maybe above answer is not correct: install_dev/install_version.php says: define('_PS_INSTALL_MINIMUM_PHP_VERSION_', '7.1.3'); define('_PS_INSTALL_MAXIMUM_PHP_VERSION_', '7.5.0'); Edited September 19, 2020 by Jeff A more detail (see edit history) Link to comment Share on other sites More sharing options...
Jeff A Posted September 19, 2020 Share Posted September 19, 2020 (edited) So I think the answer is shown in the error: Call to undefined method InstallControllerHttpSystem::trans() in PrestaShop/install-dev/theme/views/system.php:35 Everywhere in this file is a call: $this->translator->trans( - but on line 35: $this->trans and when I fix this, installation continues. Edited September 19, 2020 by Jeff A (see edit history) Link to comment Share on other sites More sharing options...
ypeskov Posted September 19, 2020 Author Share Posted September 19, 2020 Well, I was able to solve by taking the distro archive and not cloning from Git. The version from distro worked perfect. Not sure why. Link to comment Share on other sites More sharing options...
Jeff A Posted September 19, 2020 Share Posted September 19, 2020 It was new coded committed into the repo on 19 May 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