不推荐使用的函数:Drupal 中不推荐使用 each() 函数 [英] Deprecated function: The each() function is deprecated in Drupal

查看:44
本文介绍了不推荐使用的函数: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 发行说明

这篇关于不推荐使用的函数:Drupal 中不推荐使用 each() 函数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆