Bug #76245
closedClass redeclaration error in frontend when upgrading TYPO3
0%
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
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.
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.
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 :)
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.