Hi Here I called magento newsletter subscription block in to my phtml file. but after hitting submit its redirected to same page but no any messages are showing. how to add success or failure message. I added loggers in vendor controllers but they are not logging.
this is my custom phtml file
echo $this->getLayout() ->createBlock('Magento\Newsletter\Block\Subscribe') ->setTemplate('Magento_Newsletter::subscribe.phtml') ->toHtml();
Where am doing wrong? Can I get help? Thank you in advance