btcpayserver / magento2-plugin

4 stars 5 forks source link

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

Open ihavenoface opened 2 years ago

ihavenoface commented 2 years ago

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 commented 2 years ago

That's interesting.

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