Zum Inhalt springen

Indexed Search (Extbase & Fluid based) - PHP Catchable Fatal Error

Erstellt am 6. April 2016 · 3 Antworten · letzte Antwort am 14. Dezember 2016

Tags: Extbase, Suche, Frage

mwirth ·

Hallo,

Ich habe wieder mal ein Problem mit indexed_search:

Ich habe als einzige Änderung das Plugin von "Indexed Search" auf "Indexed Search (Extbase & Fluid based)" umgestellt.

Dann hat er folgenden Fehler gebracht:
Uncaught TYPO3 Exception
#1: PHP Catchable Fatal Error: Argument 1 passed to TYPO3\CMS\Extbase\Service\TypoScriptService::convertPlainArrayToTypoScriptArray() must be of the type array, null given, called in /var/www/html/typo3_src-7.6.2/typo3/sysext/indexed_search/Classes/Controller/SearchController.php on line 1429 and defined in /var/www/html/typo3_src-7.6.2/typo3/sysext/extbase/Classes/Service/TypoScriptService.php line 64 (More information)

TYPO3\CMS\Core\Error\Exception thrown in file
/var/www/html/typo3_src-7.6.2/typo3/sysext/core/Classes/Error/ErrorHandler.php in line 111.

An was kann das liegen?

Gruß
Matthias

momeedees ·

Hi,

ich habe genau das gleiche Problem (TYPO3 v7.6.4)

Ich habe unter Constants die Pfade zu meinen Fluid-Templates definiert, im TS unten stehenden Code drin.
Schalte ich das Plugin auf "extbased & fluid", bekomme ich selbige Fehlermeldung (s.o.).

Constants

plugin.tx_indexedsearch.view.templateRootPaths.10 = fileadmin/Template/EXT/indexed_search/Resources/Private/Templates/
plugin.tx_indexedsearch.view.partialRootPaths.10 = fileadmin/Template/EXT/indexed_search/Resources/Private/Partials/

TS

page.config.index_enable = 1
plugin.tx_indexedsearch {
show.advancedSearchLink = 0
search {
    targetPid >
    targetPid = 203
}
view {
    templateRootPath >
    templateRootPaths {
      0 = EXT:indexed_search/Resources/Private/Templates/
      1 = {$plugin.tx_indexedsearch.view.templateRootPath}
    }
    partialRootPath >
    partialRootPaths {
      0 = EXT:indexed_search/Resources/Private/Partials/
      1 = {$plugin.tx_indexedsearch.view.partialRootPath}
    }
  }

}
holzem ·

Hallo,

habt ihr denn eine Lösung gefunden?
Ich habe das selbe Problem.

Edit: Habe es gelöst.
Ich musste unter "Tepmlate" für die Seite auf der ich das Plugin eingebunden habe ein Extension Template erstellen und dort unter "Includes" das entsprechende Item hinzufügen.

Kurt51 ·

Das Typoscript sieht ja auch ganz anders aus:
z.B.:
plugin.tx_indexedsearch {
settings {
#search.rootPidList
rootPidList = 1
u.s.w.
}
}
Schaut Euch mal die Typoscripte constants.txt und setup.txt unter
/typo3/sysext/indexed_search/Configuration/TypoScript/
an.