SMF Support > Svenska/Norsk/Dansk (Swedish/Norwegian/Danish)

En plagsom feilmelding som dukker opp nå og da

(1/1)

simongravvold:
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.

simongravvold:
Jeg fant feilen selv.
Feilen var nederst i filen Subs.php

Feilen:

--- Code: ---($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);
}

?>
--- End code ---

Riktig kode:

--- Code: ---($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);
}

?>

--- End code ---

Navigation

[0] Message Index

Go to full version