WARNING(2): "session_set_cookie_params(): Cannot change session cookie parameters when headers already sent"

Fatal error: Uncaught RuntimeException: media directory MUST be writable! in /var/home/doctorsfashion_com/www/includes/functions/gm_get_session_name_postfix.inc.php:31 Stack trace: #0 /var/home/doctorsfashion_com/www/includes/functions/gm_set_session_parameters.inc.php(42): gm_get_session_name_postfix() #1 /var/home/doctorsfashion_com/www/GXMainComponents/Application.inc.php(517): gm_set_session_parameters() #2 /var/home/doctorsfashion_com/www/GXMainComponents/Application.inc.php(192): Gambio\GX\Application->startSession() #3 /var/home/doctorsfashion_com/www/GXMainComponents/Application.inc.php(114): Gambio\GX\Application->setUpEnvironment() #4 /var/home/doctorsfashion_com/www/includes/application_top.php(15): Gambio\GX\Application->run() #5 /var/home/doctorsfashion_com/www/index.php(32): include('/var/home/docto...') #6 {main} thrown in /var/home/doctorsfashion_com/www/includes/functions/gm_get_session_name_postfix.inc.php on line 31
USER WARNING(512): "/var/home/doctorsfashion_com/www/cache/MainFactory-backend-persistent_data_cache-553b88c32f424c95170c2a366d662a49.pdc cannot be deleted"
USER WARNING(512): "/var/home/doctorsfashion_com/www/cache/MainFactory-frontend-persistent_data_cache-553b88c32f424c95170c2a366d662a49.pdc cannot be deleted"
USER WARNING(512): "/var/home/doctorsfashion_com/www/cache/MainFactory-create-persistent_data_cache-553b88c32f424c95170c2a366d662a49.pdc cannot be deleted"
USER WARNING(512): "/var/home/doctorsfashion_com/www/cache/MainFactory-load-persistent_data_cache-553b88c32f424c95170c2a366d662a49.pdc cannot be deleted"
USER WARNING(512): "/var/home/doctorsfashion_com/www/cache/MainFactory-loadOrigin-persistent_data_cache-553b88c32f424c95170c2a366d662a49.pdc cannot be deleted"
USER WARNING(512): "/var/home/doctorsfashion_com/www/cache/ClassFinder-persistent_data_cache-553b88c32f424c95170c2a366d662a49.pdc cannot be deleted"
USER WARNING(512): "/var/home/doctorsfashion_com/www/cache/directory_cache_template_blank-persistent_data_cache-553b88c32f424c95170c2a366d662a49.pdc cannot be deleted"
FATAL ERROR(1): "Uncaught RuntimeException: media directory MUST be writable! in /var/home/doctorsfashion_com/www/includes/functions/gm_get_session_name_postfix.inc.php:31
Stack trace:
#0 /var/home/doctorsfashion_com/www/includes/functions/gm_set_session_parameters.inc.php(42): gm_get_session_name_postfix()
#1 /var/home/doctorsfashion_com/www/GXMainComponents/Application.inc.php(517): gm_set_session_parameters()
#2 /var/home/doctorsfashion_com/www/GXMainComponents/Application.inc.php(192): Gambio\GX\Application->startSession()
#3 /var/home/doctorsfashion_com/www/GXMainComponents/Application.inc.php(114): Gambio\GX\Application->setUpEnvironment()
#4 /var/home/doctorsfashion_com/www/includes/application_top.php(15): Gambio\GX\Application->run()
#5 /var/home/doctorsfashion_com/www/index.php(32): include('/var/home/docto...')
#6 {main}
  thrown"