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

查看:156
本文介绍了不推荐使用的函数:Drupal中不推荐使用each()函数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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



我遇到以下错误:


无有效批次。
不推荐使用的函数:不推荐使用each()函数。在进一步调用menu_set_active_trail()(C:\xampp\htdocs\mmcLegacyLexicon\fiveDayDiscovery\includes\menu.inc的第2405行)时,将禁止显示此消息。


然后我选择所有文件,然后单击下载这些更新。



之后,我得到了以下错误:


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




我该怎么办?



谢谢。

解决方案

Drupal版本7.61支持PHP版本7.2 。您正在使用Drupal版本7.60。



来源: Drupal发行说明


I am trying to run a Drupal project.

And I am getting the following error:

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:\xampp\htdocs\mmcLegacyLexicon\fiveDayDiscovery\includes\menu.inc).

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

After that I am getting the following error:

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:\xampp\htdocs\mmcLegacyLexicon\fiveDayDiscovery\modules\system\system.tar.inc on line 717

What can I do about it?

Thank you.

解决方案

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

Source: Drupal release notes

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

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