Getting below error after upgrade to 2.2.6:
1 exception(s):
Exception #0 (ReflectionException): Class Magento\Framework\EscapeHelper does not exist

I have checked vendor/magento/framework folder and didn't found EscapeHelper file while same exist in previous versions like 2.1.7

Any idea on how we can fix the above exception? I have checked even magento core files are using EscapeHelper class in vendor\magento\module-customer\view\frontend\templates\form\login.phtml e.g. $this->helper(\Magento\Framework\EscapeHelper::class)->escapeHtmlAttr(\_\_('Password'))

Some of custom modules in my website are also using it same way.