Showing results for 
Search instead for 
Did you mean: 

Page messages are empty

Page messages are empty

Unfortunately my page messages are empty.

I have a block in the Magento_Theme/layout/default.xml

<container name="page.messages" htmlTag="div" htmlClass="page messages">
<block class="Magento\Framework\View\Element\Template" name="ajax.message.placeholder" template="Magento_Theme::html/messages.phtml"/>
<block class="Magento\Framework\View\Element\Messages" name="messages" as="messages" template="Magento_Theme::messages.phtml"/>

But after doing some actions in the customer account (Ex. saving account information) the html tag is empty:


<p class="text" data-bind="html: message.text"></p>

All other js functions are working.

Does anybody have the same Problem?


Re: Page messages are empty

I haven't identified the error yet, but I think it is a cache error. After enabling all cache types the messages are displayed. However the messages appear on every page. So after a wrong login try, the error message is also displayed on the homepage, in the customer account and so on...