0
  1. Always I used one website and Paypal checkout.

Now I Created mulitwebsite store and disable Paypal.

In this first default website everithing is correct. Paypal is disabled and checkout work correct.

On this second website also Paypal is disabled but everytime I get below issue in checkout. If I disable this module directly via SSH then is also issue (impossible load checkout in both website 404 braintree).

Can anyone help how to solve below issue?

TypeError: explode() expects parameter 2 to be string, null given in /home/user/domains/mywebsite.com/public_html/vendor/paypal/module-braintree-core/Model/Lpm/Config.php:125 Stack trace: #0 /home/user/domains/mywebsite.com/public_html/vendor/paypal/module-braintree-core/Model/Lpm/Config.php(125): explode(',', NULL) #1 /home/user/domains/mywebsite.com/public_html/vendor/paypal/module-braintree-core/Model/Lpm/Ui/ConfigProvider.php(39): PayPal\Braintree\Model\Lpm\Config->getAllowedMethods() #2 /home/user/domains/mywebsite.com/public_html/vendor/magento/module-checkout/Model/CompositeConfigProvider.php(39): PayPal\Braintree\Model\Lpm\Ui\ConfigProvider->getConfig() #3 /home/user/domains/mywebsite.com/public_html/vendor/magento/module-checkout/Block/Onepage.php(106): Magento\Checkout\Model\CompositeConfigProvider->getConfig() #4 /home/user/domains/mywebsite.com/public_html/generated/code/Magento/Checkout/Block/Onepage/Interceptor.php(50): Magento\Checkout\Block\Onepage->getCheckoutConfig() #5 /home/user/domains/mywebsite.com/public_html/vendor/magento/module-checkout/Block/Onepage.php(128): Magento\Checkout\Block\Onepage\Interceptor->getCheckoutConfig() #6 /home/user/domains/mywebsite.com/public_html/generated/code/Magento/Checkout/Block/Onepage/Interceptor.php(76): Magento\Checkout\Block\Onepage->getSerializedCheckoutConfig() #7 /home/user/domains/mywebsite.com/public_html/vendor/magento/module-checkout/view/frontend/templates/onepage.phtml(27): Magento\Checkout\Block\Onepage\Interceptor->getSerializedCheckoutConfig() #8 /home/user/domains/mywebsite.com/public_html/vendor/magento/framework/View/TemplateEngine/Php.php(71): include('/home/user/...') #9 /home/user/domains/mywebsite.com/public_html/vendor/magento/framework/View/Element/Template.php(273): Magento\Framework\View\TemplateEngine\Php->render(Object(Magento\Checkout\Block\Onepage\Interceptor), '/home/user/...', Array) #10 /home/user/domains/be-

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.