I have added the custom template in footer. It displayed in all page .But in view page its throwing
1 exception(s):
Exception #0 (Magento\Framework\Exception\ValidatorException): Invalid template file: 'Magento_Theme::html/footer/trustworthy.phtml' in module: '' block's name: 'trust.shy'
In default.xml:
<referenceContainer name="footer-container">
<block class="Magento\Framework\View\Element\Template" name="trust.shy" template="Magento_Theme::html/footer/trustworthy.phtml" after="subscribe.container"/>
</referenceContainer>
Added template in following path /var/www/html/magento/app/design/frontend/OX/shy/Magento_Theme/templates/html/footer/trustworthy.phtml
If any thing i want to change it ...
thanks.
OX/shy
and do the cache flush properly – Amit Bera♦ Feb 22 '19 at 5:52