Magento 2.2 – Framework Config Dom ValidationException

magento2.2module

Made a simple module. But in trying to view the url I get this error.

Exception #0 (Magento\Framework\Config\Dom\ValidationException): Element >'referenceBlock', attribute 'after': The attribute 'after' is not allowed.
Line: 827

Looks similar to other known issues but not exactly the same. Any Ideas?

Best Answer

modify your XML file

<page xmlns:xsi="w3.org/2001/XMLSchema-instance"; xsi:noNamespaceSchemaLocation="../../../../../../../lib/inte‌​rnal/Magento/Framewo‌​rk/View/Layout/etc/p‌​age_configuration.xs‌​d" layout="1column"> 
    <body> 
        <referenceContainer name="content"> 
            <block class="Cbg\ReviewReminder\Block\Helloworld" name="helloworld" template="Cbg_ReviewReminder::helloworld.phtml" /> 
        </referenceContainer> 
    </body> 
</page>
Related Topic