Avatar

PHP errors, please help (General)

by Auge ⌂, Saturday, August 22, 2020, 18:38 (1397 days ago) @ Steve

Hello Steve

Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/findbrun/public_html/(my domain name.com)/forum/includes/admin.inc.php on line 833
 
Warning: Cannot modify header information - headers already sent by (output started at /home/findbrun/public_html/(my domain name) .com/forum/includes/admin.inc.php:833) in /home/findbrun/public_html/(my domain name).com/forum/includes/admin.inc.php on line 849

We found the issue almost two years ago and solved it in the development branch for MLF 2.5. At that time we assumed to release the version 2.5 in 2019. But we didn't until now.

The relevant code changes can be found in the files includes/admin.inc.php, includes/functions.inc.php and includes/posting.inc.php. If you have the heart to change the code yourself, you can alter the files retracing the code changes in the respective pull request #410 (left side = old stand, right side = new stand). Be aware of the fact, that the only relevant change in the reformatted function my_quoted_printable_encode (beginning with line 2144) in the fileincludes/functions.inc.php is the change in line 2151 (while(list(, $line) = each($lines)) changes to foreach ($lines as $line) {).

I don't know, why we never backported this change to the branch for MLF 2.4 but it may be worth doing it as a last release for 2.4 (including checks for potentially other changes that until now got forgotten in the backport process).

Tschö, Auge

--
Trenne niemals Müll, denn er hat nur eine Silbe!


Complete thread:

 RSS Feed of thread