Author: D.Arrowsmith2 (28 Mar 18 12:28pm)
PHP v7.2 has deprecated the each() function which Honey Pots use at two places. Please see below for what I think is comptible replacement code. I've commented out the offending lines so you can find them - they are around #290. I tried to replace my current pots but of course they didn't work due to your checks.
if (isset($_POST) && count($_POST) > 0) {
$postvars["has_post"] = count($_POST);
//for (reset($_POST);list($k,$v) = each($_POST);) {
foreach ($_POST as $k => $v) {
$postvars["post|".$k] = $v;
}
reset($_POST);
}
if (isset($_GET) && count($_GET) > 0) {
$postvars["has_get"] = count($_GET);
//for (reset($_GET);list($k,$v) = each($_GET);) {
foreach ($_GET as $k => $v) {
$postvars["get|".$k] = $v;
}
reset($_GET);
}
|