Hi i'm having a problem with grocery crud, i want to use the callback_insert to create some rules on the insert but its not working not even by doing nothing i mean setting the callback_insert like this:
$crud->callback_insert(array($this,'insert'));
and the funtion like this:
function insert($post_array) { return $this->db->insert('archivo',$post_array); }
it keep giving me in google chrome console:
POST http://localhost/agenda/index.php/backend/archivo/insert 500 (Internal Server Error)