Bug #25114
closed[Patch] Fatal error in /t3lib/class.t3lib_tcemain.php on line 6774
0%
Description
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:
if(is_a($this->BE_USER,'t3lib_userAuth')) {
$this->BE_USER->writelog(3, 1, 0, 0, ...
}
Perhaps it was early enough for 4.5.1 - hope so
regards
Kay
(issue imported from #M17683)
Updated by Marc Bastian Heinrichs over 13 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 13 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 13 years ago
related to
http://bugs.typo3.org/bug_view_advanced_page.php?bug_id=17683
http://bugs.typo3.org/bug_view_advanced_page.php?bug_id=17460
http://bugs.typo3.org/bug_view_advanced_page.php?bug_id=16844
http://bugs.typo3.org/bug_view_advanced_page.php?bug_id=16832 (closed - not core related, use correct API)
Updated by Alexander Opitz about 10 years ago
- Status changed from New to Needs Feedback
- Target version deleted (
0) - Is Regression set to No
Hi,
as this issue is very old. Does the problem still exists within newer versions of TYPO3 CMS (6.2.3)?
BTW: As I understand this isn't a core issue it needed to be fixed in the extensions?
Updated by Kay Strobach about 10 years ago
both extensions are fixed - afaik this can be closed now
sadly i can't close my issues myself ;)
Updated by Alexander Opitz about 10 years ago
- Status changed from Needs Feedback to Closed