Issue Bug Closed

#35902fatal error in scheduler / Swift mailer

Stefan Franke 04/12/12, 14:51 updated 10/02/18, 12:17

Description

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):

$this->_cache->clearAll($this->_cacheKey);

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.

Reviews 0

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