# HTTP Error 500 - tritt auf einmal auf

**URL:** <https://forum.shopware.com/t/http-error-500-tritt-auf-einmal-auf/93799>\
**Category:** Allgemein\
**Created:** [4. April 2022 um 12:15 UTC](https://forum.shopware.com/t/http-error-500-tritt-auf-einmal-auf/93799 "2022-04-04T12:15:38Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![vitawell](https://avatars.discourse-cdn.com/v4/letter/v/82dd89/32.png) [@vitawell](https://forum.shopware.com/u/vitawell)\
**Post date:** [4. April 2022 um 12:15 UTC](https://forum.shopware.com/t/http-error-500-tritt-auf-einmal-auf/93799/1 "2022-04-04T12:15:38Z")

</div>

Hallo liebe Shopware Community,

Wir haben seit heute das Problem in unserem SubShop, dass nach versuchtem Login eines Kunden, auf einmal der gesamte Shop unter Error 500 läuft bzw. eben gar nicht mehr läuft. Der Hauptshop funktioniert einwandfrei.  
Es wurden keiner Updates eingespielt und auch keine Plugins erneuert.

Leider bin ich kein Programmierer oder Developer der sich von den Logs genau ein Bild machen kann und freue mich sehr auf Eure Tipps.

Vom Hoster habe ich folgende Fehlermeldung in den Logs erhalten:

[Mon Apr 04 12:18:04 2022] [error] [pid 406376] mod\_proxy\_fcgi.c(860): [host vitawell.at] AH01071: Got error ‚PHP message: PHP Fatal error: Uncaught Error: Call to a member function get() on null in /home/jk250nap/www/home/custom/plugins/BrandCrockArticlePdfTab/Subscriber/TemplateRegisteration.php:32\nStack trace:\n#0 /home/jk250nap/www/home/engine/Library/Enlight/Event/Handler/Default.php(91): BrandCrockArticlePdfTab\Subscriber\TemplateRegisteration-\>onPostDispatchSecure(Object(Enlight\_Controller\_ActionEventArgs))\n#1 /home/jk250nap/www/home/engine/Library/Enlight/Event/EventManager.php(219): Enlight\_Event\_Handler\_Default-\>execute(Object(Enlight\_Controller\_ActionEventArgs))\n#2 /home/jk250nap/www/home/engine/Library/Enlight/Controller/Action.php(206): Enlight\_Event\_EventManager-\>notify(‚Enlight\_Control…‘, Object(Enlight\_Controller\_ActionEventArgs))\n#3 /home/jk250nap/www/home/engine/Library/Enlight/Controller/Dispatcher/Default.php(563): Enlight\_Controller\_Action-\>dispatch(‚errorAction‘)\n#4 /home/jk250nap/www/home/engine/Library/Enlight/Controller/Front.php(222): Enlight\_Controller\_Dispatcher\_Default-\>disp…‘

[Mon Apr 04 12:18:25 2022] [error] [pid 406375] mod\_proxy\_fcgi.c(860): [host vitawell.at] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught TypeError: Argument 4 passed to Shopware\Bundle\StoreFrontBundle\Struct\ShopContext::\_\_construct() must be an instance of Shopware\Bundle\StoreFrontBundle\Struct\Customer\Group, null given, called in /home/jk250nap/www/home/engine/Shopware/Bundle/StoreFrontBundle/Service/Core/ContextService.php on line 356 and defined in /home/jk250nap/www/home/engine/Shopware/Bundle/StoreFrontBundle/Struct/ShopContext.php:100\nStack trace:\n#0 /home/jk250nap/www/home/engine/Shopware/Bundle/StoreFrontBundle/Service/Core/ContextService.php(356): Shopware\Bundle\StoreFrontBundle\Struct\ShopContext-\>\_\_construct(‚https://www.xn-…‘, Object(Shopware\Bundle\StoreFrontBundle\Struct\Shop), Object(Shopware\Bundle\StoreFrontBundle\Struct\Currency), NULL, Object(Shopware\Bundle\StoreFrontBundle\Struct\Customer\Group), Array, Array)\n#1 /home/jk250nap/www/home/engine/Shopware/Bundle/StoreFrontBundle/Service/Core/ContextService.php(132): Shopware\Bundle\StoreFrontBundle\

[Mon Apr 04 06:31:08 2022] [error] [pid 3807095] mod\_proxy\_fcgi.c(860): [host vitawell.at] AH01071: Got error ‚PHP message: PHP Fatal error: Uncaught Error: Call to a member function get() on null in /home/jk250nap/www/home/custom/plugins/BrandCrockArticlePdfTab/Subscriber/TemplateRegisteration.php:32\nStack trace:\n#0 /home/jk250nap/www/home/engine/Library/Enlight/Event/Handler/Default.php(91): BrandCrockArticlePdfTab\Subscriber\TemplateRegisteration-\>onPostDispatchSecure(Object(Enlight\_Controller\_ActionEventArgs))\n#1 /home/jk250nap/www/home/engine/Library/Enlight/Event/EventManager.php(219): Enlight\_Event\_Handler\_Default-\>execute(Object(Enlight\_Controller\_ActionEventArgs))\n#2 /home/jk250nap/www/home/engine/Library/Enlight/Controller/Action.php(206): Enlight\_Event\_EventManager-\>notify(‚Enlight\_Control…‘, Object(Enlight\_Controller\_ActionEventArgs))\n#3 /home/jk250nap/www/home/engine/Library/Enlight/Controller/Dispatcher/Default.php(563): Enlight\_Controller\_Action-\>dispatch(‚errorAction‘)\n#4 /home/jk250nap/www/home/engine/Library/Enlight/Controller/Front.php(222): Enlight\_Controller\_Dispatcher\_Default-\>disp…‘

Mit der Bitte um Hilfe,

Das verzweifelte Vitawell Team

---

<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:** [4. April 2022 um 13:46 UTC](https://forum.shopware.com/t/http-error-500-tritt-auf-einmal-auf/93799/2 "2022-04-04T13:46:16Z")

</div>

Hallo,

deaktiviere mal das Plugin BrandCrockArticlePdfTab (Artikel PDF Tab).

Viele Grüße

---

<div class="post-metadata">

**Author:** ![vitawell](https://avatars.discourse-cdn.com/v4/letter/v/82dd89/32.png) [@vitawell](https://forum.shopware.com/u/vitawell)\
**Post date:** [4. April 2022 um 14:39 UTC](https://forum.shopware.com/t/http-error-500-tritt-auf-einmal-auf/93799/3 "2022-04-04T14:39:03Z")

</div>

Hallo Scoopex,  
Das Plugin BrandCrockArticlePdfTab habe ich bereits deaktiviert, den Cache neu geladen und es brachte leider keine Änderung.  
Weiterhin der Fehler 500

---

<div class="post-metadata">

**Author:** ![brettvormkopp](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/brettvormkopp/32/7788_2.png) [@brettvormkopp](https://forum.shopware.com/u/brettvormkopp)\
**Post date:** [4. April 2022 um 14:53 UTC](https://forum.shopware.com/t/http-error-500-tritt-auf-einmal-auf/93799/4 "2022-04-04T14:53:26Z")

</div>

Der Kunde hat eine Kundengruppe zugewiesen im Subshop?

---

<div class="post-metadata">

**Author:** ![R4M](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/r4m/32/9983_2.png) [@R4M](https://forum.shopware.com/u/R4M)\
**Post date:** [5. April 2022 um 06:09 UTC](https://forum.shopware.com/t/http-error-500-tritt-auf-einmal-auf/93799/5 "2022-04-05T06:09:57Z")

</div>

> [@vitawell](#):
>
> Vom Hoster habe ich folgende Fehlermeldung in den Logs erhalten:

Wäre vielleicht gut, die Fehlermedlungen von dem Zeitpunkt zu erhalten wo der Fehler auch aufgetreten ist. Scheint ja etwas mit dem Login oder Kundengruppe etc. zusammenzuhängen.

---

<div class="post-metadata">

**Author:** ![tina.sabri](https://avatars.discourse-cdn.com/v4/letter/t/c67d28/32.png) [@tina.sabri](https://forum.shopware.com/u/tina.sabri)\
**Post date:** [5. April 2022 um 08:37 UTC](https://forum.shopware.com/t/http-error-500-tritt-auf-einmal-auf/93799/6 "2022-04-05T08:37:06Z")

</div>

> [@R4M](#):
>
> Wäre vielleicht gut, die Fehlermedlungen von dem Zeitpunkt zu erhalten wo der Fehler auch aufgetreten ist. Scheint ja etwas mit dem Login oder Kundengruppe etc. zusammenzuhängen.

Scheint etwas mit dem Login oder der Kundengruppe usw. zu tun zu haben[.](https://www.walgreenslistens.win/)

---

<div class="post-metadata">

**Author:** ![vitawell](https://avatars.discourse-cdn.com/v4/letter/v/82dd89/32.png) [@vitawell](https://forum.shopware.com/u/vitawell)\
**Post date:** [5. April 2022 um 11:38 UTC](https://forum.shopware.com/t/http-error-500-tritt-auf-einmal-auf/93799/7 "2022-04-05T11:38:39Z")

</div>

Vielen Dank 🙂 Problem gelöst. Interessanterweise war in der Kundenübersicht gar keine Kundengruppe ersichtlich.  
Jedoch in der Kundendetailseite war tatsächlich eine nicht bekannte bzw. nicht mehr vorhandene Kundengruppe eingetragen. Nach Update auf die korrekte Kundengruppe funktioniert alles wieder perfekt.

DANKE sehr!
