# 5.6.0 RC1 Installation / Update Fail

**URL:** <https://forum.shopware.com/t/5-6-0-rc1-installation-update-fail/60423>\
**Category:** Installation/Einstieg\
**Created:** [13. Juli 2019 um 10:36 UTC](https://forum.shopware.com/t/5-6-0-rc1-installation-update-fail/60423 "2019-07-13T10:36:10Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![robjke1](https://avatars.discourse-cdn.com/v4/letter/r/71c47a/32.png) [@robjke1](https://forum.shopware.com/u/robjke1)\
**Post date:** [13. Juli 2019 um 10:36 UTC](https://forum.shopware.com/t/5-6-0-rc1-installation-update-fail/60423/1 "2019-07-13T10:36:10Z")

</div>

Welt seid mir gegrüßt,

Nach der Installation von 5.6.0 RC1, sowohl über den Browser als auch über Shell, erscheint folgender Fehler.  
Dieser erscheint im allerletzten schritt recovery/install/finalize

```
PHP Fatal error: During class fetch: Uncaught ReflectionException: Class Smarty_Internal_Resource_Extends not found in /mnt/d/linux-workspace/www/shopware56-dev/engine/Library/Enlight/Components/Snippet/Resource.php:32\nStack trace:\n#0 /mnt/d/linux-workspace/www/shopware56-dev/vendor/composer/ClassLoader.php(444): include('/mnt/d/linux-wo...')\n#1 /mnt/d/linux-workspace/www/shopware56-dev/vendor/composer/ClassLoader.php(322): Composer\\Autoload\\includeFile('/mnt/d/linux-wo...')\n#2 [internal function]: Composer\\Autoload\\ClassLoader->loadClass('Enlight_Compone...')\n#3 [internal function]: spl_autoload_call('Enlight_Compone...')\n#4 /mnt/d/linux-workspace/www/shopware56-dev/vendor/symfony/config/Resource/ClassExistenceResource.php(78): class_exists('Enlight_Compone...')\n#5 /mnt/d/linux-workspace/www/shopware56-dev/vendor/symfony/config/Resource/SelfCheckingResourceChecker.php(34): Symfony\\Component\\Config\\Resource\\ClassExistenceResource->isFresh(1563013106)\n#6 /mnt/d/linux-workspace/www/shopware56-dev/vendor/symfony/config/ResourceC in /mnt/d/linux-workspace/www/shopware56-dev/engine/Library/Enlight/Components/Snippet/Resource.php on line 32

```

Setup:

Ubuntu 18.04. unter Windows 10  
Apache  
PHP 7.3.7  
MySQL 5.7.26  
Alle benötigten PHP extensions vorhanden

Genutze Quellen:

- Installationspaket (&nbsp;[https://releases.shopware.com/install\_5.6.0\_RC1\_6101994ce54abf2fac949bec532fc7cc075eb07d.zip](https://releases.shopware.com/install_5.6.0_RC1_6101994ce54abf2fac949bec532fc7cc075eb07d.zip) )
- Updatepaket ( Von 5.5.10 auf 5.6.0-RC1 -&nbsp;[https://releases.shopware.com/update\_5.6.0\_RC1\_011f6662e577c9bc824809f26039f56ac0119da2.zip](https://releases.shopware.com/update_5.6.0_RC1_011f6662e577c9bc824809f26039f56ac0119da2.zip) )
- git clone shopware/shopware branch 5.6

Rechte sind alle auf 777.  
5.5.10 Installation funktioniert mit diesem Setup ohne Probleme.

Jemand ne Idee?

---

<div class="post-metadata">

**Author:** ![hsoebbing](https://avatars.discourse-cdn.com/v4/letter/h/898d66/32.png) [@hsoebbing](https://forum.shopware.com/u/hsoebbing)\
**Post date:** [15. Juli 2019 um 06:26 UTC](https://forum.shopware.com/t/5-6-0-rc1-installation-update-fail/60423/2 "2019-07-15T06:26:50Z")

</div>

Hallo @robjke‍!

Leider habe ich keine Testumgebung hier die der Deinen entspricht, aber kannst Du in Deiner neuen Installation mal prüfen ob die Datei `engine/Library/Smarty/sysplugins/smarty_internal_resource_extends.php` vorhanden ist? Die Fehlermeldung klingt als wäre diese Datei nicht vorhanden, im install.zip ist sie aber definitiv zu finden.

---

<div class="post-metadata">

**Author:** ![neonlines](https://avatars.discourse-cdn.com/v4/letter/n/c57346/32.png) [@neonlines](https://forum.shopware.com/u/neonlines)\
**Post date:** [15. Juli 2019 um 12:04 UTC](https://forum.shopware.com/t/5-6-0-rc1-installation-update-fail/60423/3 "2019-07-15T12:04:20Z")

</div>

Hallo, wir haben das&nbsp;gleiche. ZIP-Datei komplett heruntergeladen von [https://www.shopware.com/de/changelog/?utm\_campaign=2019-kw26-Plugin-de](https://www.shopware.com/de/changelog/?utm_campaign=2019-kw26-Plugin-de)&nbsp;und kopier.

Die von dir beschriebene&nbsp;Dati ist da, Shopware läuft in der Vagrant-Umgebung von&nbsp;[https://github.com/shopwareLabs/shopware-vagrant](https://github.com/shopwareLabs/shopware-vagrant)&nbsp;unter PHP 7.2

---

<div class="post-metadata">

**Author:** ![hsoebbing](https://avatars.discourse-cdn.com/v4/letter/h/898d66/32.png) [@hsoebbing](https://forum.shopware.com/u/hsoebbing)\
**Post date:** [16. Juli 2019 um 08:06 UTC](https://forum.shopware.com/t/5-6-0-rc1-installation-update-fail/60423/4 "2019-07-16T08:06:35Z")

</div>

Wir untersuchen das gerade noch, eventuell hängt das mit den aktuellsten PHP Versionen (PHP 7.2.20 und 7.3.7) zusammen, der erste Eintrag im Changelog klingt etwas danach:&nbsp;[https://www.php.net/ChangeLog-7.php](https://www.php.net/ChangeLog-7.php)

Hast Du vielleicht die Möglichkeit das auch einmal mit einer älteren Version gegenzuprüfen?

---

<div class="post-metadata">

**Author:** ![hsoebbing](https://avatars.discourse-cdn.com/v4/letter/h/898d66/32.png) [@hsoebbing](https://forum.shopware.com/u/hsoebbing)\
**Post date:** [16. Juli 2019 um 09:07 UTC](https://forum.shopware.com/t/5-6-0-rc1-installation-update-fail/60423/5 "2019-07-16T09:07:39Z")

</div>

Es liegt tatsächlich an diesem PHP Change, der Fehler ist auch im Symfony Issuetracker aufgeschlagen:&nbsp;[https://github.com/symfony/symfony/issues/32395](https://github.com/symfony/symfony/issues/32395)

Das Ergebnis ist: Diese Änderung in PHP 7.2.20 und 7.3.7 wird wieder reverted, für den Augenblick gibt es hier also nichts was wir tun können und müssen. Shopware 5.6 wird vermutlich nicht ohne Fix kompatibel sein mit diesen beiden Patch-Versionen von PHP.

Was als Quickfix helfen sollte: In die composer.json von Shopware, den&nbsp;Bereich autoload/classmap anpassen wie folgt:

```
"autoload": {
...
        "classmap": [
            "engine/Shopware/Core/",
            "engine/Library/Smarty"
        ],
...
}

```

Anschliessend ein _composer update_ durchführen.

Eventuell ist es aber einfacher eine ältere PHP Version einzusetzen.
