Locate the following line in the Magento\Framework\Message\Manager::getMessages()
method:
Replace it with the following one:
if (false && $clear) {
Locate the following line in the Magento\Framework\Message\Manager::getMessages()
method:
Replace it with the following one:
if (false && $clear) {