Masalah : terdapat error : Deprecated: Function get_magic_quotes_gpc() is deprecated in C:\laragon-74\www\akasia\sysconfig.inc.php on line 35
Solusi
ganti baris 35 pada file sysconfig.inc.php dengan
/ Normalisasi legacy magic quotes (hanya untuk PHP < 7.4)
if (!function_exists('stripslashes_deep')) {
function stripslashes_deep($value) {
if (is_array($value)) {
return array_map('stripslashes_deep', $value);
}
return is_string($value) ? stripslashes($value) : $value;
}
}
// Hanya jalankan di PHP < 7.4 DAN jika magic quotes aktif
if (PHP_VERSION_ID < 70400 && function_exists('get_magic_quotes_gpc') && get_magic_quotes_gpc()) {
$_POST = array_map('stripslashes_deep', $_POST);
$_GET = array_map('stripslashes_deep', $_GET);
$_COOKIE = array_map('stripslashes_deep', $_COOKIE);
$_REQUEST = array_map('stripslashes_deep', $_REQUEST);
}
Semoga Bermanfaat.
Salam, Erwan Setyo Budi.
