Merhaba bir script kurulumundan sonra yönetim panelinde
Notice: Undefined offset: 3 in /home/demo/public_html/admin/includes/classes/class.index.php on line 209
şeklinde hata alıyorum.
class.index.php 209.cu satıra baktım orada
$s = mktime(23, 59, 59, $matches[2], $matches[3], $matches[1]);
şu şekilde bir kod görüyorum. Bu ekrana basılan hatayı nasıl giderebilirim acaba.?
ilgili satırın bulunduğu kısımdaki php kodlarıda şu şekildedir.
// Are they running an expiring trial?
$l = spr1ntf(GetConfig(B('c2VydmVyU3RhbXA=')));
if($l['expires'] != '') {
$d = preg_match('#^(\d{4})(\d\d)(\d\d)$#', $l['expires'], $matches);
$s = mktime(23, 59, 59, $matches[2], $matches[3], $matches[1]);
$n = isc_mktime();
$day = floor(($s - $n) / 86400);
if ($day == 0) {
$day = 1;
}
if ($day > 0) {
$this->template->Assign('TrialExpiryDetails', sprintf(GetLang('TrialExpiresInXDays'), $day));
$this->template->Assign('TrialExpiryMessage', $this->template->render('Snippets/DashboardTrialExpiryMessage.html'));
}
}