Category: Drush
How to Use Bitbucket Pipelines for CI/CD in WordPress and Drupal Web Development
In the world of building websites, it’s important to work fast and without mistakes. Continuous Integration and Continuous Deployment (CI/CD) help make this happen by automating parts of our work. In this post, I’ll demonstrate how to leverage Bitbucket Pipelines for automating various tasks, such as testing and deploying projects built with Drupal and WordPress,…
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