i’ve got an error says :
An uncaught Exception was encountered
Type: TypeError
Message: Master_Matakuliah::update(): Argument #1 ($id) must be of type id, string given, called in C:xampphtdocssisfo_akademiksystemoreCodeIgniter.php on line 532
this is my controller :
‘public function update($id)
{
$where = array(‘id’=> $id);
$data[‘master_matakuliah’] = $this->master_matakuliah_model->edit_data($where, ‘master_matakuliah’)->result();
$this->load->view(‘templates_administrator/header’);
$this->load->view(‘templates_administrator/sidebar’);
$this->load->view(‘administrator/master_matakuliah_update’, $data);
$this->load->view(‘templates_administrator/footer’);
}'