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

Support for Drush 11 #7

Closed
Leksat opened this issue Feb 17, 2022 · 3 comments · Fixed by #8
Closed

Support for Drush 11 #7

Leksat opened this issue Feb 17, 2022 · 3 comments · Fixed by #8

Comments

@Leksat
Copy link

Leksat commented Feb 17, 2022

After upgrade to Drush 11 we got this:

$ drush la
PHP Fatal error:  Uncaught Error: Call to undefined function Drush\Commands\drupal_integrations\drush_cache_get() in /app/apps/cms/drush/Commands/contrib/drupal_integrations/src/LagoonCommands.php:195

The drush_cache_get function was removed in Drush 11: drush-ops/drush#4965

@tobybellwood
Copy link
Member

I've got the PR in to remove the cache completely - you can also set the LAGOON_IGNORE_DRUSHCACHE env to TRUE to ignore the cache setting.
https://github.com/amazeeio/drupal-integrations/blob/master/src/LagoonCommands.php#L197

@Leksat
Copy link
Author

Leksat commented Mar 3, 2022

Sorry, I had no time to look into it. But the changes look safe 🤞 😄

@tobybellwood
Copy link
Member

Ha, no worries, I tested and released it!

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

Successfully merging a pull request may close this issue.

2 participants