CodeIgniter-MY_Model
CodeIgniter-MY_Model copied to clipboard
[ERROR] preg_match(): Compilation failed: regular expression is too large at offset
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:
Severity: Warning Message: preg_match(): Compilation failed: regular expression is too large at offset 142742 Filename: database/DB_query_builder.php Line Number: 2336
Shouldn't it be
$this->the_model->with_eventos('fields:*count*')->...
?
I tried this now from the controller, $this->nfe_model->with_eventos('fields: *count*')->get_all()
and the error still appears.
In my tests work very good. how many records do you want returned?
more than 4000