magento2 element "referenceContainer": attribute "name"; is required but missing
P粉396248578
P粉396248578 2024-03-29 16:05:03
0
1
346

<referenceBlock name="breadcrumbs" remove="true" />
    <referenceContainer name="page.top">
        <block class="Burstonline\EverCrumbs\Block\Evercrumbs" name="crumbs" as="crumbs" template="Magento_Catalog::breadcrumbs.phtml" />
    </referenceContainer>

magento 2 breadcrumb display error 1 exception: Exception #0 (Magento\Framework\Config\Dom\ValidationException): Element 'referenceContainer': Attribute 'name' is required but missing. Line: 1557

Exception #0 (Magento\Framework\Config\Dom\ValidationException): Element 'referenceContainer': Attribute 'name' is required but is missing. Line: 1557

P粉396248578
P粉396248578

reply all(1)
P粉071626364

Hi @aaron It seems you tried removing the breadcrumbs and adding custom breadcrumbs, in order to fix this you have to change the referenceBlock to a referenceContainer.

This will fix your error.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!