Project

General

Profile

Actions

Bug #76245

closed

Class redeclaration error in frontend when upgrading TYPO3

Added by Jérôme BLUM almost 8 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2016-05-20
Due date:
% Done:

0%

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

Description

I upgraded TYPO3 from 6.2.17 to 6.2.23, cleared all caches from the Install tool. Then I get this error in frontend:

Cannot redeclare class TYPO3\CMS\Core\Utility\VersionNumberUtility in /home/xxx/www/typo3_src-6.2.23/typo3/sysext/core/Classes/Utility/VersionNumberUtility.php on line 21

Actions #1

Updated by Mathias Brodala almost 8 years ago

  • Status changed from New to Needs Feedback

Is this a bare installation without any 3rd party extensions? If there are extensions, can you check if one of them ships this class with the same namespace? For debugging purposes you can also use something like this to find out where that class was declared first.

Actions #2

Updated by Birger Stöckelmann almost 8 years ago

Hi - we also got some problems with updating to 6.2.23 even after clearing all caches. Deleting (rm) the typo3temp folder completely and recreating the folder structure from the install tool helped.

Actions #3

Updated by Jérôme BLUM almost 8 years ago

Mathias Brodala wrote:

Is this a bare installation without any 3rd party extensions? If there are extensions, can you check if one of them ships this class with the same namespace? For debugging purposes you can also use something like this to find out where that class was declared first.

Yes, this class is called by my versions of EXT:direct_mail, EXT:linkhandler and EXT:news.

Thanks to Birger: I let TYPO3 rebuild the complexe typo3temp/ structure, and that resolved this bug :)

Actions #4

Updated by Wouter Wolters almost 8 years ago

  • Status changed from Needs Feedback to Closed

Closing this issue as resolved. This was a cache issue.

Actions

Also available in: Atom PDF