title: Payment method not displaying on front end in magento 2
body: <p>I have created a custom payment module using <a href="http://cedcommerce.com/magento-2-module-creator/payment-module" rel="nofollow">this</a> link but when I update the Model class(extending Cc class instead of AbstractMethod)</p>
  
  <p><code>\Magento\Payment\Model\Method\AbstractMethod to \Magento\Payment\Model\Method\Cc)</code></p>
  
  <p>Payment method does not display on front end. When I check the error log, I found following error
  report.CRITICAL: Broken reference: No element found with ID 'checkout.header.wrapper'.</p>
  
  <p>Does one have any idea about how we can show credit card with custom payment method (Magento version is 2.1.1)</p>