Direkt zur Hauptnavigation springen Direkt zum Inhalt springen

2023

DDEV and openldap

I use the following docker images: https://github.com/osixia/docker-openldap https://github.com/osixia/docker-phpLDAPadmin Create the following docker-compose.openldap.yaml file in your project/.ddev/ directory. services: openldap: # Name of container using standard ddev convention container_name: ddev-${DDEV_SITENAME}-openldap image: osixia/openldap:1.5.0 networks: [default, ddev_default] restart: "no" # Meilisearch is served from this port inside the container. ports: - 389 - 636 # These la...

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...