Typo3 ke_search extension Fatal error

风格不统一 提交于 2019-12-10 11:33:20

问题


I'm pretty new to Typo3, so sorry if I can't understand what's the problem here.

I installed the extension ke_search and followed (many times!) the basic and simple instructions given to setup it. The indexer works and everything seems just fine, but when I try to check the front end page, an error occours:

PHP Catchable Fatal Error: Argument 1 passed to TYPO3\CMS\Fluid\View\StandaloneView::setTemplateRootPaths() must be of the type array, null given, called in (...)/typo3conf/ext/ke_search/pi2/class.tx_kesearch_pi2.php on line 126 and defined in (...)/typo3/sysext/fluid/Classes/View/StandaloneView.php line 192

Unfortunately I can't understand the meaning of this. Is there anybody willing to give me some advice. Needless to say I searched the web to find similar errors, to no avail.

Thank you


回答1:


If you're working with Version TYPO3 Version 7 or 8, try this Code in your TypoScript:

plugin.tx_kesearch_pi1 {
    templateRootPaths {
        5 = EXT:ke_search/Resources/Private/Templates/
        }
    partialRootPaths {
        5 = EXT:ke_search/Resources/Private/Partials/
    }
    layoutRootPaths {
        5 = EXT:ke_search/Resources/Private/Layouts/
        }
}

plugin.tx_kesearch_pi2 {
    templateRootPaths {
        5 = EXT:ke_search/Resources/Private/Templates/
    }
    partialRootPaths{
        5 = EXT:ke_search/Resources/Private/Partials/
    }
    layoutRootPaths {
        5 = EXT:ke_search/Resources/Private/Layouts/
    }
}

I think, it's a bug...



来源:https://stackoverflow.com/questions/46711246/typo3-ke-search-extension-fatal-error

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!