# Von SW5 auf SW6 - The server returned a "500 Internal Server Error".

**URL:** <https://forum.shopware.com/t/von-sw5-auf-sw6-the-server-returned-a-500-internal-server-error/69623>\
**Category:** Installation / Einstieg\
**Created:** [15. September 2020 um 19:25 UTC](https://forum.shopware.com/t/von-sw5-auf-sw6-the-server-returned-a-500-internal-server-error/69623 "2020-09-15T19:25:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![DIFAOM](https://avatars.discourse-cdn.com/v4/letter/d/57b2e6/32.png) [@DIFAOM](https://forum.shopware.com/u/DIFAOM)\
**Post date:** [15. September 2020 um 19:25 UTC](https://forum.shopware.com/t/von-sw5-auf-sw6-the-server-returned-a-500-internal-server-error/69623/1 "2020-09-15T19:25:11Z")

</div>

Guten Abend Zusammen,

nach dem Umzug von einem kleinen Shop von Shopware 5 auf 6 ist im Frontend ein “500 Internal Server Error”.

Im Shopware Debugmodus habe ich folgende meldungen:

&nbsp;

**CRITICAL19:16:08**

**php**

Uncaught Error: Argument 6 passed to Shopware\Core\System\SalesChannel\SalesChannelContext::\_\_construct() must be an instance of Shopware\Core\Checkout\Customer\Aggregate\CustomerGroup\CustomerGroupEntity, null given, called in /mein-shop/vendor/shopware/core/System/SalesChannel/Context/SalesChannelContextFactory.php on line 225

```
 { "exception": {} }

```

&nbsp;

**CRITICAL19:16:08**

**request**

Uncaught PHP Exception TypeError: “Argument 6 passed to Shopware\Core\System\SalesChannel\SalesChannelContext::\_\_construct() must be an instance of Shopware\Core\Checkout\Customer\Aggregate\CustomerGroup\CustomerGroupEntity, null given, called in /mein-shop/vendor/shopware/core/System/SalesChannel/Context/SalesChannelContextFactory.php on line 225” at /mein-shop/vendor/shopware/core/System/SalesChannel/SalesChannelContext.php line 99

```
 { "exception": {} }

```

&nbsp;

Hat hier jemand eine Idee was das sein kann?

_Freue mich über jeden Tipp!&nbsp;Danke!_

Gruß&nbsp;

Mathias

---

<div class="post-metadata">

**Author:** ![SCOOPEX](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/scoopex/32/18328_2.png) [@SCOOPEX](https://forum.shopware.com/u/SCOOPEX)\
**Post date:** [15. September 2020 um 20:25 UTC](https://forum.shopware.com/t/von-sw5-auf-sw6-the-server-returned-a-500-internal-server-error/69623/2 "2020-09-15T20:25:16Z")

</div>

Hallo,

hast Du die Verkaufskanäle korrekt zugeordnet ?

Viele Grüße

---

<div class="post-metadata">

**Author:** ![DIFAOM](https://avatars.discourse-cdn.com/v4/letter/d/57b2e6/32.png) [@DIFAOM](https://forum.shopware.com/u/DIFAOM)\
**Post date:** [15. September 2020 um 21:41 UTC](https://forum.shopware.com/t/von-sw5-auf-sw6-the-server-returned-a-500-internal-server-error/69623/3 "2020-09-15T21:41:13Z")

</div>

Hallo,

Es gibt aktuell nur einen Verkaufskanal, dieser ist allen Produkten zugewiesen. Oder meinst du hier noch andere zuweisungen?

Gruß

Mathias
