#44897Using tslib_eidtools leads to: "Fatal error: Call to private method tslib_eidtools::getTSFE() from context '"
Description
When using a small snippet as eID Part of an extension like the following:
class unsereKlasse {
public function main() {
$feUserObject = tslib_eidtools::initFeUser();
$TSFEObject = tslib_eidtools::getTSFE();
return json_encode(array(‘myResult’ => ‘World’));
}
}
$output = t3lib_div::makeInstance(‘unsereKlasse’);
echo $output->main();
however it returns a
“Fatal error: Call to private method tslib_eidtools::getTSFE() from context ‘”
Which should not be. The error is reproducible.
It seems that the error was entered into typo here
http://git.typo3.org/TYPO3v4/Core.git/commitdiff/0eea8829feb942e2be5de20d3ab2241a9711bfac
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.