Warning: Cannot modify header information – headers already sent by

Errror : Warning: Cannot modify header information – headers already sent by (output started at /home/username/public_html/includes/formvalidator.php:573) in /home/username/public_html/admin/insert_product.php on line 40
Solution : Then you need to add the following code at the top of file (/home/username/public_html/includes/formvalidator.php).
<? ob_start(); ?>
then at the bottom of the page place this line of code:
<? ob_flush(); ?>
Done

Leave a Comment