更新模块和核心ERROR文件名,目录名或卷标签语法不正确

Pet*_*ter 5 xampp drupal drush git-bash drupal-8

我看过类似的问题,但找不到答案。

内容:Windows 10,XAMPP,Git,Composer,Drush 8和Drupal 8。

当我尝试使用时:

(对于模块和主题更新)drush pm-update

要么

(用于核心更新)加快Drupal

我收到以下错误:

Illegal string offset 'site' backend.inc:1037                        [warning]
The command could not be executed successfully (returned: The        [error]
filename, directory name, or volume label syntax is incorrect.
, code: 1)
pm-updatestatus failed.   
Run Code Online (Sandbox Code Playgroud)

但是我没有问题,例如使用Drush进行下载,启用,重建缓存等。

我也可以通过Drupal(extend> update)更新模块。

我尝试过

drush pm-update --debug --verbose

这是一个警告和两个错误的摘要。

Backend invoke:                                                        [command]
"C:\\Users\\Usuario\\AppData\\Roaming\\Composer\\vendor\\drush\\drush\\drush"
 --backend=2 --verbose --debug --root="C:\\xampp\\htdocs\\mysite"
--uri=http://default  pm-updatestatus 2>&1 [4.59 sec, 14.67 MB]
"C:\\Users\\Usuario\\AppData\\Roaming\\Composer\\vendor\\drush\\drush\\drush"   [notice]
 --backend=2 --verbose --debug --root="C:\\xampp\\htdocs\\mysite"
--uri=http://default  pm-updatestatus 2>&1 [4.59 sec, 14.68 MB]
Illegal string offset 'site' backend.inc:1037 [4.8 sec, 14.68 MB]    [warning]
The command could not be executed successfully (returned: The        [error]
filename, directory name, or volume label syntax is incorrect.
, code: 1) [4.8 sec, 14.68 MB]
pm-updatestatus failed. [4.8 sec, 14.67 MB]                          [error]
Returned from hook drush_pm_updatecode [4.8 sec, 14.67 MB]               [debug]
Changes made in drush_pm_updatecode have been rolled back. [4.8 sec,     [debug]
14.67 MB]
Command dispatch complete [4.81 sec, 14.65 MB]                          [notice]
Returned from hook drush_pm_update [4.81 sec, 14.63 MB]                  [debug]
Command dispatch complete [4.81 sec, 14.6 MB] 
Run Code Online (Sandbox Code Playgroud)

老实说...我被卡住了。我是Drupal的新手,所以找不到这个问题的答案。

有人遇到这个问题吗?还是知道为什么?非常感谢!