Cannot modify header information - headers already sent |
UPDATE:
I just found out that this one might be the one causing problem. PHP Code: $data['pending_count'] = ($pending->count * $pending->pages); I cannot use redirect(site_url('login')); below this code. But if I put redirect before $data[] it works just fine. Is there any way I can solve my error? Thank you! ![]() |
Messages In This Thread |
Cannot modify header information - headers already sent - by dunkindonato - 11-27-2017, 10:26 PM
RE: Cannot modify header information - headers already sent - by dunkindonato - 11-27-2017, 10:33 PM
RE: Cannot modify header information - headers already sent - by InsiteFX - 11-28-2017, 04:49 AM
|