Hi,
I developed a customized payment extensions and when I click the "go to checkout" button on front-end, it will throw a exception "Object DOMDocument should be created".
I checked the var/log/debug.log file and I got a error message "main.CRITICAL: More than one node matching the query"
I tried to debug it and I got more details like
main.CRITICAL: More than one node matching the query: nodePath=/payment/credit_cards/type,matchedNodeslength=11,rootNamespace= [] []
Can anyone tell me how to debug my extension step by step?
Thank you.
-----
a:4:{i:0;s:37:"Object DOMDocument should be created.";i:1;s:13424:"#0 /Users/woei/dev/magento2/vendor/magento/framework/View/Element/UiComponent/Config/Reader.php(95): Magento\Framework\View\Element\UiComponent\Config\DomMerger->getDom()
#1 /Users/woei/dev/magento2/vendor/magento/module-ui/Model/Manager.php(262): Magento\Framework\View\Element\UiComponent\Config\Reader->read()
#2 /Users/woei/dev/magento2/vendor/magento/module-ui/Model/Manager.php(168): Magento\Ui\Model\Manager->prepare('checkout.root')
#3 /Users/woei/dev/magento2/vendor/magento/framework/View/Element/UiComponentFactory.php(139): Magento\Ui\Model\Manager->prepareData('checkout.root')
#4 /Users/woei/dev/magento2/vendor/magento/framework/View/Layout/Generator/UiComponent.php(125): Magento\Framework\View\Element\UiComponentFactory->create('checkout.root', NULL, Array)
#5 /Users/woei/dev/magento2/vendor/magento/framework/View/Layout/Generator/UiComponent.php(93): Magento\Framework\View\Layout\Generator\UiComponent->generateComponent(Object(Magento\Framework\View\Layout\Data\Structure), 'checkout.root', Array, Object(Magento\Framework\View\Layout\Interceptor))
#6 /Users/woei/dev/magento2/vendor/magento/framework/View/Layout/GeneratorPool.php(86): Magento\Framework\View\Layout\Generator\UiComponent->process(Object(Magento\Framework\View\Layout\Reader\Context), Object(Magento\Framework\View\Layout\Generator\Context))
#7 /Users/woei/dev/magento2/vendor/magento/framework/View/Layout.php(327): Magento\Framework\View\Layout\GeneratorPool->process(Object(Magento\Framework\View\Layout\Reader\Context), Object(Magento\Framework\View\Layout\Generator\Context))
#8 /Users/woei/dev/magento2/var/generation/Magento/Framework/View/Layout/Interceptor.php(89): Magento\Framework\View\Layout->generateElements()
#9 /Users/woei/dev/magento2/vendor/magento/framework/View/Layout/Builder.php(129): Magento\Framework\View\Layout\Interceptor->generateElements()
#10 /Users/woei/dev/magento2/vendor/magento/framework/View/Page/Builder.php(55): Magento\Framework\View\Layout\Builder->generateLayoutBlocks()
#11 /Users/woei/dev/magento2/vendor/magento/framework/View/Layout/Builder.php(65): Magento\Framework\View\Page\Builder->generateLayoutBlocks()
#12 /Users/woei/dev/magento2/vendor/magento/framework/View/Page/Config.php(187): Magento\Framework\View\Layout\Builder->build()
#13 /Users/woei/dev/magento2/vendor/magento/framework/View/Page/Config.php(207): Magento\Framework\View\Page\Config->build()
#14 /Users/woei/dev/magento2/vendor/magento/module-checkout/Controller/Index/Index.php(41): Magento\Framework\View\Page\Config->getTitle()
#15 [internal function]: Magento\Checkout\Controller\Index\Index->execute()