Schlagwort: Composer
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...
TYPO3 mit Composer bei Ionos: PHP in der Konsole umstellen
Auf der Konsole meldet sich eine uralte PHP-Version, Composer bricht ab. Ein Symlink im eigenen Verzeichnis und eine Zeile in der .bash_profile lösen das dauerhaft.
TYPO3: Extension Manager fehlt im Hauptmenü
Der Punkt „Erweiterungen“ fehlt im Backend, obwohl der Benutzer Administrator ist. Der Grund ist eine zweite Liste: der Kreis der System Maintainer.
TYPO3 7, PHPUnit, PHPStorm und composer
Zunächst im typo3_src Ordner die dev-Pakete via Composer installieren. Darunter befindet sich auch phpunit. php7 /usr/local/bin/composer update --dev In PHPStorm folgende ähnliche Einstellungen vornehmen: Dann läuft's:
FireGento2 für Magento 2 intallieren
php composer.phar require firegento/magesetup2 dev-develop
symfony 2: Asset directories default as symlinks
Add "symfony-assets-install": "symlink" to your composer.json file. Example: "extra": { "symfony-app-dir": "app", "symfony-web-dir": "web", "symfony-assets-install": "symlink" }