With drush 10:
running drush fr
gives:
Error: Call to undefined function Drupal\features\Commands\drush_get_context()

Comments

ccx105 created an issue. See original summary.

swiftsystems’s picture

StatusFileSize
new1.1 KB
norman.lol’s picture

Status: Active » Needs review
seth.e.shaw’s picture

Just tested this patch with Drush 10 and Drupal 8.8.1. It works for me! 👍

seth.e.shaw’s picture

Status: Needs review » Reviewed & tested by the community
kimberleycgm’s picture

The above patch is working well for me too on Drupal 8.8.1 and Drush 10.2.0 - thanks

jaydubb181’s picture

I've confirmed that this patch resolves this error. Drush 10.2. Thank you!

codebymikey’s picture

Version: 8.x-3.8 » 8.x-3.x-dev
Status: Reviewed & tested by the community » Needs review
StatusFileSize
new786 bytes

Re-rolled the patch to work when the terminal doesn't support colours as well. See this commit.

codebymikey’s picture

StatusFileSize
new1.11 KB

Addressed the other drush_get_context call.

khiminrm’s picture

patch from #9 works for me for Drush 10.2.2 and Drupal 8.8.5 and Features 8.x-3.8.

  • nedjo committed e178db4 on 8.x-4.x authored by ccx105
    Issue #3091278 by codebymikey, ccx105, seth.e.shaw, khiminrm: Error:...

  • nedjo committed df12ea7 on 8.x-3.x authored by ccx105
    Issue #3091278 by codebymikey, ccx105, seth.e.shaw, khiminrm: Error:...
nedjo’s picture

Status: Needs review » Fixed

Applied, thanks all!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.