PAYONE-GmbH / shopware-5

PAYONE Payment Plugin for shopware 5
MIT License
10 stars 24 forks source link

installing and activating the plugin causes fatal error #14

Closed emtii closed 8 years ago

emtii commented 8 years ago

installed the plugin, tried to activate it, caused:

Fatal error: Uncaught TypeError: Argument 1 passed to Shopware\Plugins\MoptPaymentPayone\Subscribers\AddressCheck::construct() must be an instance of Shopware\Plugins\MoptPaymentPayone\Subscribers\Container, instance of ShopwareProductionProjectContainer given, called in /var/www/XX.XX.XX/htdocs/engine/Shopware/Plugins/Community/Frontend/MoptPaymentPayone/Bootstrap.php on line 336 and defined in /var/www/XX.XX.XX/htdocs/engine/Shopware/Plugins/Community/Frontend/MoptPaymentPayone/Subscribers/AddressCheck.php:23 Stack trace: #0 /var/www/XX.XX.XX/htdocs/engine/Shopware/Plugins/Community/Frontend/MoptPaymentPayone/Bootstrap.php(336): Shopware\Plugins\MoptPaymentPayone\Subscribers\AddressCheck->construct(Object(ShopwareProductionProjectContainer)) #1 /var/www/XX.XX.XX/htdocs/engine/Library/Enlight/Event/Handler/Plugin.php(149): Shopware_Plugins_Frontend_MoptPaymentPayone_Bootstrap->onDispatchLoopStartup(Object(Enlight_Controller_EventArgs)) #2 /var/www/XX.XX.XX/htdocs/engine/Library/Enlight/Event/ in /var/www/XX.XX.XX/htdocs/engine/Shopware/Plugins/Community/Frontend/MoptPaymentPayone/Subscribers/AddressCheck.php on line 23 503 Service Unavailable

fjbender commented 8 years ago

Should already be fixed, cf: https://github.com/PAYONE-GmbH/shopware-5/blob/master/Frontend/MoptPaymentPayone/Subscribers/AddressCheck.php#L23

@Fatchip-Support can you verify?

fjbender commented 8 years ago

It's fixed in the source tree, but not in the package. Please build a new package.

FATCHIP-GmbH commented 8 years ago

Verified, new Package is coming

FATCHIP-GmbH commented 8 years ago

should be fixed with Zip Package FatchipPayoneConnector_v3.3.8_5657_shopware5_source.zip