Ask, reply and learn. Join the community of Akaunting.
Hello All, tried upgrading via the 2.0.3 button in our Akounting.
It's not working. We continue to get the following error:
```Parse error: syntax error, unexpected 'const' (T_CONST), expecting variable
(T_VARIABLE)```
We have also tried php version 7.0 to 7.4 none of them work. We've also tried installing from the CLI but it also fails with the same error in red.
Please advise.
I have same issue about this.
Hello guys,
Can you please try to run the following command:
php /path/to/akaunting/artisan update:db
Don't forget to change the path/to/akaunting part!
Regards
I ran than from within the akounting directory as php artisan update:db. I get the same error.
Parse error: syntax error, unexpected 'const' (T_CONST), expecting variable
(T_VARIABLE)
Following up. Is there anything else you'd like me to try?
You should upgrade your PHP version to 7.2 or higher.
I have tried php 7.0, 7.1, 7.2, 7.3 and 7.4... same error on ALL versions!
I was never able to upgrade the system from within the system. I uploaded all new files and then the databases were different and had to export everything. It was quite a lot of work, for a silly error :(
Hello, I can help with upgrade, migration and backup of your akaunting software and database to any new server or cloud instance, for details email me at : [email protected]
Showing 1 to 9 of 9 discussions