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

Error when creating credit memo #227

Closed
chris102948 opened this issue Mar 17, 2020 · 4 comments
Closed

Error when creating credit memo #227

chris102948 opened this issue Mar 17, 2020 · 4 comments

Comments

@chris102948
Copy link

After installing the newest version (7 days agao) of this extension we get this error when we want to create a new credit memo:

Fatal error: Uncaught Error: Call to a member function setMolliePaymentFee() on null in /data/web/magento2/vendor/mollie/magento2/Plugin/Sales/AddPaymentFeeToOrder.php:41 Stack trace: #0 /data/web/magento2/vendor/mollie/magento2/Plugin/Sales/AddPaymentFeeToOrder.php(30): Mollie\Payment\Plugin\Sales\AddPaymentFeeToOrder->addMolliePaymentFeeTo(Object(Magento\Sales\Model\Order\Interceptor)) #1 /data/web/magento2/vendor/magento/framework/Interception/Interceptor.php(146): Mollie\Payment\Plugin\Sales\AddPaymentFeeToOrder->afterGet(Object(Magento\Sales\Model\OrderRepository\Interceptor), Object(Magento\Sales\Model\Order\Interceptor), '111321') #2 /data/web/magento2/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Sales\Model\OrderRepository\Interceptor->Magento\Framework\Interception{closure}('111321') #3 /data/web/magento2/generated/code/Magento/Sales/Model/OrderRepository/Interceptor.php(26): Magento\Sales\Model\OrderRepository\Interceptor->___callPlugins('get', Array, Array) #4 /data/web/magento2/vendor/m in /data/web/magento2/vendor/mollie/magento2/Plugin/Sales/AddPaymentFeeToOrder.php on line 41

We're running Magento 2.2.3 and to not use the payment fee's at this moment.

@Frank-Magmodules
Copy link
Collaborator

Frank-Magmodules commented Mar 17, 2020

Hi @GetMagented ,
Thank you for your message. Did you run setup:di:compile after the update?

@chris102948
Copy link
Author

Hi @Frank-Magmodules yes we did. Just to be sure I ran it again just now but the same error persists.

@Frank-Magmodules
Copy link
Collaborator

HI @GetMagented , strange. As we can't reproduce this, can you please send us more information on this through our contact form so we can help you out?

@Frank-Magmodules
Copy link
Collaborator

Hi @GetMagented, thanks again for the detailed issue report. The issue has been resolved in the v1.12.0 release. We are closing this issue now but please feel free to reopen the issue if this still occurs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants