Warning: Illegal string offset 'name' in /home/todoimagenes/public_html/gif/lib/upload.class.php on line 130
Warning: Illegal string offset 'type' in /home/todoimagenes/public_html/gif/lib/upload.class.php on line 131
Warning: Illegal string offset 'tmp_name' in /home/todoimagenes/public_html/gif/lib/upload.class.php on line 132
Warning: Illegal string offset 'error' in /home/todoimagenes/public_html/gif/lib/upload.class.php on line 133
Warning: Illegal string offset 'size' in /home/todoimagenes/public_html/gif/lib/upload.class.php on line 134
Сам код:
public function process($multiupload = null){
// fix multiupload $_FILES array
if(isset($this->base_source['name'][$multiupload])){
$this->source = array(
'name' => $this->base_source['name'][$multiupload],
'type' => $this->base_source['type'][$multiupload],
'tmp_name' => $this->base_source['tmp_name'][$multiupload],
'error' => $this->base_source['error'][$multiupload],
'size' => $this->base_source['size'][$multiupload]
);
}else{
$this->source = $this->base_source;
}
Что не так подскажите особо в php не шарю