Pixup WhatsApp Share Button | Uncaught TypeError: Argument 1 passed to PixupWhatsAppShareButton\Pixu

Hallo zusammen, 

 

wenn ich den Pixup WhatsApp Share Button auf meiner Shopwareinstalltion aktiviere erhalte ich die folgende Fehlermeldung.

Nutze Shopware 5.2.21. Wo muss ich hier etwas ändern, damit das Plugin funktioniert?

 

Fatal error : Uncaught TypeError: Argument 1 passed to PixupWhatsAppShareButton\PixupWhatsAppShareButton::onPostDispatch() must be an instance of Enlight_Controller_EventArgs, instance of Enlight_Controller_ActionEventArgs given, called in /home/web33g8w2/html/shopware.bamoo.de/engine/Library/Enlight/Event/Handler/Default.php on line 91 and defined in /home/web33g8w2/html/shopware.bamoo.de/custom/plugins/PixupWhatsAppShareButton/PixupWhatsAppShareButton.php:23 Stack trace: #0 /home/web33g8w2/html/shopware.bamoo.de/engine/Library/Enlight/Event/Handler/Default.php(91): PixupWhatsAppShareButton\PixupWhatsAppShareButton->onPostDispatch(Object(Enlight_Controller_ActionEventArgs)) #1 /home/web33g8w2/html/shopware.bamoo.de/engine/Library/Enlight/Event/EventManager.php(214): Enlight_Event_Handler_Default->execute(Object(Enlight_Controller_ActionEventArgs)) #2 /home/web33g8w2/html/shopware.bamoo.de/engine/Library/Enlight/Controller/Action.php(190): Enlight_Event_EventManager->notify(‘Enlight_Control…’, Object(Enlight_Controller_A in  /home/web33g8w2/html/shopware.bamoo.de/custom/plugins/PixupWhatsAppShareButton/PixupWhatsAppShareButton.php  on line  23

 

 

Hi Basti,

hast du PHP7 auf Laufen? Sieht mir wie ein typischer Fehler aus, wenn das Typehinting nicht stimmt. Dafür solltest du dich an den Plugin Hersteller wenden.

Viele Grüße aus Schöppingen

cool Michael Telgmann

Hallo Michael, 

ja richtig. PHP 7 war aktiviert. 

Wenn ich auf PHP 5.6 umstelle, dann funktioniert das Plugin. 

 

Habe Pixup geschrieben, vielleicht kann er es ja updaten.