Magento – Onepage checkout error: Uncaught TypeError: Cannot read property ‘style’ of null

javascriptmagento-1.7onepage-checkout

Does anyone know what is causing this error in Onepage Checkout?

I can't progress to the billing step when I click continue:

'Uncaught TypeError: Cannot read property 'style' of null '

Shows in the error console.

I am using the default theme on the frontend but have a custom template for another store which doesn't have this issue.

I've searched and searched but cannot find a solution other than reinstall…

Can someone assist me please?
Link

Best Answer

I think you are missing some DOM elements and/or ids. For example in your checkout there is not element with ID: 'billing-buttons-container' or 'shipping-buttons-container'. I think these are the elements that are null when trying to set some properties on them.
You might be missing other elements also. I recommend to compare your checkout templates with the default templates.