Project

General

Profile

Actions

Bug #35902

closed

fatal error in scheduler / Swift mailer

Added by Stefan Franke about 12 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
scheduler
Target version:
-
Start date:
2012-04-12
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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.

Actions #1

Updated by Francois Suter almost 12 years ago

  • Target version deleted (4.5.15)
Actions #2

Updated by Steve almost 12 years ago

I already had the same issue. I cleared the "lastexecution_failure" field in db tx_scheduler_task to get the scheduler back to work.

Actions #3

Updated by Lina Wolf almost 12 years ago

UPDATE tx_scheduler_task SET lastexecution_failure = '' also temporarily solves the problem until problem arises again.

Actions #4

Updated by André Steiling almost 12 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 ...

Actions #5

Updated by Philipp Gampe almost 12 years ago

This sounds more like a bug in swiftmail itself. Swiftmail is a third party product and TYPO3 will not mess in the code. Please check whether this code as been fixed upstream.

Actions #6

Updated by Christian Kuhn over 11 years ago

  • Status changed from New to Resolved

Not an issue with the scheduler itself: If a task send mails or something else, it should have proper error handling on its own (eg. by catching the mailer result and giving proper result values).

Actions #7

Updated by Michael Stucki over 10 years ago

  • Category set to scheduler
Actions #8

Updated by Michael Stucki over 10 years ago

  • Project changed from 739 to TYPO3 Core
  • Category changed from scheduler to scheduler
Actions #9

Updated by Gernot Ploiner about 9 years ago

I had the same issue today.
My problem was a missing image in a RTE-Content (bodytext field). It was deleted from the uploads-folder.
After uploading the image again all works fine.

Actions #10

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF