Jeg blir snart GAL!!
Denne feilmeldingen dukker opp over alt -_-
); // You can only remove it if it's available. if (!in_array($function, $functions)) return; $functions = array_diff($functions, array($function)); $modSettings[$hook] = implode(',', $functions); } ?>
Feilmeldingen kommer ikke hele tiden, men av og til... Jeg håper det finner en grei og enkel løsning på dette.
Jeg fant feilen selv.
Feilen var nederst i filen Subs.php
Feilen:
($function)))));
}
// Turn the function list into something usable.
$functions = empty($modSettings[$hook]) ? array() : explode(',', $modSettings[$hook]);
// You can only remove it if it's available.
if (!in_array($function, $functions))
return;
$functions = array_diff($functions, array($function));
$modSettings[$hook] = implode(',', $functions);
}
?>);
// You can only remove it if it's available.
if (!in_array($function, $functions))
return;
$functions = array_diff($functions, array($function));
$modSettings[$hook] = implode(',', $functions);
}
?>
Riktig kode:
($function)))));
}
// Turn the function list into something usable.
$functions = empty($modSettings[$hook]) ? array() : explode(',', $modSettings[$hook]);
// You can only remove it if it's available.
if (!in_array($function, $functions))
return;
$functions = array_diff($functions, array($function));
$modSettings[$hook] = implode(',', $functions);
}
?>