Cannot modify header information

Error message:

Warning: Cannot modify header information - headers already sent by (output started at /opt/lampp/htdocs/utiwebdesign/wp-content/plugins/directory/core/ratings.php:172) in /opt/lampp/htdocs/utiwebdesign/wp-includes/pluggable.php on line 876