Issue Bug Closed

#68903indexed_search plugin throws uncatchable fatal error if not logged in in backend

Philipp Wrann 08/10/15, 10:31 updated 10/02/18, 11:34

Description

Just updated to 7.4

If i open a page, that contains a plugin of type indexed_search it throws an error:
Fatal error: Call to a member function includeLLFile() on null in …typo3/sysext/indexed_search/Classes/Controller/SearchFormController.php on line 185

So it seems $GLOBALS[‘LANG’] is not set

If i am logged in in backend and preview the page it works. It seems like initializeLanguageObject never happens in FE context, but its just a shot in the dark.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.