{"action":"created","issue":{"url":"https://api.github.com/repos/avenirer/CodeIgniter-MY_Model/issues/103","repository_url":"https://api.github.com/repos/avenirer/CodeIgniter-MY_Model","labels_url":"https://api.github.com/repos/avenirer/CodeIgniter-MY_Model/issues/103/labels{/name}","comments_url":"https://api.github.com/repos/avenirer/CodeIgniter-MY_Model/issues/103/comments","events_url":"https://api.github.com/repos/avenirer/CodeIgniter-MY_Model/issues/103/events","html_url":"https://github.com/avenirer/CodeIgniter-MY_Model/issues/103","id":128563860,"number":103,"title":"[ERROR] preg_match(): Compilation failed: regular expression is too large at offset","user":{"login":"math-designer","id":5394521,"avatar_url":"https://avatars.githubusercontent.com/u/5394521?v=3","gravatar_id":"","url":"https://api.github.com/users/math-designer","html_url":"https://github.com/math-designer","followers_url":"https://api.github.com/users/math-designer/followers","following_url":"https://api.github.com/users/math-designer/following{/other_user}","gists_url":"https://api.github.com/users/math-designer/gists{/gist_id}","starred_url":"https://api.github.com/users/math-designer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/math-designer/subscriptions","organizations_url":"https://api.github.com/users/math-designer/orgs","repos_url":"https://api.github.com/users/math-designer/repos","events_url":"https://api.github.com/users/math-designer/events{/privacy}","received_events_url":"https://api.github.com/users/math-designer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-01-25T15:40:02Z","updated_at":"2016-10-04T16:54:43Z","closed_at":null,"body":"When i try to use this method: `$this->with_eventos('fields: \\*count\\* ')->get_all()` - where 'eventos' is a relationship of has one. This method takes me this error: \r\n\r\n>Severity: Warning\r\n>Message: preg_match(): Compilation failed: regular expression is too large at offset 142742\r\n>Filename: database/DB_query_builder.php\r\n>Line Number: 2336"},"comment":{"url":"https://api.github.com/repos/avenirer/CodeIgniter-MY_Model/issues/comments/251446544","html_url":"https://github.com/avenirer/CodeIgniter-MY_Model/issues/103#issuecomment-251446544","issue_url":"https://api.github.com/repos/avenirer/CodeIgniter-MY_Model/issues/103","id":251446544,"user":{"login":"rvproductions","id":883794,"avatar_url":"https://avatars.githubusercontent.com/u/883794?v=3","gravatar_id":"","url":"https://api.github.com/users/rvproductions","html_url":"https://github.com/rvproductions","followers_url":"https://api.github.com/users/rvproductions/followers","following_url":"https://api.github.com/users/rvproductions/following{/other_user}","gists_url":"https://api.github.com/users/rvproductions/gists{/gist_id}","starred_url":"https://api.github.com/users/rvproductions/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rvproductions/subscriptions","organizations_url":"https://api.github.com/users/rvproductions/orgs","repos_url":"https://api.github.com/users/rvproductions/repos","events_url":"https://api.github.com/users/rvproductions/events{/privacy}","received_events_url":"https://api.github.com/users/rvproductions/received_events","type":"User","site_admin":false},"created_at":"2016-10-04T16:54:43Z","updated_at":"2016-10-04T16:54:43Z","body":"try this around line 1112 \r\n\r\n```\r\n       $local_key_values = array();\r\n            foreach($data as $key => $element)\r\n            {\r\n                if(isset($element[$local_key]) and !empty($element[$local_key]))\r\n                {\r\n                    $id = $element[$local_key];\r\n                    if(!in_array($id, $local_key_values)) \r\n\t\t\t\t\t\t$local_key_values[] = $id;\r\n\t\t\t\t\t\r\n               }\r\n            }\r\n \r\n```"}}
{"actor":{"display_login":"rvproductions"}}