Deprecated: The each() function is deprecated.

Get help with problems, or report & discuss bugs in Collabtive

Deprecated: The each() function is deprecated.

Postby bondash » 19.01.2018, 17:41

A New Collabtive 3.1 using PHP 7.2.0 is throwing the error "Deprecated: The each() function is deprecated. This message will be suppressed on further calls in C:\xampp\htdocs\collabtive\vendor\smarty\smarty\libs\sysplugins\smarty_internal_compilebase.php on line 78"
It is safe to downgrade PHP to 7.1.9 or should I go back to an especific version?
Posts: 6
Joined: 19.01.2018, 17:32

Re: Deprecated: The each() function is deprecated.

Postby Eva » 29.01.2018, 17:23

You can either continue to use PHP 7.2 or downgrade to 7.1.0 - both should be fine.

The information about the deprecation is not an error, but just a warning. The "each()" function will only be turned off in PHP 8, as you can read here:

You could change your Collabtive production website's error reporting, so it only shows errors, but not the less serious stuff like notices and warnings.
Project Management the way you like it: Collaborative - Open Source - Free

User avatar
Posts: 1471
Joined: 01.01.2008, 23:31
Location: Saarbrücken, Germany

Return to Problems and Bugs

Who is online

Users browsing this forum: No registered users