Wie Whoops for Shopware richtig installieren?

Hi zusammen,

ich möchte Whoops installieren, damit ich endlich mit der Fehlersuche hier weiter komme.

Allerdings scheint er die Bibliothek nicht zu finden. Diese habe ich unter „engine“ abgelegt.

 

Fatal error: Uncaught Error: Class 'Whoops\Run' not found in /html/shopware/_develop/custom/plugins/WhoopsForShopware/WhoopsForShopware.php:30 Stack trace: #0 /html/shopware/_develop/engine/Library/Enlight/Event/Handler/Default.php(91): WhoopsForShopware\WhoopsForShopware->onRouteStartup(Object(Enlight_Controller_EventArgs)) #1 /html/shopware/_develop/engine/Library/Enlight/Event/EventManager.php(214): Enlight_Event_Handler_Default->execute(Object(Enlight_Controller_EventArgs)) #2 /html/shopware/_develop/engine/Library/Enlight/Controller/Front.php(157): Enlight_Event_EventManager->notify('Enlight_Control...', Object(Enlight_Controller_EventArgs)) #3 /html/shopware/_develop/engine/Shopware/Kernel.php(189): Enlight_Controller_Front->dispatch() #4 /html/shopware/_develop/vendor/symfony/http-kernel/HttpCache/HttpCache.php(491): Shopware\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #5 /html/shopware/_develop/engine/Shopware/Components/HttpCache/AppCache.php(268): Symfony\Component\HttpKernel\HttpCa in /html/shopware/_develop/custom/plugins/WhoopsForShopware/WhoopsForShopware.php on line 30

Was läuft hier denn bitte noch falsch?

Vielen Dank und viele Grüße,

Chris

Naja, das richtet sich ja an Entwickler. Ich glaube du musst erstmal „composer install“ ausführen, damit die Librarys überhaupt geladen werden. Composer sollte natürlich dafür auf dem Server installiert sein.

Frag mich aber wofür du das brauchst, die Fehlerausgabe ist zwar schöner damit, aber der gibt auch keine anderen Fehler aus als Shopware.

Stimmt nun auch wieder… Ich habe halt immer noch das Problem mit dem render esi tag on null und dachte, dass ich damit schneller auf einen grünen Zweig komme.