Exception during subscription process, if no backend user is available
twaurisch opened this issue · comments
Thomas Scholze commented
After sending the subscription form an error is thrown instead of showing the confirmation page:
Core: Exception handler (WEB): Uncaught TYPO3 Exception: Call to a member function getTSConfig() on null |
Error thrown in file /data/httpd/typo3_src-9.5.23/typo3/sysext/core/Classes/DataHandling/DataHandler.php in line 747.
Requested URL: anmeldung?tx_slubevents_eventsubscribe%%5Baction%%5D=create&cHash=xxx
This is because SubscriberController::clearAllEventListCache() uses the DataHandler class which requires an initialized backend user ($GLOBALS['BE_USER']). If not logged in this error appears.