{"action":"closed","issue":{"url":"https://api.github.com/repos/avenirer/CodeIgniter-MY_Model/issues/98","labels_url":"https://api.github.com/repos/avenirer/CodeIgniter-MY_Model/issues/98/labels{/name}","comments_url":"https://api.github.com/repos/avenirer/CodeIgniter-MY_Model/issues/98/comments","events_url":"https://api.github.com/repos/avenirer/CodeIgniter-MY_Model/issues/98/events","html_url":"https://github.com/avenirer/CodeIgniter-MY_Model/issues/98","id":124235090,"number":98,"title":"No method Error","user":{"login":"segaz2002","id":3873358,"avatar_url":"https://avatars.githubusercontent.com/u/3873358?v=3","gravatar_id":"","url":"https://api.github.com/users/segaz2002","html_url":"https://github.com/segaz2002","followers_url":"https://api.github.com/users/segaz2002/followers","following_url":"https://api.github.com/users/segaz2002/following{/other_user}","gists_url":"https://api.github.com/users/segaz2002/gists{/gist_id}","starred_url":"https://api.github.com/users/segaz2002/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/segaz2002/subscriptions","organizations_url":"https://api.github.com/users/segaz2002/orgs","repos_url":"https://api.github.com/users/segaz2002/repos","events_url":"https://api.github.com/users/segaz2002/events{/privacy}","received_events_url":"https://api.github.com/users/segaz2002/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-29T16:30:34Z","updated_at":"2016-01-09T20:08:16Z","closed_at":"2016-01-09T20:08:16Z","body":"No method with that name () in MY_Model or CI_Model.\r\n\r\nWhat could be causing this.\r\n\r\nThis is coming from this fragment of the code.\r\n```php\r\n   public function __call($method, $arguments)\r\n    {\r\n        //var_dump($method); echo \"<br>\"; var_dump($arguments); exit;\r\n        if(substr($method,0,6) == 'where_')\r\n        {\r\n            $column = substr($method,6);\r\n            $this->where($column, $arguments);\r\n            return $this;\r\n        }\r\n        if(($method!='with_trashed') && (substr($method,0,5) == 'with_'))\r\n        {\r\n            $relation = substr($method,5);\r\n            $this->with($relation,$arguments);\r\n            return $this;\r\n        }\r\n        $parent_class = get_parent_class($this);\r\n\r\n        if ($parent_class !== FALSE && !method_exists($parent_class, $method) && !method_exists($this,$method)) {\r\n            echo 'No method with that name (' . $method . ') in MY_Model or CI_Model.';\r\n        }\r\n    }\r\n```"}}