fatal error in scheduler / Swift mailer
While trying to set up the cronjob for the scheduler, something apparently went wrong resulting in the non-accessibility of the scheduler. Now, when trying to access the scheduler, I always get the following error message:
Fatal error: Call to a member function clearAll() on a non-object in /PATH/TO/TYPO3-SRC/typo3/contrib/swiftmailer/classes/Swift/Mime/SimpleMimeEntity.php on line 800
At line 800 I found this code (TYPO3 Version 4.5.14):
It is trying to clear the cache at that point, but $this->_cacheKey is empty. As long as this line of code is commented out, it is working again.
There should be a check, whether $this->_cacheKey is empty or not.
#4 Updated by André Steiling about 7 years ago
Check your install tool configuration under $TYPO3_CONF_VARS['MAIL']: In my case missconfigured SMTP settings cause the PHP error. Set the mail transport to "mail" and test again. If it works, something with the further mail configuration theems do be wrong ...