When i tried to update a post in WordPress CMS it is giving me this error "Cannot Modify Header Information"
Code:
Warning: Cannot modify header information  headers already sent by (output started at /public_html/wp-content/plugins/my-plugin/my-function.php:#) in /public_html/wp-includes/pluggable.php on line #
How to fix this PHP related error?