Fatal error: Call to a member function getConfig()

Hey, ich bekomme mal wieder eine Fehlermeldung, wenn ich bei einem Plugin die Config abrufen möchte: Fatal error: Call to a member function getConfig() on a non-object in /kunden/117539\_78141/webseiten/testshop/engine/Shopware/Components/Plugin/Bootstrap.php on line 182 Warum geht das nicht. Bei allen anderen Plugins geht es so auch: class Shopware\_Plugins\_Frontend\_OttschoCatCharts\_Bootstrap extends Shopware\_Components\_Plugin\_Bootstrap { /\* \* Install Method \* Create Events, Hooks and Insert Tables \*/ public function install() { $event = $this-\>createEvent( 'Enlight\_Controller\_Action\_PostDispatch\_Frontend\_Listing', 'onPostDispatchListing' ); $this-\>subscribeEvent($event); $form = $this-\>Form(); $form-\>setElement('text', 'TopcatID', array('label'=\>'ID der Top50 Kategorie','value'=\>'', 'scope'=\>Shopware\_Components\_Form::SCOPE\_SHOP)); $form-\>setElement('text', 'MaincatID', array('label'=\>'ID der Hauptkategorie','value'=\>'3', 'scope'=\>Shopware\_Components\_Form::SCOPE\_SHOP)); $form-\>save(); return true; } /\* \* @onPostDispatchListing \* Manipulate article listing site \*/ static function onPostDispatchListing(Enlight\_Event\_EventArgs $args) { $instance = Enlight\_Class::Instance(\_\_CLASS\_\_); $request = $args-\>getSubject()-\>Request(); $response = $args-\>getSubject()-\>Response(); $view = $args-\>getSubject()-\>View(); $config = Shopware()-\>Plugins()-\>Frontend()-\>OttschoCatCharts()-\>Config(); $view-\>Config = $config; ... ... ... Hat jmd eine Idee?

Hat hier schon jemand herausgefunden woran das liegt?

Nein, ich glaube nicht. Ich habe den Fehler immer noch. Ich glaube bei mir hat es was mit den instancen zu tun. Aber bin mir nicht sicher. Ich bekomme es auf jeden Fall nicht gelöst.

Wozu ist eigentlich dieser aufruf: $instance = Enlight\_Class::Instance(\_\_CLASS\_\_); Kann der nicht eigentlich weg?