rafspad Posted April 28, 2020 Share Posted April 28, 2020 Hi I have problem with prestashop 1.7 When I search something I have this error: [PrestaShopException] No template found for /home/pxbfxarv/public_html/themes/warehouse/search.tpl at line 68 in file classes/Smarty/TemplateFinder.php 63. return $tpl; 64. } 65. } 66. } 67. 68. throw new PrestaShopException('No template found for ' . $template); 69. } 70. 71. private function getTemplateHierarchy($template, $entity, $id) 72. { 73. $entity = basename($entity); TemplateFinderCore->getTemplate - [line 1403 - classes/controller/FrontController.php] - [4 Arguments] FrontControllerCore->getTemplateFile - [line 1294 - classes/controller/FrontController.php] - [3 Arguments] FrontControllerCore->setTemplate - [line 158 - override/controllers/front/SearchController.php] - [1 Arguments] SearchController->initContent - [line 281 - classes/controller/Controller.php] ControllerCore->run - [line 511 - classes/Dispatcher.php] DispatcherCore->dispatch - [line 28 - index.php] Template author says me that "you need to fix it by cleaning your store from old ovverides files". How I can clearn old overrides? Thank u Link to comment Share on other sites More sharing options...
JBW Posted April 28, 2020 Share Posted April 28, 2020 There is a override installed at following path - check if this is required e.g. by any module (try to find a reference to module in the file). Then ask the module developer to fix the issue or deactive/deinstall the module. If you don't find the module rename the overide file to SearchController.php.old to deactivate it override/controllers/front/SearchController.php Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now