pod każdym błędem zamieszczam linijkę wyznaczoną przez błąd, jeżeli coś więcej potrzebujecie, napiszcie.
napotkałem pare błędów, min.
A PHP Error was encountered Severity: Warning Message: Division by zero Filename: sidebox/city.php Line Number: 92
Linijka 92:
A PHP Error was encountered Severity: Warning Message: Illegal string offset 'count' Filename: models/update_model.php Line Number: 354
$army_start = $army_start + ($army[0]['count']*$cost['time']);
A PHP Error was encountered Severity: Notice Message: Uninitialized string offset: 0 Filename: models/update_model.php Line Number: 354
$army_start = $army_start + ($army[0]['count']*$cost['time']);
A PHP Error was encountered Severity: Warning Message: Illegal string offset 'type' Filename: models/update_model.php Line Number: 336
$cost = $this->Data_Model->army_cost_by_type($army[0]['type'], $this->CI->$model->research, $this->CI->$model->levels[$i]);
A PHP Error was encountered Severity: Notice Message: Uninitialized string offset: 0 Filename: models/update_model.php Line Number: 336
$cost = $this->Data_Model->army_cost_by_type($army[0]['type'], $this->CI->$model->research, $this->CI->$model->levels[$i]);
A PHP Error was encountered Severity: Warning Message: Illegal string offset 'type' Filename: models/update_model.php Line Number: 339
$class = $this->Data_Model->army_class_by_type($army[0]['type']);
A PHP Error was encountered Severity: Notice Message: Uninitialized string offset: 0 Filename: models/update_model.php Line Number: 339
$class = $this->Data_Model->army_class_by_type($army[0]['type']);
A PHP Error was encountered Severity: Warning Message: Illegal string offset 'count' Filename: models/update_model.php Line Number: 341
if ($count >= $army[0]['count'])
A PHP Error was encountered Severity: Notice Message: Uninitialized string offset: 0 Filename: models/update_model.php Line Number: 341
if ($count >= $army[0]['count'])
Fatal error: Cannot access empty property in /home/steelq/domains/ikaris.pl/public_html/izariam/models/update_model.php on line 344
$this->CI->$model->armys[$i]->$class = $this->CI->$model->armys[$i]->$class + $army[0]['count'];