I have added the following round the session_start() in class.ostsession...
/* Added if statement below to stop it moaning when running in cron */
if(@$_SERVER != '') {
session_start();
}
...no ill effects so far.