Loading...


Related Products


Date Published: February 5, 2025

Drush command failing with Symfony exception: The "-d" option does not exist.

Issue

  • Cron job fails
  • Drush command fails
Error includes:
[Symfony\Component\Console\Exception\RuntimeException]
The "-d" option does not exist.

Resolution

The command is using the combined flag -dv, which is no longer valid for verbose debugging. To resolve, update the command to use either -d -v or -vvv

Example:
/usr/local/bin/drush --uri=http://example.prod.acquia-sites.com --root=/var/www/html/${AH_SITE_NAME}/docroot -d -v cron

 

Did not find what you were looking for?

If this content did not answer your questions, try searching or contacting our support team for further assistance.

Back to Section navigation