To fix this error you should use this command :

chmod 777 storage/framework/sessions/