7

I got this error in system.log:

main.CRITICAL: Broken reference: No element found with ID 'checkout.header.wrapper'

and the checkout page is blank.

3
  • Any Updates...? Commented Aug 29, 2016 at 14:17
  • Please update more details, there is any customization? Commented Aug 29, 2016 at 14:24
  • @AyushMittal have you resolved?
    – Bojjaiah
    Commented Dec 15, 2016 at 5:17

3 Answers 3

5

I solved this warning message in Magento 2.1.1:

Open your file (override file not in vendor) checkout_index_index.xml.

In line equals:

<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">

add layout="1column" property:

<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="1column" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">

I found this solution here.

2
  • I'm getting this error while layout="1column" already existing. Commented Feb 14, 2017 at 7:20
  • @Nitesh please check system.log if error in other checkout xml. Post your log line here . Thanks !!!
    – Matt Silva
    Commented Feb 15, 2017 at 20:41
2

The Broken Reference layout errors are nothing new and have been reported to Magento team numerous times by different people. I tried it on a fresh installation just to see whether it was my custom theme or changes that were causing it but with default luma theme without inheriting it I still get these errors.

I somewhat agree with @KAndy above that these errors can be ignored because according to Magento core team this was fixed in 2.1 but it's still going on and reported by numerous people. It doesn't affect the functionality of the system in any way (or it hasn't been reported by anyone yet) so it's not a priority for Magento core team hence for now it can be ignored. Of course my only concern is ever increasing size of the system.log file that will need to be cleaned up regularly other than that nothing to be overly concerned about.

Reference https://github.com/magento/magento2/issues/3507

-1

You can ignore it. It's not a critical error, this must be a warning.

1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.