Category: Drush
PHP Fatal error: Uncaught Error: Call to undefined method GuzzleHttp\Utils::chooseHandler() – Drush
In a local Drupal 9 site, set up using DDEV from a site hosted on Acquia, every time I need to run a drush command I get the following error: The workaround We need to install Drush in the project folder. running this command: composer require –dev drush/drush And then, we can execute the local…
Drupal 8+ media module does not create the default bundles (Media Types) after installation
When the media module that is part of the the Drupal 8+ core is installed, we expect that the default media entity types, [Document, Image, Audio file (local), Video file (local), Remote video ] get created automatically, so they are available when creating a new media field. But, that is the case when we are…
The most used drush commands in Drupal 8+
drush status drush cex –destination=path/to/export-config drush cim drush updb drush generate drush sql-dump –gzip –result-file=./sites/default/files/YOUR-FILE-NAME.sql Export a database compressed as gzip