Please Can someone help.. I am running drupal 7 core on n php 7.2 server and getting the error

Deprecated function: The each() function is deprecated. This message will be suppressed on further calls in _drupal_shutdown_function() (line 3788 of C:\xampp\htdocs\Cartack\cartrack_com\includes\bootstrap.inc)

And do not know how to solve.. Please help

Comments

peanuts8048 created an issue. See original summary.

girishpanchal07’s picture

Hello, peanuts8048.

This happens because of PHP 7.2. To sort this issue you need to prefer both the https://www.drupal.org/project/drupal/issues/2925449 and https://www.drupal.org/project/drupal/issues/2885610 issue.

You can apply the latest patch of both the issues patches.

cilefen’s picture

Status: Active » Closed (duplicate)
kcsimcity1’s picture

This is due to php version. Try to revert back to earlier version of php if you encounter this error.

fdelo’s picture

Solved this issue, just downgrade your php version to 5.6..

fdelo’s picture

You can actually go this link and go to comment #5 it will help you solved your problem
https://www.drupal.org/project/rules/issues/2923477

dureaghin’s picture

December 31, 2018 marks the official end of security support for PHP 5.6, this means there will be no further updates to the software.
You must to use PHP 7.1 or 7.2/7.3/7.4

Thanks,
Alex.