不推荐使用的函数:Drupal 中不推荐使用 each() 函数

我正在尝试运行一个 Drupal 项目.

I am trying to run a Drupal project.

我收到以下错误:

没有活动批次.弃用的函数:each() 函数已弃用.此消息将在 menu_set_active_trail()(C:xampphtdocsmmcLegacyLexiconfiveDayDiscoveryincludesmenu.inc 的第 2405 行)中进一步调用时被抑制.

No active batch. Deprecated function: The each() function is deprecated. This message will be suppressed on further calls in menu_set_active_trail() (line 2405 of C:xampphtdocsmmcLegacyLexiconfiveDayDiscoveryincludesmenu.inc).

然后我选择所有文件并点击下载这些更新.

Then I am selecting all the files and click download these updates.

之后我收到以下错误:

发生了 AJAX HTTP 错误.HTTP 结果代码:200 调试信息如下.路径:/mmcLegacyLexicon/fiveDayDiscovery/batch?id=6&op=do StatusText:OK ResponseText:致命错误:无法在 C:xampphtdocsmmcLegacyLexiconfiveDayDiscoverymodulessystem 的写入上下文中使用内置函数的结果system.tar.inc 在线 717

An AJAX HTTP error occurred. HTTP Result Code: 200 Debugging information follows. Path: /mmcLegacyLexicon/fiveDayDiscovery/batch?id=6&op=do StatusText: OK ResponseText: Fatal error: Cannot use result of built-in function in write context in C:xampphtdocsmmcLegacyLexiconfiveDayDiscoverymodulessystemsystem.tar.inc on line 717

我该怎么办?

谢谢.

推荐答案

Drupal 7.61 版支持 PHP 7.2 版.您使用的是 Drupal 7.60 版.

Drupal version 7.61 supports PHP version 7.2. You are using Drupal version 7.60.

来源:Drupal 发行说明

相关文章