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

getConfigWithoutCache() appears to be non-functional in some cases #7

Open
ihavenoface opened this issue Dec 14, 2021 · 1 comment
Open

Comments

@ihavenoface
Copy link

ihavenoface commented Dec 14, 2021

Not yet sure exactly what causes this but I'm getting this error:
main.ERROR: Notice: Trying to access array offset on value of type null in /var/www/html/vendor/btcpayserver/magento2-btcpay-module/Model/BTCPay/BTCPayService.php on line 601
when running a production store, and I need to manually return payment/btcpay/api_key and payment/btcpay/webhook_secret to unbreak.
That's after using bin/magento app:config:dump and then importing that on a production server.

@woutersamaey
Copy link
Collaborator

That's interesting.

To be honest, I've never used 'bin/magento app:config:dump' before

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