# PHP Parse error Fehler Konsole

**URL:** <https://forum.shopware.com/t/php-parse-error-fehler-konsole/104555>\
**Category:** Programmierung\
**Created:** [16. Juli 2024 um 08:58 UTC](https://forum.shopware.com/t/php-parse-error-fehler-konsole/104555 "2024-07-16T08:58:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![daniZa78](https://avatars.discourse-cdn.com/v4/letter/d/48db29/32.png) [@daniZa78](https://forum.shopware.com/u/daniZa78)\
**Post date:** [16. Juli 2024 um 08:58 UTC](https://forum.shopware.com/t/php-parse-error-fehler-konsole/104555/1 "2024-07-16T08:58:44Z")

</div>

Hallo, ich verwende Shopware 6.5.7.0 und bekomme folgende Konsolenfehlermedung.

bin/console  
PHP Parse error: syntax error, unexpected ‚)‘, expecting ‚|‘ or variable (T\_VARIABLE) in /www/htdocs/w01e3874/shop.lash-lift.de/releases/20240711194241/vendor/shopware/core/Framework/Adapter/Twig/functions.php on line 50

Kann mir da jemand weiterhelfen?  
Danke!

---

<div class="post-metadata">

**Author:** ![EikeBrandtWarneke](https://avatars.discourse-cdn.com/v4/letter/e/cdc98d/32.png) [@EikeBrandtWarneke](https://forum.shopware.com/u/EikeBrandtWarneke)\
**Post date:** [16. Juli 2024 um 09:05 UTC](https://forum.shopware.com/t/php-parse-error-fehler-konsole/104555/2 "2024-07-16T09:05:44Z")

</div>

Welche PHP Version verwendest du?

Viele Grüße

---

<div class="post-metadata">

**Author:** ![daniZa78](https://avatars.discourse-cdn.com/v4/letter/d/48db29/32.png) [@daniZa78](https://forum.shopware.com/u/daniZa78)\
**Post date:** [16. Juli 2024 um 13:13 UTC](https://forum.shopware.com/t/php-parse-error-fehler-konsole/104555/3 "2024-07-16T13:13:43Z")

</div>

Aaaarrrrgggg, danke für den Hinweis.  
Habe noch garnicht gewusst, das bei all-inkl die PHP cli Version nochmal extra eingestellt werden kann.  
Da hatte ich noch PHP 7.4 am laufen. Nach Umstellung auf 8.2 hat es nun funktioniert.  
Danke!
