Fatal Error relating to sessions.php

I fixed it by:

1) checking wordpress version in: /home/myusername/public_html/version.php

2) downloading this version package from wordpress website

3) addingwp-includes/session.php file from downloaded package into /home/myusername/public_html/wp-includes/session.php (that file was empty or not existing)