Open kbearcreation opened 4 years ago
I'm getting the same issue using PHP 7.4 with all the Drush versions I tried so far, from 8.4.5 to 8.2.3
I'm installing Drush by downloading the phar file, example: https://github.com/drush-ops/drush/releases/download/8.2.3/drush.phar
Funny enough this is an EC2 instance that I created based on an image from another EC2 instance and on the original one Drush works fine.
I found this https://github.com/drush-ops/drush/issues/2959 but I'm not using vendor as it's a Drupal 7 site.
It turns out it was caused by this https://www.drupal.org/project/advagg/issues/3155080 so maybe it's a similar or the same issue for you @kbearcreation ?
In a Drupal 8.7.7 installation on MacOS (MAMP Pro), with drush 8.3.0 installed using PHP 7.2.1, when I run
drush core-cli
ordrush php
I get the error below.DRUSH_PHP=/Applications/MAMP/bin/php/php7.2.21/bin/php
Error: