local development

fix_php_version.sh
// Remove the vendor folder
rm -rf vendor

// Switch inside the container (if you are using Docker)
doc exec bash

// Now run Composer inside the container
/usr/local/bin/composer install
15.08.2024 | Lothar Ferreira Neumann

How to handle a wrong PHP version in the vendor folder

First, you could check if there are different states of your config between database and local file system.

drush_config_status.sh
drush config:status

There is an option `--diff` for the drush command that will print the changes first.

drush_config_import_diff.sh
drush config:import --diff

This also works for config export.

drush_config_export_diff.sh
drush config:export --diff