# Class 'League\\OAuth2\\Server\\Grant\\AbstractGrant' not found

**URL:** <https://forum.shopware.com/t/class-league-oauth2-server-grant-abstractgrant-not-found/60671>\
**Category:** Installation / Einstieg\
**Created:** [25. Juli 2019 um 15:41 UTC](https://forum.shopware.com/t/class-league-oauth2-server-grant-abstractgrant-not-found/60671 "2019-07-25T15:41:16Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![net-Quadrat](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/net-quadrat/32/13667_2.png) [@net-Quadrat](https://forum.shopware.com/u/net-Quadrat)\
**Post date:** [25. Juli 2019 um 15:41 UTC](https://forum.shopware.com/t/class-league-oauth2-server-grant-abstractgrant-not-found/60671/1 "2019-07-25T15:41:16Z")

</div>

Hallo Zusammen,

ich habe die Shopware 6 ea1 bei Profihost installiert. Allerdings bekomme ich nach dem letzten Schritt aus dem Installationsroutine einen Fehler angezeigt:

```
Fatal error: Class 'League\OAuth2\Server\Grant\AbstractGrant' not found in /home/abcdef/ghijk/vendor/league/oauth2-server/src/Grant/PasswordGrant.php on line 27

```

Allerdings ist in der Datei selbst die Klasse vorhanden.

Ist der Fehler bekannt? Bzw. wo muss ich suchen, damit es läuft?  
Komischerweise habe ich auf einem zweiten Profihost Paket die Installation mit den identischen Einstellungen ohne Probleme durchlaufen.

Viele Grüße

Benjamin

---

<div class="post-metadata">

**Author:** ![Moritz\_Naczenski](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/moritz_naczenski/32/7792_2.png) [@Moritz\_Naczenski](https://forum.shopware.com/u/Moritz_Naczenski)\
**Post date:** [25. Juli 2019 um 16:09 UTC](https://forum.shopware.com/t/class-league-oauth2-server-grant-abstractgrant-not-found/60671/2 "2019-07-25T16:09:35Z")

</div>

Vielleicht falsche PHP-Version?

Da ist ein Hinweis zu nicht unterstützen Versionen:&nbsp;[https://docs.shopware.com/en/shopware-6-en/first-steps/system-requirements?category=shopware-6-en/getting-started#environment](https://docs.shopware.com/en/shopware-6-en/first-steps/system-requirements?category=shopware-6-en/getting-started#environment)

&nbsp;

---

<div class="post-metadata">

**Author:** ![net-Quadrat](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/net-quadrat/32/13667_2.png) [@net-Quadrat](https://forum.shopware.com/u/net-Quadrat)\
**Post date:** [25. Juli 2019 um 16:22 UTC](https://forum.shopware.com/t/class-league-oauth2-server-grant-abstractgrant-not-found/60671/3 "2019-07-25T16:22:39Z")

</div>

Ich habe die 7.2.19 installiert. In der Dokumentation steht 7.2.20 ist nicht kompatibel.

Allerdings funktioniert die 7.3.6 auch nicht.

---

<div class="post-metadata">

**Author:** ![Moritz\_Naczenski](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/moritz_naczenski/32/7792_2.png) [@Moritz\_Naczenski](https://forum.shopware.com/u/Moritz_Naczenski)\
**Post date:** [25. Juli 2019 um 17:05 UTC](https://forum.shopware.com/t/class-league-oauth2-server-grant-abstractgrant-not-found/60671/4 "2019-07-25T17:05:57Z")

</div>

Hast du direkt auf dem Server entpackt?

---

<div class="post-metadata">

**Author:** ![net-Quadrat](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/net-quadrat/32/13667_2.png) [@net-Quadrat](https://forum.shopware.com/u/net-Quadrat)\
**Post date:** [25. Juli 2019 um 17:15 UTC](https://forum.shopware.com/t/class-league-oauth2-server-grant-abstractgrant-not-found/60671/5 "2019-07-25T17:15:56Z")

</div>

Hab es jetzt einmal direkt auf dem Server entpackt. Jetzt läufts.  
Habs zwar in dem anderen Account nicht so gemacht. Aber egal.  
Danke für den Tipp!
