wenn man eine Frage (KeQ-Contentelement vom Typ Question) erstellt und dort im Karteireiter Dependancies eine Dependancy erstellt, wird beim Anzeigen der Frage im FE eine Exception geworfen:
Core: Exception handler (WEB): Uncaught TYPO3 Exception: Call to a member function cacheJavaScript() on null | Error thrown in file typo3conf/ext/ke_questionnaire/Classes/ViewHelpers/CheckDependanciesViewHelper.php in line 91.
Vor dieser Zeile 91:
$this->jsViewhelper->cacheJavaScript($js);
muss man die Variable instanziieren:
$this->jsViewhelper = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\Kennziffer\KeQuestionnaire\ViewHelpers\JavaScriptViewHelper::class);
Hallo Jörg,
wenn man eine Frage (KeQ-Contentelement vom Typ Question) erstellt und dort im Karteireiter Dependancies eine Dependancy erstellt, wird beim Anzeigen der Frage im FE eine Exception geworfen: Core: Exception handler (WEB): Uncaught TYPO3 Exception: Call to a member function cacheJavaScript() on null | Error thrown in file typo3conf/ext/ke_questionnaire/Classes/ViewHelpers/CheckDependanciesViewHelper.php in line 91. Vor dieser Zeile 91: $this->jsViewhelper->cacheJavaScript($js); muss man die Variable instanziieren: $this->jsViewhelper = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\Kennziffer\KeQuestionnaire\ViewHelpers\JavaScriptViewHelper::class);
Viele Grüße
Tobias