[Patch] Fatal error in /t3lib/class.t3lib_tcemain.php on line 6774
|Priority:||Should have||Due date:|
using comments or ve_guestbook or other extensions which try to clear the cache with tce_main results in an error in the front end, as the be_user object doesn't exist.
extending the line 6774 in that file with the following if should solve the problem:
$this->BE_USER->writelog(3, 1, 0, 0, ...
Perhaps it was early enough for 4.5.1 - hope so
(issue imported from #M17683)
|related to Core - Bug #24406: error when using t3lib_TCEmain->clear_cacheCmd in frontend||Closed||2010-12-23|
Updated by Marc Bastian Heinrichs over 2 years ago
This needs to be fixed in the extensions and is fixed in EXT:comments http://forge.typo3.org/projects/extension-comments/repository/revisions/41930
Updated by Kay Strobach over 2 years ago
as this was a breaking change, perhaps a solution would be to add an deprecation log entry if there is no be-user defined?
Anyway, you're right that this must be fixed in the extensions.
Updated by Jean-Sébastien Gervais over 2 years ago
http://bugs.typo3.org/bug_view_advanced_page.php?bug_id=16832 (closed - not core related, use correct API)