Cannot modify header information - headers already sent by (output started at /home/afroheal2/public_html/public/index.php(2) : eval()'d code:1) search →
SYSTEMPATH/HTTP/ResponseTrait.php at line 707
700 /**
701 * Extracted call to `setcookie()` in order to run unit tests on it.
702 *
703 * @codeCoverageIgnore
704 */
705 private function doSetCookie(string $name, string $value, array $options): void
706 {
707 setcookie($name, $value, $options);
708 }
709
710 /**
711 * Force a download.
712 *
713 * Generates the headers that force a download to happen. And
714 * sends the file to the browser.