I'm making a curl request where it displays an html output in the console like this
<b>Warning</b>: Cannot modify header information - headers already sent by (output started at /home/domain/public_html/wp-content/themes/explicit/functions/ajax.php:87) in <b>/home/domain/public_html/wp-content/themes/explicit/functions/ajax.php</b> on line <b>149</b><br />......
I need to hide these outputs when running the CURL requests, tried running the CURL like this
curl -s 'http://example.com'
But it still displays the output, how can I hide the output?