Make a quick vote 🗳 ️How do you refer to SuiteCRM extensions: add-ons or plug-ins? Click here to have your say 👈

SuiteCRM Error Upgrading 8.0.1 to 8.1.2


I have tried to upgrade SuiteCRM 8.0.1 to 8.1.2 using the following command:
./bin/console suitecrm:app:upgrade -t SuiteCRM-8.1.2

However an error was generated:
PHP Parse error: syntax error, unexpected ‘:’, expecting ‘{’ in /home/hermes/public_html/vendor/symfony/polyfill-php80/bootstrap.php on line 23

Any idea how to fix this error ?


What is your PHP version? Is it within the allowed versions?

There are many people getting that error, not just with SuiteCRM…:
PHP Parse error: syntax error, unexpected ‘:’, expecting ‘{’ in vendor/symfony/polyfill-php80/bootstrap.php on line 23 - Google Search

I have test PHP 7.4 and 8.0 - same error is reported for both versions.


I doubt that this is SuiteCRM-related, but still you might want to report it on the Issues list on Github:

Maybe we need to grab a new version of that 3rd party package that is causing the error…

It just helped me. Thanks