Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Call to undefined function Drush\Boot\backdrop_get_profile() when config directory not empty. #155

Open
klonos opened this issue Nov 8, 2018 · 0 comments

Comments

@klonos
Copy link
Member

klonos commented Nov 8, 2018

I have dropped the db tables in a setup in order to start afresh, but when running drush status I get this error:

Error: Call to undefined function Drush\Boot\backdrop_get_profile() in Drush\Boot\BackdropBoot->get_profile() (line 103 of /home/vagrant/.drush/commands/backdrop/BackdropBoot.php).
Drush command terminated abnormally due to an unrecoverable error.   [error]

...trying to access the site revealed the known message:

The ./files/config_hash/active directory must be completely empty to proceed with installation. Empty this directory or specify a different directory in settings.php."

Can we catch that and throw the same error in the drush command instead of the "cryptic" Call to undefined function Drush\Boot\backdrop_get_profile()?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant