Thanks Ashley, thats a start so at least now I can view the line in question.
Here is the lines of code that seems to be causing the error - can anyone see anything wrong with this ? Sorry folks but I am not a coder but would appreciate any assistance with reference to my error as posted.
foreach ($files as $file) $totalsize += filesize($this->path.$file);
see below for the full few lines of code
function getSize () {
$totalsize = 0;
$files = $this->listFiles();
foreach ($files as $file) $totalsize += filesize($this->path.$file);
return $totalsize;
}
Thank you all for taking the time to look at this.