Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hotfix for returned object instead of array #182

merged 1 commit into from Apr 17, 2018


Copy link

commented Apr 17, 2018

We got a fatal error in some cases on a staging system:
PHP Fatal error: Uncaught Error: Cannot use object of type Shopware\CustomModels\MoptPayoneConfig\MoptPayoneConfig as array in ../engine/Shopware/Plugins/Community/Frontend/MoptPaymentPayone/Components/Classes/PayonePaymentHelper.php:1303

=> The Fallback in this function creates an Object and returns it. The normal process returns an array

@fjbender fjbender merged commit 569d134 into PAYONE-GmbH:master Apr 17, 2018
2 checks passed
2 checks passed
Scrutinizer No new issues
continuous-integration/travis-ci/pr The Travis CI build passed

This comment has been minimized.

Copy link

commented Apr 17, 2018

Thanks for the fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.