1
votes

When I'm trying to install TYPO3 ver.: 6.2 it shows me the following error:

Warning: Declaration of TYPO3\CMS\Core\Package\FailsafePackageManager::registerPackagesFromConfiguration() should be compatible with TYPO3\CMS\Core\Package\PackageManager::registerPackagesFromConfiguration($registerOnlyNewPackages = false) in C:\xampp\htdocs\Template\typo3\sysext\core\Classes\Package\FailsafePackageManager.php on line 24

Afterwards i couldn“t connect anymore to the repository to download an extension. How can i fix this problem?

2

2 Answers

3
votes

6.2 is not compatible to PHP7, therefore stay with PHP5.6 or upgrade to TYPO3 7 or 8!

1
votes

This also happend to me when using Typo3 6.2LTS with php7. I fixed it in file typo3\sysext\core\Classes\Package\FailsafePackageManager.php line 66:

before

protected function registerPackagesFromConfiguration() {

after:

protected function registerPackagesFromConfiguration($registerOnlyNewPackages = false) {