SMFHacks.com

Modifications/Themes => Modifications Talk => Latest Mods => Topic started by: SMFHacks on December 17, 2018, 11:03:17 pm

Title: [Mod]SMF 2.0.x PHP 7.2 Support
Post by: SMFHacks on December 17, 2018, 11:03:17 pm
SMF 2.0.x PHP 7.2 Support



https://www.smfhacks.com/index.php?action=downloads;sa=view;down=215

Installation Complete

SMF 2.0.X Branch Patch Tool - Enabling PHP 7.2+ compatibility - modification c/o web-develop.ca
Thank you for opting to use this modification.
You will now be redirected back to your package manager.

Distributed under the MIT License (https://web-develop.ca/index.php?page=general_license)

Title: Re: [Mod]SMF 2.0.x PHP 7.2 Support
Post by: sah62 on October 04, 2019, 06:22:00 am
Can this be fixed with an addition to the mod?

Quote
https://www.mysite.org/forum/index.php?action=search
8192: The each() function is deprecated. This message will be suppressed on further calls
File: /var/www/mysite/web/forum/Sources/Load.php
Line: 1596
Title: Re: [Mod]SMF 2.0.x PHP 7.2 Support
Post by: SMFHacks on October 04, 2019, 12:59:12 pm
There should be an update soon from SMF that takes care of these issues.
Title: Re: [Mod]SMF 2.0.x PHP 7.2 Support
Post by: sah62 on October 04, 2019, 01:46:00 pm
In the mean time:

Code: [Select]
1596                                 //list ($k, $v) = each($_GET);
1597                                 $k = key($_GET);
1598                                 $v = current($_GET);