Daffuzz Posted July 13, 2018 Share Posted July 13, 2018 Hello! Maybe someone can explain how to upgrade prestashop from 1.7.3.2 to 1.7.4.0, without errors, I try with autoupgrade V3.0.5 and all page has error Link to comment Share on other sites More sharing options...
masterblaster Posted July 14, 2018 Share Posted July 14, 2018 Hello, try using the latest beta version of the autoupgrade module available here Link to comment Share on other sites More sharing options...
Kosmos Posted July 16, 2018 Share Posted July 16, 2018 On 7/14/2018 at 4:52 AM, gennolo said: Hello, try using the latest beta version of the autoupgrade module available here Unfortunately, this beta plugin can't be installed. Oops... Upload failed. Server responded with 500 code. PHP Parse error: syntax error, unexpected 'class' (T_CLASS), expecting identifier (T_STRING) or variable (T_VARIABLE) or '{' or '$' in /var/www/html/prestashop/modules/autoupgrade/classes/UpgradeTools/Translator.php on line 41, referer: https://xxxxxx.com/adminxxxxxxxxx/index.php/module/catalog?_token=xxxxxxxxxxxxxxx PHP Parse error: syntax error, unexpected 'class' (T_CLASS), expecting identifier (T_STRING) or variable (T_VARIABLE) or '{' or '$' in /var/www/html/prestashop/modules/autoupgrade/vendor/symfony/yaml/Parser.php on line 42, referer: https://xxxxxxx.com/adminxxxxxx/index.php/module/catalog?_token=xxxxxxxxxxxx Link to comment Share on other sites More sharing options...
ksaan Posted July 18, 2018 Share Posted July 18, 2018 What is your php version ? It looks like an error that happen when php version is old Link to comment Share on other sites More sharing options...
Kosmos Posted July 18, 2018 Share Posted July 18, 2018 I have php-5.4.16, which comes with CentOS7. Link to comment Share on other sites More sharing options...
Daffuzz Posted July 20, 2018 Author Share Posted July 20, 2018 my presta PHP version: 5.4.45 Link to comment Share on other sites More sharing options...
ksaan Posted July 20, 2018 Share Posted July 20, 2018 You need a php version at least higher than 5.5 . The error you see is because it uses a feature of php that was added for php 5.5https://laracasts.com/discuss/channels/laravel/laravel-51-what-is-class Link to comment Share on other sites More sharing options...
Daffuzz Posted July 24, 2018 Author Share Posted July 24, 2018 On 7/20/2018 at 3:28 PM, ksaan said: You need a php version at least higher than 5.5 . The error you see is because it uses a feature of php that was added for php 5.5https://laracasts.com/discuss/channels/laravel/laravel-51-what-is-class Than how I can upgrade my php version? Link to comment Share on other sites More sharing options...
ksaan Posted July 24, 2018 Share Posted July 24, 2018 I do not know CentOS but if you google "php version CentOS 7" you can find a lot of answers Example https://devdocs.magento.com/guides/v2.0/install-gde/prereq/php-centos.html I suggest you upgrade to php 7 because you will also get a speed boost because php7 is a lot faster than php5. But test carefully before "the big jump" 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