hatanın yer aldıgı kod satırı şu şekilde if ($this->form_validation->run() == true) {
$this->db->set('user_username', url_title($this->input->post('username')));
$this->db->set('user_email', $this->input->post('email'));
$this->db->set('user_password', $this->input->post('password'));
$this->db->set('user_state', 1);
$this->db->set('user_created_date', time());
$this->db->set('user_group_id', 3); // members group
$this->db->insert('users');
$this->session->set_flashdata('success_msg', 'Congratulations! You have successfully registered');
$this->_do_login(true);
redirect('site');
} else {
$this->view('users/sign_up');
}
}