Deprecated function: The each() function is deprecated in Drupal

笑着哭i 提交于 2020-01-06 18:33:15

问题


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.


回答1:


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

Source: Drupal release notes



来源:https://stackoverflow.com/questions/53742674/deprecated-function-the-each-function-is-deprecated-in-drupal

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!