# Uncaught exception 'Enlight\_Exception' with message 'Method "Shopware::getOption" not found failure'

**URL:** <https://forum.shopware.com/t/uncaught-exception-enlight-exception-with-message-method-shopware-getoption-not-found-failure/37997>\
**Category:** Installation/Einstieg\
**Created:** [7. Juli 2016 um 07:43 UTC](https://forum.shopware.com/t/uncaught-exception-enlight-exception-with-message-method-shopware-getoption-not-found-failure/37997 "2016-07-07T07:43:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vi360](https://avatars.discourse-cdn.com/v4/letter/v/ecb155/32.png) [@vi360](https://forum.shopware.com/u/vi360)\
**Post date:** [7. Juli 2016 um 07:43 UTC](https://forum.shopware.com/t/uncaught-exception-enlight-exception-with-message-method-shopware-getoption-not-found-failure/37997/1 "2016-07-07T07:43:24Z")

</div>

Hallo,

nach Upgrade von 5.1.6 auf 5.2.1 (mit Hindernissen [https://forum.shopware.com/discussion/comment/165043/#Comment\_165043](https://forum.shopware.com/discussion/comment/165043/#Comment_165043)) stehe ich jetzt vor dem Problem, dass Shopware sich mit Fehler 503 meldet, egal ob Backend oder Frontend.

PHP meldet als Fehler:

**Fatal error** : Uncaught exception ‘Enlight\_Exception’ with message ‘Method “Shopware::getOption” not found failure’ in /pages/db/e7/d0010688/home/htdocs/dev/engine/Library/Enlight/Event/Handler/Plugin.php:149 Stack trace: #0 /pages/db/e7/d0010688/home/htdocs/dev/engine/Shopware/Plugins/Community/Core/SwagStaging/Bootstrap.php(266): Shopware-\>\_\_call(‘getOption’, Array) #1 /pages/db/e7/d0010688/home/htdocs/dev/engine/Library/Enlight/Event/Handler/Plugin.php(149): Shopware\_Plugins\_Core\_SwagStaging\_Bootstrap-\>onRouteStartup(Object(Enlight\_Controller\_EventArgs)) #2 /pages/db/e7/d0010688/home/htdocs/dev/engine/Library/Enlight/Event/EventManager.php(214): Enlight\_Event\_Handler\_Plugin-\>execute(Object(Enlight\_Controller\_EventArgs)) #3 /pages/db/e7/d0010688/home/htdocs/dev/engine/Library/Enlight/Controller/Front.php(161): Enlight\_Event\_EventManager-\>notify(‘Enlight\_Control…’, Object(Enlight\_Controller\_EventArgs)) #4 /pages/db/e7/d0010688/home/htdocs/dev/engine/Shopware/Kernel.php(175): Enlight\_Controller\_Front-\>dispatch() #5 /pages in **/pages/db/e7/d0010688/home/htdocs/dev/engine/Library/Enlight/Event/Handler/Plugin.php** on line **149**

Hat jemand eine Idee, was da schief läuft?

---

<div class="post-metadata">

**Author:** ![Michael\_Telgmann](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/michael_telgmann/32/20289_2.png) [@Michael\_Telgmann](https://forum.shopware.com/u/Michael_Telgmann)\
**Post date:** [7. Juli 2016 um 08:01 UTC](https://forum.shopware.com/t/uncaught-exception-enlight-exception-with-message-method-shopware-getoption-not-found-failure/37997/2 "2016-07-07T08:01:04Z")

</div>

Hi,

an der Fehlermeldung lässt sich u.a. erkennen, das du das Staging Plugin (SwagStaging)&nbsp;installiert hast. Dieses wird schon seit Shopware 5.0 nicht mehr offiziel supportet. Kannst du das Plugin mal über die Datenbank deaktivieren?

Viele Grüße aus Schöppingen

![cool](http://forum.shopware.com/plugins/CKEditor/plugins/smiley/images/shopware.png "cool")&nbsp;Michael Telgmann

---

<div class="post-metadata">

**Author:** ![vi360](https://avatars.discourse-cdn.com/v4/letter/v/ecb155/32.png) [@vi360](https://forum.shopware.com/u/vi360)\
**Post date:** [7. Juli 2016 um 08:11 UTC](https://forum.shopware.com/t/uncaught-exception-enlight-exception-with-message-method-shopware-getoption-not-found-failure/37997/3 "2016-07-07T08:11:10Z")

</div>

Ah, jau das wars!

In der Tabelle “s\_core\_plugins” den Wert “active” bei “SwagStaging” von 1 auf 0 setzen hat funktioniert.

Danke!

&nbsp;&nbsp;
