- 🇳🇱Netherlands firfin
I had the same problem on Lando (local dev environment) runnig the default 'drupal7' recipe.
That apparently installs Drush 8.4.8 problem was fixed when using Drush 8.4.12( add drush: '^8.4.12' to the .lando.yml file )
Upgrading from 7.61 to 7.62
Drush 8.1.18
PHP 7.2
Running drush up
produces the following error:
PHP Fatal error: Uncaught TYPO3\PharStreamWrapper\Exception: Unexpected file extension in
"phar:///usr/local/bin/drush/includes/.." in
/var/www/drupal/misc/typo3/drupal-security/PharExtensionInterceptor.php:39
Stack trace:
#0 /var/www/drupal/misc/typo3/phar-stream-wrapper/src/Behavior.php(72):
Drupal\Core\Security\PharExtensionInterceptor->assert('phar:///usr/loc...', 'url_stat')
#1 /var/www/drupal/misc/typo3/phar-stream-wrapper/src/Manager.php(83):
TYPO3\PharStreamWrapper\Behavior->assert('phar:///usr/loc...', 'url_stat')
#2 /var/www/drupal/misc/typo3/phar-stream-wrapper/src/PharStreamWrapper.php(412):
TYPO3\PharStreamWrapper\Manager->assert('phar:///usr/loc...', 'url_stat')
#3 /var/www/drupal/misc/typo3/phar-stream-wrapper/src/PharStreamWrapper.php(401):
TYPO3\PharStreamWrapper\PharStreamWrapper->assert('phar:///usr/loc...', 'url_stat')
#4 [internal function]: TYPO3\PharStreamWrapper\PharStreamWrapper->url_stat('phar:///usr/loc...', 2)
#5 phar:///usr/local/bin/drush/includes in
/var/www/drupal/misc/typo3/drupal-security/PharExtensionInterceptor.php on line 39
, code: 255)
pm-updatestatus failed.
Note that upgrade to 7.62 does go through despite errors. Also note that subsequent drush up
exist with this error.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
I had the same problem on Lando (local dev environment) runnig the default 'drupal7' recipe.
That apparently installs Drush 8.4.8 problem was fixed when using Drush 8.4.12
( add drush: '^8.4.12' to the .lando.yml file )