Direkt zur Hauptnavigation springen Direkt zum Inhalt springen

Schlagwort: PHP

Magento 2: Fix for error "Composer\Repository\ArrayRepository::count() should either be compatible with Countable::count()" after upgrade to 2.4.4 with PHP 8.1/8.2

The following error occurs # bin/magento setup:upgrade PHP Fatal error: During inheritance of Countable: Uncaught Exception: Deprecated Functionality: Return type of Composer\Repository\ArrayRepository::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /srv/www/htdocs/vendor/composer/composer/src/Composer/Repository/ArrayRepository.php on line 277 in /srv/www/htdocs/vendor/magento/fr...

TLS Probleme bei alten TYPO3 Versionen und Mail-Versand über externe Mailserver

Immer mehr Mail-Anbieter schalten die alten TLS 1.0 und 1.1 Versionen ab. So auch beispielsweise Microsoft bei seine Office 365 Angeboten. Das führt bei alten TYPO3 Versionen zu Problemen, weil der integrierte swiftmailer das TLS Protokoll nicht aushandelt und standardmäßig die 1.0 Version nimmt. Eventuell ist dies aber auch ein Bug in den alten PHP Versionen.Um das Problem zu beheben, muss man in der typo3_src/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php Klasse...