I override the braintree module after that I'm getting this error. can anyone help me.
Magento\Framework\Exception\RuntimeException): Type Error occurred when creating object: Magento\Braintree\Block\Paypal\Button
braintreemagento2magento2.3
I override the braintree module after that I'm getting this error. can anyone help me.
Magento\Framework\Exception\RuntimeException): Type Error occurred when creating object: Magento\Braintree\Block\Paypal\Button
Best Answer
In your custom module,
app/code/Module/Namespace/etc/di.xml
Then place the
ConfigProvider.php
inModule\Namespace\Model\Ui\
path.Then in that file rewrite,