session_start(): Cannot send session cache limiter

It has very simple solution

<?php
ob_start();
session_start();
?>
Above session write before head section . Like

<?php
ob_start();
session_start();
?>

<!DOCTYPE html>

// html code

</html>