Source
809 $templateList = (is_array($templateList)) ? $templateList : array($templateList);
810
811 $message = 'None of the following templates could be found';
812 if(!$theme) {
813 $message .= ' (no theme in use)';
814 } else {
815 $message .= ' in theme "' . $theme . '"';
816 }
817
818 user_error($message . ': ' . implode(".ss, ", $templateList) . ".ss", E_USER_WARNING);
819 }
820 }
821
822 /**
823 * Set the template parser that will be used in template generation
824 * @param \TemplateParser $parser
Trace
- None of the following templates could be found in theme "homestylekitchens": SideBar.ss
SSViewer.php:818
- SSViewer->__construct(SideBar)
SSViewer.php:1162
- SSViewer::execute_template(SideBar,SitemapPage_Controller,Array,SSViewer_DataPresenter)
.cache.sitemap2.templates.Layout.SitemapPage.ss:40
- include(/tmp/silverstripe-cache-php5.6.38-usr-home-homestyle-public_html/homestyle/.cache.sitemap2.templates.Layout.SitemapPage.ss)
SSViewer.php:1064
- SSViewer->includeGeneratedTemplate(/tmp//silverstripe-cache-php5.6.38-usr-home-homestyle-public_html/homestyle/.cache.sitemap2.templates.Layout.SitemapPage.ss,SitemapPage_Controller,,Array,)
SSViewer.php:1126
- SSViewer->process(SitemapPage_Controller,)
SSViewer.php:1122
- SSViewer->process(SitemapPage_Controller)
Controller.php:211
- Controller->handleAction(SS_HTTPRequest,index)
RequestHandler.php:200
- RequestHandler->handleRequest(SS_HTTPRequest,DataModel)
Controller.php:158
- Controller->handleRequest(SS_HTTPRequest,DataModel)
ContentController.php:172
- ContentController->handleRequest(SS_HTTPRequest,DataModel)
ModelAsController.php:75
- ModelAsController->handleRequest(SS_HTTPRequest,DataModel)
Director.php:385
- Director::handleRequest(SS_HTTPRequest,Session,DataModel)
Director.php:149
- Director::direct(/sitemap/,DataModel)
main.php:184