# Update auf 5.6.8 Fehler: PHP Parse error:  syntax error, unexpected 'const' (T\_CONST)

**URL:** https://forum.shopware.com/t/update-auf-5-6-8-fehler-php-parse-error-syntax-error-unexpected-const-t-const/69655
**Category:** Allgemein
**Created:** [17. September 2020 um 05:24 UTC](https://forum.shopware.com/t/update-auf-5-6-8-fehler-php-parse-error-syntax-error-unexpected-const-t-const/69655 "2020-09-17T05:24:17Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Antenne1](https://avatars.discourse-cdn.com/v4/letter/a/dc4da7/32.png) [@Antenne1](https://forum.shopware.com/u/Antenne1)
#### Post date: [17. September 2020 um 05:24 UTC](https://forum.shopware.com/t/update-auf-5-6-8-fehler-php-parse-error-syntax-error-unexpected-const-t-const/69655/1 "2020-09-17T05:24:17Z")

</div>

Guten Morgen,

ich wollte auf meinem Server/Domain gerade das Update von der 5.6.4 auf die 5.6.8 durchführen und lande in der Console im Fehler:

* * *

## Parse error: syntax error, unexpected ‘const’ (T\_CONST), expecting variable (T\_VARIABLE) in /www/htdocs/account/domain.de/engine/Shopware/Components/Migrations/AbstractMigration.php on line 29

Der Fehler tritt bei PHP 7.2, 7.3 und 7.4 auf und das direkt nach dem Aufruf von: &nbsp;php recovery/update/index.php

Hat mir dafür jemand eine Erklärung? Ich bin ratlos…

Gruß Antenne1

&nbsp;

---

<div class="post-metadata">

### Author: ![Antenne1](https://avatars.discourse-cdn.com/v4/letter/a/dc4da7/32.png) [@Antenne1](https://forum.shopware.com/u/Antenne1)
#### Post date: [17. September 2020 um 05:43 UTC](https://forum.shopware.com/t/update-auf-5-6-8-fehler-php-parse-error-syntax-error-unexpected-const-t-const/69655/2 "2020-09-17T05:43:02Z")

</div>

Hat sich bereits erledigt:&nbsp; das Update über den Browser hat (seltsamerweise) fehlerfrei und problemlos geklappt…???..

Gruß Antenne1
