magento2 errors (plz help to solve this)

1 exception(s): Exception #0 (Exception): Deprecated Functionality: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in C:xamphtdocsprojectmagento2libinternalMagentoFrameworkViewElementTemplateFileValidator.php on line 141 Exception #0 (Exception): Deprecated Functionality: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in C:xamphtdocsprojectmagento2libinternalMagentoFrameworkViewElementTemplateFileValidator.php on line 141 <pre>#1 strpos(‘C:xamphtdocsp…’, false) called at [libinternalMagentoFrameworkViewElementTemplateFileValidator.php:141] #2 MagentoFrameworkViewElementTemplateFileValidator->isPathInDirectories(‘C:/xamp/htdocs/p…’, array(‘C:/xamp/htdocs/p…’)) called at [libinternalMagentoFrameworkViewElementTemplateFileValidator.php:117] #3 MagentoFrameworkViewElementTemplateFileValidator->isValid(‘C:/xamp/htdocs/p…’) called at [libinternalMagentoFrameworkViewElementTemplate.php:268] #4 MagentoFrameworkViewElementTemplate->fetchView(‘C:/xamp/htdocs/p…’) called at [libinternalMagentoFrameworkViewElementTemplate.php:301] #5 MagentoFrameworkViewElementTemplate->_toHtml() called at [libinternalMagentoFrameworkViewElementAbstractBlock.php:1100] #6 MagentoFrameworkViewElementAbstractBlock->MagentoFrameworkViewElement{closure}() called at [libinternalMagentoFrameworkViewElementAbstractBlock.php:1104] #7 MagentoFrameworkViewElementAbstractBlock->_loadCache() called at [libinternalMagentoFrameworkViewElementAbstractBlock.php:674] #8 MagentoFrameworkViewElementAbstractBlock->toHtml() called at [libinternalMagentoFrameworkViewResultPage.php:249] #9 MagentoFrameworkViewResultPage->render(&MagentoFrameworkAppResponseHttpInterceptor#000000004ef2acfb000000006df49413#) called at [libinternalMagentoFrameworkViewResultLayout.php:171] #10 MagentoFrameworkViewResultLayout->renderResult(&MagentoFrameworkAppResponseHttpInterceptor#000000004ef2acfb000000006df49413#) called at [generatedcodeMagentoBackendModelViewResultPageInterceptor.php:193] #11 MagentoBackendModelViewResultPageInterceptor->renderResult(&MagentoFrameworkAppResponseHttpInterceptor#000000004ef2acfb000000006df49413#) called at [libinternalMagentoFrameworkAppHttp.php:120] #12 MagentoFrameworkAppHttp->launch() called at [generatedcodeMagentoFrameworkAppHttpInterceptor.php:24] #13 MagentoFrameworkAppHttpInterceptor->launch() called at [libinternalMagentoFrameworkAppBootstrap.php:261] #14 MagentoFrameworkAppBootstrap->run(&MagentoFrameworkAppHttpInterceptor#000000004ef2acf2000000006df49413#) called at [index.php:39] </pre>

submitted by /u/Rajan347
[link] [comments]