After bedrock update on my second site I have a problem with deploy.
- I’ve updated composer to 2.0.8 and dependencies via vagrant ssh with provision
- In Trellis I’ve deleted hirak/prestissimo from group_vars/all/main.yml and I keep composer_keep_updated: true
- Repo updated
- ansible provision without fail
This is strange on my fist site with trellis after bedrock update and the same above steps deploy works fine.
did someone have a similar problem?
Loading composer repositories with package information Installing
dependencies from lock file Package operations: 11 installs, 6 updates, 0
removals - Updating composer/installers (v1.9.0 => v1.10.0): Loading from
cache - Updating roots/wordpress-core-installer (1.1.0 => 1.100.0): Loading
from cache - Installing symfony/polyfill-php80 (v1.22.0): Loading from cache
- Installing symfony/polyfill-mbstring (v1.22.0): Loading from cache -
Updating symfony/polyfill-ctype (v1.18.1 => v1.22.0): Loading from cache -
Installing graham-campbell/result-type (v1.0.1): Loading from cache -
Updating vlucas/phpdotenv (v4.1.8 => v5.2.0): Loading from cache - Updating
ffraenz/private-composer-installer (v4.0.0 => v5.0.1): Loading from cache -
Updating roots/bedrock-autoloader (1.0.3 => 1.0.4): Loading from cache -
Installing advanced-custom-fields/advanced-custom-fields-pro (5.9.4): PHP
Fatal error: Class Dotenv\Repository\Adapter\ArrayAdapter contains 4 abstract
methods and must therefore be declared abstract or implement the remaining
methods (Dotenv\Repository\Adapter\ReaderInterface::get,
Dotenv\Repository\Adapter\AvailabilityInterface::isSupported,
Dotenv\Repository\Adapter\WriterInterface::set, ...) in /srv/www/dev.io/releases/20210118114746/vendor/vlucas/phpdotenv/src/Repository/Adapter/
ArrayAdapter.php on line 10
fatal: [64.225.98.141]: FAILED! => {"changed": false, "stdout": "Loading composer repositories with package information\nInstalling dependencies from lock file\nPackage operations: 11 installs, 6 updates, 0 removals\n - Updating composer/installers (v1.9.0 => v1.10.0): Loading from cache\n - Updating roots/wordpress-core-installer (1.1.0 => 1.100.0): Loading from cache\n - Installing symfony/polyfill-php80 (v1.22.0): Loading from cache\n - Installing symfony/polyfill-mbstring (v1.22.0): Loading from cache\n - Updating symfony/polyfill-ctype (v1.18.1 => v1.22.0): Loading from cache\n - Installing graham-campbell/result-type (v1.0.1): Loading from cache\n - Updating vlucas/phpdotenv (v4.1.8 => v5.2.0): Loading from cache\n - Updating ffraenz/private-composer-installer (v4.0.0 => v5.0.1): Loading from cache\n - Updating roots/bedrock-autoloader (1.0.3 => 1.0.4): Loading from cache\n - Installing advanced-custom-fields/advanced-custom-fields-pro (5.9.4): PHP Fatal error: Class Dotenv\\Repository\\Adapter\\ArrayAdapter contains 4 abstract methods and must therefore be declared abstract or implement the remaining methods (Dotenv\\Repository\\Adapter\\ReaderInterface::get, Dotenv\\Repository\\Adapter\\AvailabilityInterface::isSupported, Dotenv\\Repository\\Adapter\\WriterInterface::set, ...) in /srv/www/dev.io/releases/20210118114746/vendor/vlucas/phpdotenv/src/Repository/Adapter/ArrayAdapter.php on line 10\n", "stdout_lines": ["Loading composer repositories with package information", "Installing dependencies from lock file", "Package operations: 11 installs, 6 updates, 0 removals", " - Updating composer/installers (v1.9.0 => v1.10.0): Loading from cache", " - Updating roots/wordpress-core-installer (1.1.0 => 1.100.0): Loading from cache", " - Installing symfony/polyfill-php80 (v1.22.0): Loading from cache", " - Installing symfony/polyfill-mbstring (v1.22.0): Loading from cache", " - Updating symfony/polyfill-ctype (v1.18.1 => v1.22.0): Loading from cache", " - Installing graham-campbell/result-type (v1.0.1): Loading from cache", " - Updating vlucas/phpdotenv (v4.1.8 => v5.2.0): Loading from cache", " - Updating ffraenz/private-composer-installer (v4.0.0 => v5.0.1): Loading from cache", " - Updating roots/bedrock-autoloader (1.0.3 => 1.0.4): Loading from cache", " - Installing advanced-custom-fields/advanced-custom-fields-pro (5.9.4): PHP Fatal error: Class Dotenv\\Repository\\Adapter\\ArrayAdapter contains 4 abstract methods and must therefore be declared abstract or implement the remaining methods (Dotenv\\Repository\\Adapter\\ReaderInterface::get, Dotenv\\Repository\\Adapter\\AvailabilityInterface::isSupported, Dotenv\\Repository\\Adapter\\WriterInterface::set, ...) in /srv/www/dev.io/releases/20210118114746/vendor/vlucas/phpdotenv/src/Repository/Adapter/ArrayAdapter.php on line 10"]}