Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试使用 drush 更新我的 drupal 核心,但在某些情况下(不是全部)我得到
PHP 致命错误:无法在第 105 行的 /mysite/sites/all/modules/drupal-6.22/modules/system/system.module 中重新声明 system_help()(之前在 /mysite/modules/system/system.module:46 中声明)由于不可恢复的错误,Drush 命令异常终止。
关于如何解决这个问题的任何想法?
问候。
我有一个类似的问题,检查并在核心模块文件夹中有另一个模块文件夹,如:www/module www/module/module
通过从头开始重新安装该 drupal 版本并升级了我的 drush 版本来解决此问题。
我遇到了同样的问题,事实证明我(作为系统管理员)已经在全球范围内安装了 drush。开发人员已将其安装为站点/所有/模块内的系统模块。
我删除了该站点的站点/所有/模块/drush,然后能够正常运行。