I try to use ob_start() ob_end_flush(); to hide the errors. Is there no other way to fix this Cannot modify header information?
echo $claim_url;
require_once $_SERVER['DOCUMENT_ROOT'] . '/auto-faucet/lib/shortlink.php';
$claim_url = shortlink_create($claim_url);
header('Location: ' . $claim_url, true, 303);